Strange build error while trying to build xserver

Daniel Gilbert xorg at danielgilbert.net
Thu Oct 20 16:48:12 PDT 2005


Hello,

Im sure the error is caused by my setup somehow, but I dont have any
idea as to what the problem is.  Anyone have any ideas?
Im running Ubuntu 5.10, and trying to build cvs modular using the
ModularDevelopersGuide wiki.

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: *** [lnx_agp.lo] Error 1

danielg





More information about the xorg mailing list