One Quickie

Fixing strange undefined link symbols (Random->Random)
While building OpenJade, I got these link errors:
gcc -dynamiclib  -o .libs/libogrove.0.0.1.dylib  Node.lo LocNode.lo  -lm -lc -install_name  /usr/local/lib/libogrove.0.dylib
ld: Undefined symbols:
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info
operator delete(void*)
operator new(unsigned long)
/usr/bin/libtool: internal link edit command failed
The link line needs to have "-lstdc++" added to the end. For OpenJade, edit the libtool script and add -lstdc++ to the end archive_cmds line. (but leave it inside the last closing double-quote)

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book