Compiling problems
"juanmms (sent by Nabble.com)" <[email protected]>
| Newsgroups | gmane.comp.gnu.ccrtp.devel |
|---|---|
| Message-ID | <[email protected]> |
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.