You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Mittler, Nathan" <na...@sensis.com> on 2006/06/13 13:29:31 UTC
RE: Linking error for compiling CMS code
CMS is dependent on UNIX pthreads, so in your linker options you'll need
-lpthread
-----Original Message-----
From: Arshad Ahamad [mailto:arshad@in.effectsoft.com]
Sent: Tuesday, June 13, 2006 7:26 AM
To: activemq-dev@geronimo.apache.org; user@activemq.codehaus.org
Subject: Linking error for compiling CMS code
Hi all,
I am compiling cmd code on SuSe(Linux machine-> i686-suse-linux,
version 2.6.13-15.8-default) , I am able to create the object file of
this
code but when I make a executable file it gives the following error
..../stomp/StompTransport.cpp:147: undefined reference to
`pthreadpthread_join
collect2: ld returned 1 exit status
Please help me
Thanks in advance
Regards
Arashad Ahamad