Getting the following error building the latest snapshot with Xcode 2.2 on Mac OS X 10.4: ---(snip!)--- /usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I../../../lib/X11 -I../../../include/extensions -I../../../programs/Xserver/hw/xfree86/os-support -I../../../extras/drm/shared-core -I-I. -I../../../lib/GL/glx -I../../../exports/include -I../../../exports/include/GL -I../../../exports/include/X11 -I../../../programs/Xserver/GL/dri -I../../../programs/Xserver/hw/darwin/quartz/xpr -I../../../extras/Mesa/include -I../../../extras/Mesa/src/mesa/glapi -I../../../lib/GL/include -F/System/Library/Frameworks/ApplicationServices.framework/Frameworks -I../../.. -I../../../exports/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI -DGLXEXT -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common -DXP_NO_X_HEADERS=1 -DOSVERSION=8*100+4 -Os dri_glx.c -o unshared/dri_glx.o dri_glx.c: In function 'driCreateDisplay': dri_glx.c:186: error: 'struct __DRIdisplayRec' has no member named 'createScreen' dri_glx.c:208: error: 'struct __DRIdisplayRec' has no member named 'createScreen' dri_glx.c:208: error: 'CreateScreenFunc' undeclared (first use in this function) dri_glx.c:208: error: (Each undeclared identifier is reported only once dri_glx.c:208: error: for each function it appears in.) dri_glx.c:208: error: parse error before ')' token dri_glx.c:209: error: 'struct __DRIdisplayRec' has no member named 'createScreen' dri_glx.c:213: error: 'CreateNewScreenFunc' undeclared (first use in this function) dri_glx.c:213: error: parse error before ')' token dri_glx.c:215: error: 'struct __DRIdisplayRec' has no member named 'createScreen' dri_glx.c:224: error: 'struct __DRIdisplayRec' has no member named 'createScreen' dri_glx.c:231: error: 'struct __DRIdisplayRec' has no member named 'createScreen' make[5]: *** [dri_glx.o] Error 1 making all in lib/GL/GL... make[5]: *** No rule to make target `../../../lib/GL/apple/unshared/dri_dispatch.o', needed by `libGL.a'. Stop. ---(snip!)--- config/cf/host.def contains the following: ---(snip!)--- #define ExtraIncDir /sw/include #define EtcX11Directory ProjectRoot/etc #define BuildFontCache YES #define HasFreetype2 NO #define InstallCmd /usr/bin/install ---(snip!)---
The internal changes in the GL driver interface breaks a lot of things in Mac OS X support for GLX. I'm working on a fix for this.
Assigning to myself.
Torrey, any ETA on the fix?
My ETA is very soon, probably this week. After a bit of hiatus I had some time to work on this and the GL libraries now build fine for me. Just a few remaining issues left with the server.
Created attachment 5774 [details] [review] Patch to fix Mac OS X build failure in 6.9 This patch fixes the build failure and restores hardware accelerated GLX rendering on Mac OS X. I have only tested on Mac OS X 10.4, but it should work on the same earlier versions supported in X11R6.8.
Checked into top of 6.9 tree.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.