OSX 10.3.5 gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
I am trying to build the fox 1.2 gui library (later API to fox 1.0 in fink). I am having the following problem: the library compiles and links without complaining but when running an example program there are unresolved symbols coming from stdlibc++
bolt:~/pub/fox-1.2.9/tests andy$ make
/bin/sh ../libtool --mode=link g++ -DHAVE_XSHM_H=1 -D_GNU_SOURCE -DHAVE_ZLIB_H=1 -DHAVE_BZ2LIB_H=1 -DHAVE_XCURSOR_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_GL_H=1 -DSUN_OGL_NO_VERTEX_MACROS -DHPOGL_SUPPRESS_FAST_API -DHAVE_GLU_H=1 -I/usr/X11R6/include -o gltest gltest.o ../src/libFOX-1.2.la -lm -L/usr/X11R6/lib -ldl -lpthread -lz -lbz2 -lm -lGL -lGLU
g++ -DHAVE_XSHM_H=1 -D_GNU_SOURCE -DHAVE_ZLIB_H=1 -DHAVE_BZ2LIB_H=1 -DHAVE_XCURSOR_H=1 -Wall -W -Wmissing-prototypes -Woverloaded-virtual -Wformat -DHAVE_GL_H=1 -DSUN_OGL_NO_VERTEX_MACROS -DHPOGL_SUPPRESS_FAST_API -DHAVE_GLU_H=1 -I/usr/X11R6/include -o .libs/gltest gltest.o -L../src/.libs -lFOX-1.2 -L/usr/X11R6/lib -lXext -lX11 -lXcursor -ldl -lpthread -lz -lbz2 -lm -lGL -lGLU
ld: warning prebinding disabled because dependent library: /usr/local/lib/libFOX-1.2.0.dylib is not prebound
creating gltest
bolt:~/pub/fox-1.2.9/tests andy$ gltest
dyld: gltest Undefined symbols:
__ZTVN10__cxxabiv117__class_type_infoE
__ZTVN10__cxxabiv120__si_class_type_infoE
___cxa_pure_virtual
___gxx_personality_v0
Trace/BPT trap
bolt:~/pub/fox-1.2.9/tests andy$
I have tried various mods to libtool and explicitly linking libraries driven by other peoples discussions about OSX problems discussed on the internet but without success. Suggestions gratefully received.
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel