CMS is dependent on UNIX pthreads, so in your linker options you'll need

-lpthread


-----Original Message-----
From: Arshad Ahamad [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 13, 2006 7:26 AM
To: activemq-dev@geronimo.apache.org; [EMAIL PROTECTED]
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

Reply via email to