Darren Tucker on 16 Oct 2003 05:18:02 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [tcptra-dev] make errors on Solaris 8 box


Gregory Hicks wrote:
> gcc  -g -O2 -Wall  -o arp  arp.o ../src/libnet.a -lnsl -lsocket
> Undefined                       first referenced
>  symbol                             in file
> gethostbyname2                      ../src/libnet.a(libnet_resolve.o)
> ld: fatal: Symbol referencing errors. No output written to arp

Try adding -lresolv to CFLAGS.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
tcptraceroute-dev mailing list
tcptraceroute-dev@netisland.net
http://lists.netisland.net/mailman/listinfo/tcptraceroute-dev