After this problem was solved the following command (the ./build -
verbose cpp showed me the command)
gcc -g -prebind -dynamiclib -o libxmlBlasterClientCD.dylib ../
build.tmp/objCD/helper.o ../build.tmp/objCD/
XmlBlasterAccessUnparsed.o ../build.tmp/objCD/
CallbackServerUnparsed.o ../build.tmp/objCD/
XmlBlasterConnectionUnparsed.o ../build.tmp/objCD/msgUtil.o ../
build.tmp/objCD/xmlBlasterSocket.o ../build.tmp/objCD/
SQLiteQueue.o ../build.tmp/objCD/Properties.o ../build.tmp/objCD/
xmlBlasterZlib.old: warning prebinding disabled because of
undefined symbols
This is the C shared lib linking output on my Linux box:
gcc -g -shared -o libxmlBlasterClientCD.so ../build.tmp/objCD/
helper.o ../build.tmp/objCD/XmlBlasterAccessUnparsed.o ../build.tmp/
objCD/CallbackServerUnparsed.o ../build.tmp/objCD/
XmlBlasterConnectionUnparsed.o ../build.tmp/objCD/msgUtil.o ../
build.tmp/objCD/xmlBlasterSocket.o ../build.tmp/objCD/
SQLiteQueue.o ../build.tmp/objCD/Properties.o ../build.tmp/objCD/
xmlBlasterZlib.o -L/opt/sqlite-bin/lib -lsqlite -L/opt/zlib-bin/lib
-lz
I wonder why cpptasks leaves away the sqlite and zlib in your case
(pthread is not needed explicitly on Linux).