Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 35100 invoked from network); 13 Jun 2006 11:30:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2006 11:30:45 -0000 Received: (qmail 34202 invoked by uid 500); 13 Jun 2006 11:30:44 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 34171 invoked by uid 500); 13 Jun 2006 11:30:44 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 34162 invoked by uid 99); 13 Jun 2006 11:30:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 04:30:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [199.105.164.5] (HELO smtpmail2.sensis.com) (199.105.164.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 04:30:43 -0700 Received: from dimstar2.ats.sensis.com ([172.21.1.6]) by smtpmail2.sensis.com with esmtp (Exim 4.50) id 1Fq76D-0000vA-Hj; Tue, 13 Jun 2006 07:30:21 -0400 Received: from corpatsmail1.ats.sensis.com ([172.21.1.88] helo=corpatsmail1.corp.sensis.com) by dimstar2.ats.sensis.com with esmtp (Exim 4.50) id 1Fq760-00073L-1L; Tue, 13 Jun 2006 07:30:08 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Linking error for compiling CMS code Date: Tue, 13 Jun 2006 07:29:31 -0400 Message-ID: <7743F17344E95A4CA78A3E53A7AF496B5C2EE4@corpatsmail1.corp.sensis.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Linking error for compiling CMS code Thread-Index: AcaO3GsahYV6HP7qQQuAb9NrN54CagAABHqg From: "Mittler, Nathan" To: , X-Sensis-MailScanner-Information: Scanned at Sensis Corporation by MailScanner X-Sensis-MailScanner: Found to be clean X-Sensis-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-Sensis-MailScanner-From: nathan.mittler@sensis.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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]=20 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,=20 I am compiling cmd code on SuSe(Linux machine-> i686-suse-linux,=20 version 2.6.13-15.8-default) , I am able to create the object file of this=20 code but when I make a executable file it gives the following error=20 ..../stomp/StompTransport.cpp:147: undefined reference to=20 `pthreadpthread_join collect2: ld returned 1 exit status=20 Please help me Thanks in advance Regards Arashad Ahamad