<xorg/compiler.h> is missing

Drew Parsons dparsons at debian.org
Tue Nov 1 20:18:29 PST 2005


Hi, I reported this a week or two ago, but I messed up the
"Follow-up-to" header so it might have caught at the wrong end of a
thread.

I'm trying to build Xprt.  I use the autogen line:

./autogen.sh --prefix=/opt/xorg-modular/ --enable-xprint --disable-glx
--disable-xinerama --disable-dri

No dependency errors during autogen seem to appear. I've got the protos,
libs and macros installed.

The build proceeds, but fails at cfb with:


In file included from cfb8bit.c:53:
cfbmskbits.h:42:27: error: xorg/compiler.h: No such file or directory
make[1]: *** [cfb8bit.lo] Error 1
make[1]: Leaving directory
`/home/drew/projects/xprint/modular7.0/xserver/xorg/cfb'


cfbmskbits.h says:

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

so it looks as if XFREE86 might have normally been switched on when the
module was built, providing compiler.h (there's some version of it in
xserver/xorg/hw/xfree86/common), but with --enable-xprint it is
switched off and the alternative xorg/compiler.h is not offered.

Should xorg/compiler.h exist?  Where does it come from?

What's the best way to untangle this?

Drew



More information about the xorg-modular mailing list