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

Sam Lantinga slouken at libsdl.org
Wed Dec 29 23:29:50 PST 2010


I think I fixed this a couple weeks ago.

Try this: hg pull; hg update; sh autogen.sh; ./configure; make


On Mon, Dec 20, 2010 at 10:30 AM, Kenneth Lorthioir <ibelimb at gmail.com> wrote:
> 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
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>



-- 
    -Sam Lantinga, Founder and President, Galaxy Gameworks LLC



More information about the SDL mailing list