On Fri, 16 Feb 2007, Frank J. R. Hanstick wrote:
The build process advanced to the following:
In file included from
/System/Library/Frameworks/OpenGL.framework/Headers/CGLContext.h:9,
from dri_driver.h:43,
from dri_driver.c:69:
/System/Library/Frameworks/OpenGL.framework/Headers/gliDispatch.h:681:
error: parse error before 'GLchar'
/System/Library/Frameworks/OpenGL.framework/Headers/gliDispatch.h:682:
error: parse error before 'GLchar'
dri_driver.c:115: warning: type qualifiers ignored on function return type
make[5]: *** [dri_driver.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [World] Error 2
make: *** [World] Error 2
The last entry in world.txt (my output file because of the log size
limitations) is:
/usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common -I.
-I../../../programs/Xserver/hw/xfree86/os-support
-I../../../programs/Xserver/hw/xfree86/os-support/shared/drm/kernel
-I../../../lib/GL/glx -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../../../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+8 -Os
dri_driver.c -o unshared/dri_driver.o
This one I might not be able to help you with (much), but the first thing I'd
do is scour /System/Library/Frameworks/OpenGL.framework/Headers/ for a
definition of GLchar. If it's not there, this is likely an Apple problem.
If it is there, I'd figure out why it isn't being included.
Marc.
+----------------------------------+----------------------------------+
| Marc Aurele La France | work: 1-780-492-9310 |
| Academic Information and | fax: 1-780-492-1729 |
| Communications Technologies | email: tsi@xxxxxxxxxxx |
| 352 General Services Building +----------------------------------+
| University of Alberta | |
| Edmonton, Alberta | Standard disclaimers apply |
| T6G 2H1 | |
| CANADA | |
+----------------------------------+----------------------------------+
XFree86 developer and VP. ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86