xf86-video-intel-2.14.0 compilation error

Dwijadas Dey dwijad at gmail.com
Mon Oct 24 09:53:40 PDT 2011


Hi
     I have compiled and installed xorg-server-1.7.99.2 and now i am
trying to compile xf86-video-intel-2.14.0 on centos 5.7 [kernel
2.6.39] using the following configure command

 [root at localhost xf86-video-intel-2.14.0]# ./configure
DRM_CFLAGS="-I/opt/libdrm/include -I/opt/libdrm/include/libdrm"
DRM_LIBS="-L/opt/libdrm -ldrm"
DRI_CFLAGS="-I/usr/local/mesa-7.10.3/include"
DRI_LIBS="-L/usr/lib/dri"
PCIACCESS_CFLAGS="-I/usr/local/pciaccess/include"
PCIACCESS_LIBS="-L/usr/local/pciaccess/lib -lpciaccess"
--prefix=/usr/local/xf86-video-intel/
XORG_CFLAGS="-I/opt/xorg/include/xorg -I/usr/local/pciaccess/include
-I/usr/local/pixman/include/pixman-1" XORG_LIBS="-L/opt/xorg/lib
-L/usr/local/pciaccess/lib -L/usr/local/pixman/lib -lpixman-1
-lpciaccess"

but compilation of very 1st file gives me an error like
*********************************************************
Making all in uxa
make[2]: Entering directory `/root/Downloads/xf86-video-intel-2.14.0/uxa'
  CC     uxa.lo
In file included from /opt/xorg/include/xorg/dix.h:55,
                 from /opt/xorg/include/xorg/scrnintstr.h:58,
                 from /opt/xorg/include/xorg/xf86str.h:39,
                 from /opt/xorg/include/xorg/xf86.h:46,
                 from uxa-priv.h:37,
                 from uxa.c:37:
/opt/xorg/include/xorg/geext.h:40: error: expected ‘)’ before ‘*’ token
/opt/xorg/include/xorg/geext.h:41: warning: no semicolon at end of
struct or union
/opt/xorg/include/xorg/geext.h:77: error: expected ‘)’ before ‘*’ token
/opt/xorg/include/xorg/geext.h:79: error: expected ‘)’ before ‘*’ token
In file included from uxa.c:37:
uxa-priv.h:273: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘Bool’
make[2]: *** [uxa.lo] Error 1
make[2]: Leaving directory `/root/Downloads/xf86-video-intel-2.14.0/uxa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/xf86-video-intel-2.14.0'
make: *** [all] Error 2
**********************************************************
I think this error is not related to any non inclusion of .h file or
undefined variable, I want to know from the list whether i have to
change any parameters in makefile or in compiler options ?

Dwdy



More information about the xorg mailing list