On 14/07/2009, at 09:00, Joao Torres wrote:
> I'm trying to install the "lame" library on a Mac OS 10.4.11 and I'm
> getting the following error messages:
>
> 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
> collect2: ld returned 1 exit status
> make[4]: *** [CallbackMaker] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-freeglut-2.4.0-5
> (Reading database ... 4586 files and directories currently installed.)
> Removing fink-buildlock-freeglut-2.4.0-5 ...
> Failed: phase compiling: freeglut-2.4.0-5 failed


Olá,

What's the output of the following commands?

ls -ld /System/Library/Frameworks/OpenGL.framework/Versions/A/ 
Libraries/libGL.dylib

nm -g /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ 
libGL.dylib | grep glClear

ls -ld /usr/X11R6/lib/libGL.dylib

nm -g /usr/X11R6/lib/libGL.dylib | grep glClear


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to