compiling 8.4.7 Solaris 7

Davenport, Steve M. SDavenpo at mc.utmck.edu
Wed Jan 4 21:49:05 UTC 2006


Hello,
 

I'm trying to compile Bind 8.4.7 on a Solaris 7 system and have an error in
linking due to strlcpy not found. The folks at Sun say that strlcpy is not
available until Solaris 8. The INSTALL file says that this version compiles
on Solaris 6 and 7. Is there a workaround (other than an OS upgrade)?

 

gcc -g -O2   -o nslookup main.o getinfo.o debug.o send.o skip.o list.o
subr.o c

ommands.o \

        ../../lib/libbind.a -ll -lrt -lnsl -lsocket

Undefined                       first referenced

 symbol                             in file

strlcpy                             ../../lib/libbind.a(res_init.o)

ld: fatal: Symbol referencing errors. No output written to nslookup

*** Error code 1

make: Fatal error: Command failed for target `nslookup'

Current working directory /opt/bind8.4.7/src/bin/nslookup

 

Thanks,  Steve

 





More information about the bind-users mailing list