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: help compiling a threaded application Date: Wed, 02 Oct 2002 09:59:47 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <1016492368.1033552787@[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 1033567218 15370 127.0.0.1 (2 Oct 2002 14:00:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2002 14:00:18 +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 17wk2o-0003xk-00 for ; Wed, 02 Oct 2002 16:00:06 +0200 Original-Received: (qmail 20700 invoked by uid 5); 2 Oct 2002 14:00:12 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20689 invoked by uid 49493); 2 Oct 2002 14:00:11 -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.327017 secs); 02 Oct 2002 14:00:11 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 2 Oct 2002 14:00:11 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3C00JTWXK4UH@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 02 Oct 2002 10:00:11 -0400 (EDT) Original-Received: from p100.biomerieux.com ([65.212.114.238]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3C00M4BXK214@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 02 Oct 2002 10:00:03 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.postoffice.orgtek.com by postoffice.orgtek.com (PMDF V6.1 #40455) id <0H3C08H01XIC3E@postoffice.orgtek.com> for tru64-unix-managers@ornl.gov; Wed, 02 Oct 2002 09:59:01 -0400 (EDT) Original-Received: from [10.155.9.6] by postoffice.orgtek.com (PMDF V6.1 #40455) with ESMTP id <0H3C08F9PXIB6L@postoffice.orgtek.com> for tru64-unix-managers@ornl.gov; Wed, 02 Oct 2002 09:58:59 -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:1926 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1926 Tru64 5.1A I'm compiling freeradius-0.7.1... I can specifiy nothreads and get a= =20 working executable. But when compiling for a threaded app it fails a= t link=20 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=20 '-pthread' to the CFLAGS. Now it is as above, not finding the semaph= ore=20 routines. What library are they in? -- Daniel Monjar IS Manager, Technical Services bioM=E9rieux, Inc. Durham, NC US