compilation problem with dnsserver.c

From: Jon Bernard <[email protected]>
Date: Wed, 10 Feb 1999 16:43:44 -0600 (CST)

On a SunOS 4.1.3 machine, with egcs-2.91.57, I get the following error
when compiling:

gcc -o dnsserver -g dnsserver.o -L../lib -lmiscutil -lm -lresolv -lnsl
/lib/libresolv.a(res_send.o)(.text+0x80): undefined reference to
`strerror'
/lib/libresolv.a(res_send.o)(.text+0x10c): undefined reference to
`strerror'
collect2: ld returned 1 exit status
make[1]: *** [dnsserver] Error 1
make[1]: Leaving directory `/nfs/nerdy/u14/src/squid-2.0.RELEASE/src'
make: *** [all] Error 1

Any help in getting this to compile would be appreciated.

Thanks,
Jon Bernard
Received on Wed Feb 10 1999 - 15:32:53 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:30 MST