Hello, I am trying to build a new system with xorg-7.1 according to BLFS-book-cvs-html-2006-06-08. While compiling xorg-server I get following error:
In file included from lnx_agp.c:24: /usr/include/linux/agpgart.h:55: error: syntax error before '__u16' /usr/include/linux/agpgart.h:60: error: field 'version' has incomplete type /usr/include/linux/agpgart.h:61: error: syntax error before '__u32' /usr/include/linux/agpgart.h:68: error: syntax error before '}' token /usr/include/linux/agpgart.h:71: error: syntax error before '__u32' /usr/include/linux/agpgart.h:92: error: syntax error before '__u32' /usr/include/linux/agpgart.h:106: error: syntax error before '__u32' lnx_agp.c: In function 'GARTInit': lnx_agp.c:65: error: storage size of 'agpinf' isn't known lnx_agp.c:65: warning: unused variable 'agpinf' lnx_agp.c: In function 'xf86GetAGPInfo': lnx_agp.c:129: error: storage size of 'agpinf' isn't known lnx_agp.c:129: warning: unused variable 'agpinf' lnx_agp.c: In function 'xf86AllocateGARTMemory': lnx_agp.c:221: error: storage size of 'alloc' isn't known lnx_agp.c:221: warning: unused variable 'alloc' lnx_agp.c: In function 'xf86UnbindGARTMemory': lnx_agp.c:324: error: storage size of 'unbind' isn't known lnx_agp.c:324: warning: unused variable 'unbind' lnx_agp.c: In function 'xf86EnableAGP': lnx_agp.c:356: error: syntax error before 'setup' lnx_agp.c:361: error: 'setup' undeclared (first use in this function) lnx_agp.c:361: error: (Each undeclared identifier is reported only once lnx_agp.c:361: error: for each function it appears in.) make[5]: *** [lnx_agp.lo] Fehler 1 make[5]: Leaving directory `/sources/xorg-server-1.1.0/hw/xfree86/os-support/linux' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/sources/xorg-server-1.1.0/hw/xfree86/os-support' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/sources/xorg-server-1.1.0/hw/xfree86' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/sources/xorg-server-1.1.0/hw/xfree86' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/sources/xorg-server-1.1.0/hw' make: *** [all-recursive] Fehler 1 I didn't find anything about this in the archive (xorg-7.1 seems very new) or with google, the agpgart.h file on my current system and the new one are identical. Build system is LFS-BOOK-udev_update-20060413, using kernel 2.6.16.20. Can anybody help me with this? Thanks Uwe -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page