From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Monjar Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: help compiling a threaded application (fwd) Date: Wed, 02 Oct 2002 11:32:14 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <1022039435.1033558334@[10.155.9.6]> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: main.gmane.org 1033572751 22172 127.0.0.1 (2 Oct 2002 15:32:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2002 15:32:31 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17wlU9-0005kI-00 for ; Wed, 02 Oct 2002 17:32:26 +0200 Original-Received: (qmail 3525 invoked by uid 5); 2 Oct 2002 15:32:33 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3516 invoked by uid 49493); 2 Oct 2002 15:32:33 -0000 Original-Received: from Daniel.Monjar@na.biomerieux.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.423062 secs); 02 Oct 2002 15:32:33 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 2 Oct 2002 15:32:33 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3D003TJ1U87J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 02 Oct 2002 11:32:33 -0400 (EDT) Original-Received: from p100.biomerieux.com ([65.212.114.238]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3D00D1M1U5H5@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 02 Oct 2002 11:32:30 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.postoffice.orgtek.com by postoffice.orgtek.com (PMDF V6.1 #40455) id <0H3D08U011SFYV@postoffice.orgtek.com> for tru64-unix-managers@ornl.gov; Wed, 02 Oct 2002 11:31:28 -0400 (EDT) Original-Received: from [10.155.9.6] by postoffice.orgtek.com (PMDF V6.1 #40455) with ESMTP id <0H3D08U0L1SFVI@postoffice.orgtek.com> for tru64-unix-managers@ornl.gov; Wed, 02 Oct 2002 11:31:27 -0400 (EDT) Content-return: prohibited Original-To: tru64 X-Mailer: Mulberry/2.2.1 (Win32) Content-Disposition: inline Xref: main.gmane.org gmane.os.tru64.managers:1930 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1930 thanks to Rob McCauley of Duke University right down the road... alo= ng=20 with -pthread compiler flag I needed to add '-lrt' to the library lis= t. ---------- Forwarded Message ---------- Date: Wednesday, October 02, 2002 9:59 AM -0400 =46rom: Daniel Monjar To: tru64 Subject: help compiling a threaded application Tru64 5.1A I'm compiling freeradius-0.7.1... I can specifiy nothreads and get a working executable. But when compiling for a threaded app it fails a= t link with Unresolved: sem_init sem_destroy sem_wait sem_trywait sem_post Note that it was not finding some specific pthread routines so I adde= d '-pthread' to the CFLAGS. Now it is as above, not finding the semaph= ore routines. What library are they in? -- Daniel Monjar IS Manager, Technical Services bioM=E9rieux, Inc. Durham, NC US ---------- End Forwarded Message ---------- -- Daniel Monjar IS Manager, Technical Services bioM=E9rieux, Inc. Durham, NC US