I have a problem compiling the x-server. I am using the standard X11R7.4
xorg-server-1.5.1, bigreqsproto-1.0.2, damageproto-1.1.0, evieext-1.0.2, fontcacheproto-0.1.2, fontsproto-2.0.2, glproto-1.4.9, inputproto-1.4.4, libXdamage-1.1.1, xkbevd-1.0.2, xineramaproto-1.1.2, xf86driproto-2.0.4, xcmiscproto-1.1.2, videoproto-2.2.2, setxkbmap-1.0.4, scrnsaverproto-1.1.0, resourceproto-1.0.2, renderproto-0.9.3, randrproto-1.2.1, pixman-0.10.0, libxkbfile-1.0.5, libpciaccess-0.10.3, libXfixes-4.0.3, libXfont-1.3.3, libXi-1.1.3, libXrandr-1.2.3 + mesa 7.4.2 libcompositeproto 0-2.2, driproto-1.99.3, and libdrm2.4.11. All of this is the latest stable code. I am not giving configure any options on anything and just running make and make install. (Nothing special at all) However x won't build. Has anyone seen this? gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi -DHAVE_DIX_CONFIG_H -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/local/include -I/usr/local/include/pixman-1 -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/usr/local/include -I/usr/local/include/drm -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -DXFree86Server -g -O2 -MT glxdri2.lo -MD -MP -MF .deps/glxdri2.Tpo -c glxdri2.c -fPIC -DPIC -o .libs/glxdri2.o glxdri2.c:378: error: variable 'loaderExtension' has initializer but incomplete type glxdri2.c:379: error: extra brace group at end of initializer glxdri2.c:379: error: (near initialization for 'loaderExtension') glxdri2.c:379: error: '__DRI_LOADER' undeclared here (not in a function) glxdri2.c:379: error: '__DRI_LOADER_VERSION' undeclared here (not in a function) glxdri2.c:379: warning: excess elements in struct initializer glxdri2.c:379: warning: (near initialization for 'loaderExtension') glxdri2.c:380: warning: excess elements in struct initializer glxdri2.c:380: warning: (near initialization for 'loaderExtension') glxdri2.c:382: warning: excess elements in struct initializer glxdri2.c:382: warning: (near initialization for 'loaderExtension') glxdri2.c:386: error: invalid use of incomplete typedef '__DRIloaderExtension' make[1]: *** [glxdri2.lo] Error 1 make[1]: Leaving directory `/home/david/sandbox/X11/xserver/xorg-server-1.5.1/glx' make: *** [all-recursive] Error 1 I googled it and the advice I found was to install driproto and libdrm. I also found a couple of bug reports but the bugs were closed as "fixed". No details on how. Can anyone give me a hint as to what I have done wrong? Thanks in advance. --David.
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
