Hi all... anyone tried to build Xorg 6.9 yet? Just tried, using the same
instructions as 6.8.2, and hit the following error:

gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -Wall
-Wpointer-arith -Wundef
-I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../programs/Xserver/hw/xfree86/os-support -I.
-I../../../../../../programs/Xserver/include
-I../../../../../../exports/include/X11
-I../../../../../../include/extensions
-I../../../../../../programs/Xserver/hw/xfree86/os-support/shared
-I../../../../../../programs/Xserver/hw/xfree86/os-support/bus
-I../../../../../../extras/drm/shared-core  -I../../../../../..
-I../../../../../../exports/include   -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE
-D_XOPEN_SOURCE   -D_BSD_SOURCE -D_SVID_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64             -D_GNU_SOURCE
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP       -DXCSECURITY -DTOGCUP
-DXF86BIGFONT -DDPMSExtension      -DXPRINT -DPIXPRIV -DPANORAMIX
-DRENDER -DRANDR       -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE
-DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
-DXFreeXDGA -DXvExtension                          -DXFree86LOADER
-DDLOPEN_HACK -DXFree86Server                           -DXF86VIDMODE
-DXvMCExtension                                 -DSMART_SCHEDULE
-DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) *
1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   -DHAS_MTRR_SUPPORT
-DUSESTDRES  -DDO_OS_FONTRESTORE -DCHECK_OS_VERSION=1 -DHAVE_SYSV_IPC
lnx_agp.c
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[7]: *** [lnx_agp.o] Error 1
make[7]: Leaving directory
`/root/_build/xcbuild/programs/Xserver/hw/xfree86/os-support/linux'
make[6]: *** [linux] Error 2
make[6]: Leaving directory
`/root/_build/xcbuild/programs/Xserver/hw/xfree86/os-support'
make[5]: *** [all] Error 2
make[5]: Leaving directory
`/root/_build/xcbuild/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] Error 2
make[4]: Leaving directory `/root/_build/xcbuild/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/_build/xcbuild/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/_build/xcbuild'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/root/_build/xcbuild'
make: *** [World] Error 2


This is on a current (as of this morning) LFS development build - gcc
4.0.2, glibc 2.3.6, linux-headers 2.6.12, etc.


Alternatively, has anyone managed to do a successful build of Xorg 7.0?
I tried one of the earlier release candidates, but had problems with the
Xserver build failing to work with Mesa.

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to