undefined reference to 'dn_expand'

Wojciech Gawlik Wojciech.Gawlik@idi.ntnu.no
Tue, 29 Sep 1998 11:31:54 +0200


I installed kernel for IPv6 version 2.1.112, and then inet6-apps-0.34.
But I can't install net-tools-1.45. Do I need different headers? I got
this message when compiling net-tools

/usr/inet6/lib/libinet6.a(getaddrinfo.o): In function
`resolver_lookup_addr':
/usr/src/inet6-apps-0.34/lib/getaddrinfo.c:365: undefined reference to
`res_search'
/usr/src/inet6-apps-0.34/lib/getaddrinfo.c:399: undefined reference to
`dn_expand'
/usr/src/inet6-apps-0.34/lib/getaddrinfo.c:413: undefined reference to
`dn_expand'
/usr/inet6/lib/libinet6.a(getnameinfo.o): In function
`resolver_lookup_name':
/usr/src/inet6-apps-0.34/lib/getnameinfo.c:125: undefined reference to
`res_search'
/usr/src/inet6-apps-0.34/lib/getnameinfo.c:155: undefined reference to
`dn_expand'
/usr/src/inet6-apps-0.34/lib/getnameinfo.c:169: undefined reference to
`dn_expand'
/usr/src/inet6-apps-0.34/lib/getnameinfo.c:188: undefined reference to
`dn_expand'
make: *** [ifconfig] Error 1