help compiling a threaded application

From: Daniel Monjar <Daniel.Monjar_at_na.biomerieux.com>
Date: Wed, 02 Oct 2002 09:59:47 -0400

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
Received on Wed Oct 02 2002 - 14:00:44 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT