tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: help compiling a threaded application (fwd)
@ 2002-10-02 15:32 Daniel Monjar
  0 siblings, 0 replies; only message in thread
From: Daniel Monjar @ 2002-10-02 15:32 UTC (permalink / raw)


thanks to Rob McCauley of Duke University right down the road...  along 
with -pthread compiler flag I needed to add '-lrt' to the library list.


---------- Forwarded Message ----------
Date: Wednesday, October 02, 2002 9:59 AM -0400
From: Daniel Monjar <Daniel.Monjar@na.biomerieux.com>
To: tru64 <tru64-unix-managers@ornl.gov>
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 at 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 added
'-pthread' to the CFLAGS.  Now it is as above, not finding the semaphore
routines.  What library are they in?

--
Daniel Monjar
IS Manager, Technical Services
bioMérieux, Inc.
Durham, NC US


---------- End Forwarded Message ----------



--
Daniel Monjar
IS Manager, Technical Services
bioMérieux, Inc.
Durham, NC US



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-02 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-02 15:32 SUMMARY: help compiling a threaded application (fwd) Daniel Monjar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox