The problems seems to be in the pthread related compiling options of Common C++. Did you get some warning when compiling it? What do you get from 'ccgnu2-config --libs --includes'?
On Mon, Feb 13, 2006 at 02:38:34AM -0800, juanmms (sent by Nabble.com) wrote: > > When I try to compile I get the following errors: > > /usr/local/lib/libccgnu2.a(thread.o)(.text+0x30): In function > `ost::Thread::enterCancel()': > /home/scpsms/usuarios/juanmms/commoncpp2-1.3.22/src/thread.cpp:185: > referencia a `pthread_testcancel' sin definir > /usr/local/lib/libccgnu2.a(thread.o)(.text+0x55): In function > `ost::Thread::exitCancel(ost::Thread::Cancel)': > /home/scpsms/usuarios/juanmms/commoncpp2-1.3.22/src/thread.cpp:202: > referencia a `pthread_testcancel' sin definir > /usr/local/lib/libccgnu2.a(thread.o)(.text+0xb5): In function > `ost::Thread::suspend()': > /home/scpsms/usuarios/juanmms/commoncpp2-1.3.22/src/thread.cpp:1117: > referencia a `pthread_kill' sin definir > /usr/local/lib/libccgnu2.a(thread.o)(.text+0x10a): In function > `ost::Thread::resume()': > > ( ................ ) > > And when I try to add the library libpthread, I get the following mistakes: > > /usr/lib/libpthread.a(pthread.o)(.text+0x313): In function > `__pthread_initialize_manager': > : referencia a `_res' sin definir > /usr/lib/libpthread.a(pthread.o)(.text+0xb03): In function > `__pthread_reset_main_thread': > : referencia a `_errno' sin definir > /usr/lib/libpthread.a(pthread.o)(.text+0xb13): In function > `__pthread_reset_main_thread': > : referencia a `_h_errno' sin definir > > ( ......................) > > Someone know how can I solve the problem? > > Thank you. > > -- > View this message in context: > http://www.nabble.com/Compiling-problems-t1113115.html#a2908183 > Sent from the Gnu - ccRTP - Dev forum at Nabble.com. > > > > _______________________________________________ > Ccrtp-devel mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/ccrtp-devel _______________________________________________ Ccrtp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/ccrtp-devel
