Hi,
I tried to install modular Xorg using the gentoo HOWTO.
I uninstalled the old monolythic Xorg.
It was fine .. it merged a lot of dependancies ... and it tried to emerge the xorg-server-1.0.1-r4 package.
The error is :
Code: Select all
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.1-r4/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -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 -I../../lbx -O3 -march=athlon-xp -fomit-frame-pointer -pipe -MT glxcmds.lo -MD -MP -MF .deps/glxcmds.Tpo -c glxcmds.c -fPIC -DPIC -o .libs/glxcmds.o
glxcmds.c: In function `DoGetFBConfigs':
glxcmds.c:1105: error: `GLX_SWAP_METHOD_OML' undeclared (first use in this function)
glxcmds.c:1105: error: (Each undeclared identifier is reported only once
glxcmds.c:1105: error: for each function it appears in.)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.1-r4/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -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 -I../../lbx -O3 -march=athlon-xp -fomit-frame-pointer -pipe -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c -fPIC -DPIC -o .libs/glxcmdsswap.o
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL'
make: *** [all-recursive] Error 1
!!! ERROR: x11-base/xorg-server-1.0.1-r4 failed.
!!! Function x-modular_src_make, Line 299, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
I found only one guy who posted the same problem on the xgl post on page 16, but no answer was given ...
I put thoses drivers in my make.conf
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nv nvidia mesa"
I tried removing one or both of nv and mesa drivers but the result is the same.
I tried to upgrade my gcc from version 3.3.4 to version 3.4.5. Not any change either.
I'm not using amd64. (a symlink bug for amd64 can provides errors that look like mine)
I tried to have a look at the dependancy but it's too difficult for me ...
Anyone have any idea on how to solve this problem ?