Problems building xorg-server-0.99.1 and many others concerning the nvidia driver

Łukasz Hejnak grupy at szift.org
Mon Dec 5 14:51:00 PST 2005


Hi
Lately I downloaded the moduled X.Org server, everything went ok (I even 
learned what does -werror mean trough this list ;) till the main 
xorg-server-0.99.1 build,
when configured with:
./configure --prefix=/usr/X11R6 --enable-composite --disable-screensaver 
--enable-dri  --enable-xorg --disable-tcp-transport --disable-ipv6 
--with-gnu-ld --with-mesa-source=/usr/src/Mesa/Mesa-6.4/ 
--with-includes=/usr/X11R6/include/ --with-libs=/usr/X11R6/lib/

it stops at the hw/vfb directory while linking Xvfb, the output is:
make[2]: Entering directory `/home/szift/xorg/xorg-server-0.99.1/hw/vfb'
/bin/sh ../../libtool --mode=link gcc -DHAVE_DIX_CONFIG_H 
-DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS -DXFree86Server  -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing 
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/X11R6/include 
-I/usr/X11R6//include -I/usr/include/freetype2   -I../../include 
-I../../include -I../../Xext -I../../render -I../../randr -I../../xfixes 
-I../../damageext -I../../composite -I../../mi -I../../miext/damage 
-I../../miext/shadow -I../../fb -I../../Xi -g -O2   -o Xvfb  InitInput.o 
InitOutput.o dpmsstubs.o stubs.o miinitext.o fbcmap.o 
../../dix/libdix.la ../../fb/libfb.la ../../mi/libmi.la 
../../GL/glx/libglx.la ../../GL/mesa/libGLcore.la 
../../xfixes/libxfixes.la ../../Xext/libXext.la 
../../record/librecord.la ../../Xi/libXi.la ../../render/librender.la 
../../randr/librandr.la ../../damageext/libdamageext.la 
../../composite/libcomposite.la ../../miext/cw/libcw.la 
../../Xi/libXi.la ../../xkb/libxkb.la  ../../miext/damage/libdamage.la 
../../miext/layer/liblayer.la ../../dix/libxpstubs.la ../../os/libos.la 
-L/usr/X11R6/lib -L/usr/X11R6//lib -lXfont -lfreetype -lm -lz -lXau 
-lxkbfile -lX11 -ldl -lXdmcp   -lm -lz ../../xfixes/libxfixes.la 
../../Xext/libXext.la ../../record/librecord.la ../../Xi/libXi.la 
../../render/librender.la ../../randr/librandr.la 
../../damageext/libdamageext.la ../../composite/libcomposite.la 
../../miext/cw/libcw.la  -lm
gcc -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS 
-DXFree86Server -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT 
-I/usr/X11R6/include -I/usr/X11R6//include -I/usr/include/freetype2 
-I../../include -I../../include -I../../Xext -I../../render 
-I../../randr -I../../xfixes -I../../damageext -I../../composite 
-I../../mi -I../../miext/damage -I../../miext/shadow -I../../fb 
-I../../Xi -g -O2 -o Xvfb InitInput.o InitOutput.o dpmsstubs.o stubs.o 
miinitext.o fbcmap.o  ../../dix/.libs/libdix.a ../../fb/.libs/libfb.a 
../../mi/.libs/libmi.a ../../GL/glx/.libs/libglx.a 
../../GL/mesa/.libs/libGLcore.a ../../xkb/.libs/libxkb.a 
../../miext/damage/.libs/libdamage.a ../../miext/layer/.libs/liblayer.a 
../../dix/.libs/libxpstubs.a ../../os/.libs/libos.a -L/usr/X11R6/lib 
-L/usr/X11R6//lib /usr/X11R6/lib/libXfont.so 
/usr/X11R6/lib/libfontcache.so /usr/X11R6/lib/libfontenc.so 
/usr/local/lib/libfreetype.so /usr/X11R6/lib/libxkbfile.so 
/usr/X11R6//lib/libX11.so /usr/X11R6/lib/libXau.so -ldl 
/usr/X11R6/lib/libXdmcp.so -lz ../../xfixes/.libs/libxfixes.a 
../../Xext/.libs/libXext.a ../../record/.libs/librecord.a 
../../Xi/.libs/libXi.a ../../render/.libs/librender.a 
../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a 
../../composite/.libs/libcomposite.a ../../miext/cw/.libs/libcw.a -lm 
-Wl,--rpath -Wl,/usr/X11R6//lib -Wl,--rpath -Wl,/usr/X11R6//lib
../../GL/glx/.libs/libglx.a(g_render.o)(.text+0x63d2): In function 
`__glXDispSwap_PointParameteriv':
/home/szift/xorg/xorg-server-0.99.1/GL/glx/g_render.c:2262: undefined 
reference to `__glPointParameteriv_size'
../../GL/glx/.libs/libglx.a(g_renderswap.o)(.text+0x92f2): In function 
`__glXDispSwap_PointParameterfvARB':
/home/szift/xorg/xorg-server-0.99.1/GL/glx/g_renderswap.c:3342: 
undefined reference to `__glPointParameterfvARB_size'
../../GL/glx/.libs/libglx.a(rensize.o)(.text+0x2eb2): In function 
`__glXPointParameterfvARBReqSize':
/home/szift/xorg/xorg-server-0.99.1/GL/glx/rensize.c:925: undefined 
reference to `__glPointParameterfvARB_size'
collect2: ld returned 1 exit status
make[2]: *** [Xvfb] Error 1
make[2]: Leaving directory `/home/szift/xorg/xorg-server-0.99.1/hw/vfb'

I'm not sure what to do with this, I wrote myself a bash script using 
readelf -s to find the function maybe somewhere within my libs,
so I could add it here, but I can't find it anywhere
I use now 6.8.99.901 <=> 6.9.0 RC1 and everything works smooth except 
the nvidia driver, I hoped that maybe the newer XOrg version would fix 
this, the message I get when loading the glx extension is:
"undefined symbol XRC_DRAWABLE", though the nvidia driver itself 
compiles just fine, and loads into the kernel without issues.
Still I would like to get the above working mainly for bug search ;)

Anybody can help me?

The system I use is HLFS SVN 12.04.05
It's a glibc 2.3.5 based system with currently running 2.6.14.3-grsec 
kernel, the gcc is 3.4.3.
I had the system work with XOrg and nvidia at the 6.8 version, though I 
did tend to get the X server unstable sometimes (when a bigger load 
occured) and the server then hanged taking all the resources it could, 
and there was no responce to the keyboard or mouse actions (but the 
cursor did move), but it was still possible to ssh-in.
That's a problem I had heard of on a few systems with the nvidia driver,
and I alone have 2 such systems.

ah, the nvidia related is 7667 and 7676 (same thing),
my graphics card is GeForce II MX (440?400)

--
Best wishes
Łukasz



More information about the xorg mailing list