Jens Noeckel wrote: > Hi, > With an-up-to-date fink (unstable) on both PPC and intel machines, I > tried to install sdl-ttf but got the following linker error (on both > systems): > > gcc -g -O2 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/ > include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DHAVE_OPENGL -L/sw/lib - > o .libs/glfont glfont.o -L.libs -lSDL_ttf -L/usr/X11R6/lib -lfreetype > -lSDLmain -lSDL -L/usr/X11R6/lib -lfreetype -L/sw/lib -lSDLmain -lSDL > -Wl,-framework,Cocoa > /usr/bin/ld: Undefined symbols: > _glBegin [etc] > collect2: ld returned 1 exit status > make: *** [glfont] Error 1 > ### execution of make failed, exit code 2 > Removing build lock... > /sw/bin/dpkg-lockwait -r fink-buildlock-sdl-ttf-2.0.6-1016 > (Reading database ... 129455 files and directories currently installed.) > Removing fink-buildlock-sdl-ttf-2.0.6-1016 ... > Failed: phase compiling: sdl-ttf-2.0.6-1016 failed > > > Could it be that the OpenGL and/or GLUT frameworks have to be > specified in addition to Cocoa?
This looks like a bug in the new version 1.2.10 of the sdl package. In the old one that is also in the Fink bindist (1.2.9), the command sdl-config --libs returned -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL The new one returns -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -- Martin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel