[Clfs-support] building XGL with Xorg 7.3
Stef Bon
stef at bononline.nl
Mon May 19 04:26:56 PDT 2008
Hello,
I'm trying to build the X server with XGL:
./configure --prefix=/usr/X11R73 --sysconfdir=/etc --localstatedir=/var
--enable-install-setuid
--with-dri-driver-path=/usr/X11R73/lib/xorg/modules/dri
--with-fontdir=/usr/share/fonts
--with-mesa-source=/opt/source/Mesa-7.0.2 --enable-xgl --enable-xglx
The configure goes fine, only the makecommand gives errors like:
> 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../../mi -I/usr/X11R73/include -I/opt/source/Mesa-7.0.2//include -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 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/X11R73/include -I/usr/X11R73//include -I/usr/X11R73//include/pixman-1 -I/usr/include/freetype2 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -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/X11R73/include -I/usr/X11R73/include -I/usr/X11R73//include -I/usr/X11R73//include -I/usr/X11R73//include/drm -I/usr/X11R73/include/X11/dri -I/opt/source/Mesa-7.0.2//
src/mesa/glapi -I/opt/source/Mesa-7.0.2//src/mesa/main -DXFree86Server -g -O2 -MT glcontextmodes.lo -MD -MP -MF .deps/glcontextmodes.Tpo -c glcontextmodes.c -fPIC -DPIC -o .libs/glcontextmodes.o
> glcontextmodes.c: In function '_gl_copy_visual_to_context_mode':
> glcontextmodes.c:190: error: '__GLcontextModes' has no member named 'bindToTextureRgb'
> glcontextmodes.c:191: error: '__GLcontextModes' has no member named 'bindToTextureRgba'
> glcontextmodes.c:193: error: '__GLcontextModes' has no member named 'bindToMipmapTexture'
> glcontextmodes.c:194: error: '__GLcontextModes' has no member named 'bindToTextureTargets'
> glcontextmodes.c:197: error: '__GLcontextModes' has no member named 'yInverted'
Now i've read somewhere before that building of XGL from the xserver
package will always fail, cause it's maintained elsewhere.
Did you know?
(Is this true?: this means that the book gives incorrect instructions)
Now I know how to get the source from xgl with git :
git clone git://anongit.freedesktop.org/git/xorg/xserver
cd xserver
git checkout xgl-0-0-1
but that gives me the latest xgl code, which will only compile with xorg
version 7.4. Does anyone know how I can can the source of xgl which is
compatible with xorg 7.3?
Thanks in advance
Stef Bon
More information about the Clfs-support
mailing list