Am 16.07.2006 um 12:13 schrieb Martin Costabel: > 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 >
Indeed, thanks for the report. I'll fix this in the SDL package, and will also get it fixed upstream. Cheers, Max ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
