Problems building X.Org 6.8.99.15 on AIX

Alan Coopersmith Alan.Coopersmith at Sun.COM
Fri Jul 22 14:05:10 PDT 2005


mcnichol at austin.ibm.com wrote:
> I've run into some problems building on AIX, and opened defect 3849.
> 
> It has something to do with how _XOPEN_SOURCE is being handled.
> 
> Is anyone familiar with changes involving _XOPEN_SOURCE?

Keith recently putback some changes to xc/include/Xos.h that break
platforms on which #defining _XOPEN_SOURCE limits which symbols are
visible, such as SVR4's like Solaris.

In order to build on Solaris, I had to fix this with:
	http://cvs.freedesktop.org/xorg/xc/include/Xos.h?r1=1.5&r2=1.6

You may need to add a "&& !defined(AIX)" or perhaps the whole thing
should be rewritten as

# if !defined(_XOPEN_SOURCE) && defined(linux)

so that it's only activated on platforms broken without it.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list