Bug 5362

Summary: errors building xorg 6.9 RC4
Product: xorg Reporter: Bruno <psymind>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high    
Version: 6.8.99.904 (6.9 RC4)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Bruno 2005-12-17 11:02:50 UTC
I'm using LFS with Linux-Libc-Headers
(http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-2.6.12.0.tar.bz2)
I can build xorg 6.8.2 successfully but when trying xorg-x11-6.8.99.904 I get
this errors:

 lnx_agp.c
In file included from lnx_agp.c:24:
/usr/include/linux/agpgart.h:55: error: parse error before "__u16"
/usr/include/linux/agpgart.h:60: error: field `version' has incomplete type
/usr/include/linux/agpgart.h:61: error: parse error before "__u32"
/usr/include/linux/agpgart.h:68: error: parse error before '}' token
/usr/include/linux/agpgart.h:71: error: parse error before "__u32"
/usr/include/linux/agpgart.h:92: error: parse error before "__u32"
/usr/include/linux/agpgart.h:106: error: parse 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: parse 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[7]: *** [lnx_agp.o] Error 1
make[7]: Leaving directory
`/sources/xc/programs/Xserver/hw/xfree86/os-support/linux'
make[6]: *** [linux] Error 2
make[6]: Leaving directory `/sources/xc/programs/Xserver/hw/xfree86/os-support'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/sources/xc/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/sources/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/sources/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources/xc'
Comment 1 Adam Jackson 2005-12-20 08:08:44 UTC

*** This bug has been marked as a duplicate of 4883 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.