Hi Enver, thanks for this, it did the trick. I had a 1.4.0 Makefile for the 
same box to compare with, which helped. I added -lrt to the list of LIBS, and 
also to the list of options after -L$(libdir)/kannel in the 
./utils/foobar-config.sh command almost at the end of the file.

Patrick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Enver ALTIN
Sent: 29 June 2005 18:13
To: [email protected]
Subject: Re: 1.3.2 fails to build on Solaris


Hey,

On Mon, 2005-06-27 at 17:18 +0100, Patrick Wood wrote:
> Undefined                       first referenced 
>  symbol                             in file 
> sem_init                            libgwlib.a(semaphore.o) 
> sem_wait                            libgwlib.a(semaphore.o) 
> sem_destroy                         libgwlib.a(semaphore.o) 
> sem_getvalue                        libgwlib.a(semaphore.o) 
> sem_post                            libgwlib.a(semaphore.o) 
> ld: fatal: Symbol referencing errors. No output written to
> gw/bearerbox 
> collect2: ld returned 1 exit status 
> make: *** [gw/bearerbox] Error 1

Add "-lrt" somewhere appropriate in the Makefile. I think this has been
fixed sometime after 1.3.2.

-HAND
-- 
.O.
..O   Enver ALTIN                   |   http://skyblue.gen.tr/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/

Reply via email to