Hi!

I ran into this problem when building on Solaris.
The setenv() call does not exist in Solaris C library,
there is something called putenv(?).

Also when linking on Solaris i had to add "-lnsl -lsocket"

SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-2
gcc version 2.95.3 20010315 (release)
ftp.proxy version 1.1.6.beta4

-- snip --
gcc -o ftp.proxy main.o ftp.o daemon.o ip-lib.o lib.o -lnsl -lsocket
Undefined                       first referenced
 symbol                             in file
setenv                              ftp.o
ld: fatal: Symbol referencing errors. No output written to ftp.proxy
collect2: ld returned 1 exit status
-- snip --

Regards
Pawel Worach

Reply via email to