Tom Caulfield wrote:
> tried it twice.  updated fink too. 
> not working.

> Package manager version: 0.29.9 
> Distribution version: selfupdate-rsync Sun Oct 18 20:13:39 2009, 10.4, i386
> Mac OS X version: 10.4.11
> Xcode version: 2.5
> gcc version: 4.0.1 (Apple Computer, Inc. build 5370)
[]
> /bin/sh ../../../libtool --mode=link gcc  -O3  
> -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
>  
> -L/sw/lib -o CallbackMaker -export-dynamic ../../../src/libfreeglut.la 
> CallbackMaker-CallbackMaker.o  
> mkdir .libs
> 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/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
> _glClear
> _glClearColor

These symbols should be provided by /usr/X11R6/lib/libGL.dylib 
(indirectly from the OpenGL framework). What do you get from the command

   nm -m /usr/X11R6/lib/libGL.dylib | grep glClearColor

? I get the following:

00009dfc (__TEXT,__text) external ___indirect_glClearColor
          (undefined) external _glClearColor (from libGL)
          (undefined) external ___indirect_glClearColor

If you get this, too, then I suspect that you have another, deficient, 
libGL.dylib, probably /usr/local/lib/libGL.dylib, that is interfering. 
If you see this file, remove it.

-- 
Martin



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to