Yes it worked. Thanks. 

I wonder why configure is initially unable to find socket library...?


--
Shiraz Malik
Dancom OnLine Services,
Islamabad, Pakistan. 

-----Original Message-----
From: Anders Brander [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 11:35 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail 5.4.0 Make error on Solaris 9
(possiblesolution)


Hi,

On Thu, 2004-02-26 at 21:09, Shiraz wrote:
> Did the steps to include "nsl and socket" libs for make of vpopmal
> v5.4.0 on Solaris 9 (sparc) with gcc 3.3.2. However, I am still
getting
> the following error:
> 
> gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
> -L/usr/local/mysql/lib -R/var/qmail/vpopmail/lib -lmysqlclient -lz
> -lcrypt -lnsl -lsocket
> Undefined                       first referenced
>  symbol                             in file
> floor
> /usr/local/mysql/lib/libmysqlclient.a(password.o)
> ld: fatal: Symbol referencing errors. No output written to vchkpw
> collect2: ld returned 1 exit status
> make[2]: *** [vchkpw] Error 1
> 
> 
> Any other lib is missing. Help..?

libm? use -lm

/Anders





Reply via email to