[SDL] Problem compiling 1.3 on OSX 10.6 - build/SDL_x11opengl.lo

Kenneth Lorthioir ibelimb at gmail.com
Mon Dec 20 10:30:11 PST 2010


Hello,

I downloaded the latest source from hg, and during the make process
I'm running into the following error:

/bin/sh ./libtool --mode=compile gcc -g -O3 -I./include  -mmmx -m3dnow
-msse -msse2 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX
-fvisibility=hidden  -I/usr/X11R6/include -D_THREAD_SAFE
-falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -MMD -MT
build/SDL_x11opengl.lo -c src/video/x11/SDL_x11opengl.c -o
build/SDL_x11opengl.lo
libtool: compile:  gcc -g -O3 -I./include -mmmx -m3dnow -msse -msse2
-DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden
-I/usr/X11R6/include -D_THREAD_SAFE -falign-loops=16
-force_cpusubtype_ALL -fpascal-strings -MMD -MT build/SDL_x11opengl.lo
-c src/video/x11/SDL_x11opengl.c  -fno-common -DPIC -o
build/.libs/SDL_x11opengl.o
src/video/x11/SDL_x11opengl.c:90: error: redefinition of typedef
‘PFNGLXCREATECONTEXTATTRIBSARBPROC’
/usr/X11R6/include/GL/glxext.h:548: error: previous declaration of
‘PFNGLXCREATECONTEXTATTRIBSARBPROC’ was here
make: *** [build/SDL_x11opengl.lo] Error 1

I can't find anything to figure out whats throwing the error here.
Does anyone have any ideas?

Thank you,
Kenneth



More information about the SDL mailing list