<xorg/compiler.h> is missing

Drew Parsons dparsons at debian.org
Wed Nov 2 19:43:27 PST 2005


On Wed, 2005-11-02 at 17:41 -0800, Alan Coopersmith wrote:
> Drew Parsons wrote:
> > Should xorg/compiler.h exist?  Where does it come from?
> 
> In the xserver/xorg module, under hw/xfree86/common.
> 

Yes, but cfb/cfbmskbits.h is looking for 

#if defined(XFREE86) || ( defined(__OpenBSD__) && defined(__alpha__) ) \
        || (defined(__bsdi__))
#include        "xf86_ansic.h"
#include        "compiler.h"
#else
#include <xorg/compiler.h>
#endif


How do I get to there from hw/xfree86/common?  

I gather cfb must be expecting XFREE86 to be defined in "normal" cases,
but I don't think Xprt should be need it (XFREE86 or hw/xfree86)

The original cfbmskbits.h that I've had working up till now did *not*
have the 

	#else
	#include <xorg/compiler.h>

lines, so the problem never came up.  Why have they been added?
Especially since there is no xorg/compiler.h...

If I remove these two new lines, then compilation proceeds, libcfb.a is
built successfully.  

There is a separate error after that coming from miext/cw/cw.h, I'll
discuss that in a separate thread.

Drew



More information about the xorg-modular mailing list