[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


The definition of GLchar is in /System/Library/Frameworks/ OpenGL.framework/Headers/gl.h; however, gl.h is also in xc/include/GL which is checked first. This is a problem with having several include sources within a build. I do not know how the gl.h in xc/ Include/Gl is generated (I have not looked into the makefile) by the makefile; but, there is not much I can do since the makefile's are also generated via imake. What I was able to do was somehow modify a source so that GLchar is defined within xc/Include/GL/gl.h. I am also not sure if my emails are getting through since they are not echoed when sending via xfree86@xxxxxxxxxxxx I had sent a email regarding my work around to the GLchar; but, do not know if it was received.

On Feb 19, 2007, at 8:11 AM, Marc Aurele La France wrote:

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 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 mailing list

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux