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
_glBindTexture
_glBlendFunc
_glClear
_glClearColor
_glColor3fv
_glDepthFunc
_glDisable
_glEnable
_glEnd
_glGenTextures
_glGetError
_glLoadIdentity
_glMatrixMode
_glOrtho
_glPopAttrib
_glPopMatrix
_glPushAttrib
_glPushMatrix
_glRotatef
_glShadeModel
_glTexCoord2f
_glTexEnvf
_glTexImage2D
_glTexParameteri
_glVertex2i
_glVertex3fv
_glViewport
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?

Jens



-------------------------------------------------------------------------
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-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to