i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../GL/glx -I../../../GL/include -I../../../GL/include -I/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/Mesa-6.5.2/include -DHAVE_XORG_CONFIG_H -I/usr/include/X11/dri -I/usr/include/drm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -O2 -march=athlon-xp -pipe -fomit-frame-pointer -MT libdri_la-drimodule.lo -MD -MP -MF .deps/libdri_la-drimodule.Tpo -c drimodule.c -fPIC -DPIC -o .libs/libdri_la-drimodule.o dri.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DRIDRMServerInfo' dri.c:594: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DRIDRMServerInfo' dri.c: In function 'drmSIGIOHandler': dri.c:2118: error: 'drmHashEntry' undeclared (first use in this function) dri.c:2118: error: (Each undeclared identifier is reported only once dri.c:2118: error: for each function it appears in.) dri.c:2118: error: 'entry' undeclared (first use in this function) dri.c:2121: warning: implicit declaration of function 'drmGetHashTable' dri.c:2121: warning: nested extern declaration of 'drmGetHashTable' dri.c:2121: warning: assignment makes pointer from integer without a cast dri.c: In function 'drmInstallSIGIOHandler': dri.c:2156: error: 'drmHashEntry' undeclared (first use in this function) dri.c:2156: error: 'entry' undeclared (first use in this function) dri.c:2158: warning: implicit declaration of function 'drmGetEntry' dri.c:2158: warning: nested extern declaration of 'drmGetEntry' dri.c: In function 'drmRemoveSIGIOHandler': dri.c:2166: error: 'drmHashEntry' undeclared (first use in this function) dri.c:2166: error: 'entry' undeclared (first use in this function) make[4]: *** [libdri_la-dri.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... drimodule.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DRIDRMServerInfo' drimodule.c: In function 'driSetup': drimodule.c:88: warning: implicit declaration of function 'drmSetServerInfo' drimodule.c:88: warning: nested extern declaration of 'drmSetServerInfo' drimodule.c:88: error: 'DRIDRMServerInfo' undeclared (first use in this function) drimodule.c:88: error: (Each undeclared identifier is reported only once drimodule.c:88: error: for each function it appears in.) drimodule.c:91: warning: return makes pointer from integer without a cast make[4]: *** [libdri_la-drimodule.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86/dri' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/xfree86' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw' make: *** [all-recursive] Error 1 !!! ERROR: x11-base/xorg-server-1.2.0-r3 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3977: Called src_compile ebuild.sh, line 1304: Called x-modular_src_compile x-modular.eclass, line 333: Called x-modular_src_make x-modular.eclass, line 328: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/temp/build.log'.