On Tue, Jul 14, 2009 at 01:49:57PM +0200, Joao Torres <[email protected]> 
wrote:
> gcc -O3 -Wl,-dylib_file
> -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> -o .libs/CallbackMaker CallbackMaker-CallbackMaker.o  -L/sw/lib
> ../../../src/.libs/libfreeglut.dylib -lm -L/usr/X11R6/lib -lGL -lGLU
> -lXext -lX11 -lXxf86vm
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> _glClear
> _glClearColor
> _glColor3ub
> _glDisable
> _glEnable
> _glLoadIdentity
> _glMatrixMode
> _glOrtho
> _glPopMatrix
> _glPushMatrix
> _glRasterPos2i

Your system seems undecisive whether it supports opengl or not.
Try this workaround:
    rm m4/opengl.m4
    aclocal -I m4
    autoconf
    ./configure
    make
    make install

Matthias




Reply via email to