I use CommonC++2-0.99.3 in Solaris8 x86, configure;make;make check;make install are all OK. But when I enter the demo directory and make all demo, it says:
/home/cjx/commoncpp2-0.99.3/demo>make
/bin/sh ../libtool --mode=link c++ -I/usr/local/include -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -o tcp tcp.o ../src/libccgnu2.la -lposix4 -lpthread -ldl -L/usr/local/lib -lsocket
c++ -I/usr/local/include -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -o .libs/tcp tcp.o ../src/.libs/libccgnu2.so -L/usr/local/lib -lposix4 -lpthread -ldl -lsocket -R/home/cjx/ccpp/lib
Undefined first referenced
symbol in file
ost::PersistException type_info functiontcp.o
ost::PersistException type_info nodetcp.o
ld: fatal: Symbol referencing errors. No output written to .libs/tcp
collect2: ld returned 1 exit status
make: *** [tcp] Error 1
Why I lost ost::PersistException ??????
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use CommonC++2-0.99.3 in Solaris8 x86, configure;make;make check;make install are all OK. But when I enter the demo directory and make all demo, it says:
/home/cjx/commoncpp2-0.99.3/demo>make
/bin/sh ../libtool --mode=link c++ -I/usr/local/include -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -o tcp tcp.o ../src/libccgnu2.la -lposix4 -lpthread -ldl -L/usr/local/lib -lsocket
c++ -I/usr/local/include -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -o .libs/tcp tcp.o ../src/.libs/libccgnu2.so -L/usr/local/lib -lposix4 -lpthread -ldl -lsocket -R/home/cjx/ccpp/lib
Undefined first referenced
symbol in file
ost::PersistException type_info functiontcp.o
ost::PersistException type_info nodetcp.o
ld: fatal: Symbol referencing errors. No output written to .libs/tcp
collect2: ld returned 1 exit status
make: *** [tcp] Error 1
Why I lost ost::PersistException ??????