[tpop3d-discuss] compile fails on Solaris 8 / gcc 3.0

pop3 lists archive pop3 at jasonhorton.com
Wed, 25 Jul 2001 19:26:47 -0400


> On Solaris, you would want --enable-cclient-fcntl, if you
> used cclient at all.

dont plan on running pine on these servers, or anything else that relies
on c-client

> Dunno how this slipped through. It was introduced purely
> as a Solaris fix....

better, but now we get:
gcc  -Wall -g -lm -o tpop3d  auth_mysql.o auth_other.o auth_perl.o
auth_pam.o auth_passwd.o authswitch.o cfgdirectives.o config.o
connection.o errprintf.o listener.o locks.o mailbox.o maildir.o
mailspool.o main.o md5c.o pidfile.o pop3.o signals.o stringmap.o
strtok_r.o substvars.o tokenise.o util.o vector.o  -lpam -ldl -lnsl
-lsocket 
Undefined                       first referenced
 symbol                             in file
nanosleep                           auth_other.o
ld: fatal: Symbol referencing errors. No output written to tpop3d
collect2: ld returned 1 exit status
make[2]: *** [tpop3d] Error 1
make[2]: Leaving directory `/space/tpop3d-1.3.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/space/tpop3d-1.3.4'
make: *** [all-recursive-am] Error 2

nanosleep(3RT) manpage references the following include:
#include <time.h>

added it to auth_other.h and still get the same error.