glx on xserver build problem

Joey Reid joe at joeyreid.com
Thu Feb 3 12:53:53 PST 2005


Hi, all. I am trying to build the xserver (kdrive) with all the bells
and whistles, and I am running into a bit of a problem.

I used jhbuild to install initially, and now I am fine-tuning my build
by reconfiguring and rebuilding. If I configure xserver with:

./configure --prefix=/opt/xserver --with-mesa-
source=/home/jreid/cvs/Mesa-6.2.1 --enable-xkb --enable-glx

configure runs fine, but make fails with:

if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../GL/glx -
I../../GL/glx -I../../GL/include -I../../GL/mesa/include -I../../mi -
I../../fb -I../../Xext -I../../render -
I/home/jreid/cvs/Mesa-6.2.1/include -Wall -Wpointer-arith -Wstrict-
prototypes        -Wmissing-prototypes -Wmissing-declarations     -
Wnested-externs -fno-strict-aliasing -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -
DXTHREADS -DXUSE_MTSAFE_API -DDFLT_XKB_CONFIG_ROOT="/etc/X11/xkb" -
I/opt/xserver/include -I/opt/xserver/include/X11/fonts -
I/opt/xserver/include/X11/Xtrans   -D_BSD_SOURCE -I../../include -
I../../Xext   -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN
-DGLX_USE_MESA -g -O2 -MT libglx_a-singlesize.o -MD -MP -MF
".deps/libglx_a-singlesize.Tpo" -c -o libglx_a-singlesize.o `test -f
'singlesize.c' || echo './'`singlesize.c; \
then mv -f ".deps/libglx_a-singlesize.Tpo" ".deps/libglx_a-
singlesize.Po"; else rm -f ".deps/libglx_a-singlesize.Tpo"; exit 1; fi
singlesize.c: In function `__glReadPixels_size':
singlesize.c:49: warning: implicit declaration of function
`__glXImage3DSize'
singlesize.c:49: warning: nested extern declaration of
`__glXImage3DSize'
singlesize.c: In function `__glGet_size':
singlesize.c:907: error: `GL_FOG_COORD_SOURCE' undeclared (first use in
this function)
singlesize.c:907: error: (Each undeclared identifier is reported only
once
singlesize.c:907: error: for each function it appears in.)
singlesize.c: In function `__glGetTexImage_size':
singlesize.c:1154: warning: nested extern declaration of
`__glXImage3DSize'
make[2]: *** [libglx_a-singlesize.o] Error 1
make[2]: Leaving directory `/home/jreid/cvs/xserver/xserver/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jreid/cvs/xserver/xserver/GL'
make: *** [all-recursive] Error 1

I googled and found an xfree86 mailing-list post from Marc Aurele La
France at http://www.mail-archive.com/devel@xfree86.org/msg06476.html
that indicates the problem is related to having GL_VERSION_1_5 defined,
but I have not been able to find where it is.

Does anyone have any ideas? Or should I even be trying this (i.e. does
glx work properly). I can say that the kdrive server is big-time faster
than xorg on my ATI 9000 mobility.

As an aside, I notice that there is no maintainer for the xserver
install guide on the wiki. If I can get this to work I may be willing to
take that on (or even if I don't get it to work ;-).


Thanks

Joey Reid




More information about the xorg mailing list