Error in inn-BETA-2000705 which was NOT seen in inn-BETA-20000703

Russ Allbery rra at stanford.edu
Wed Jul 12 04:51:40 UTC 2000


The Doctor <doctor at doctor.nl2k.ab.ca> writes:

> gcc   -o innfeed article.o buffer.o config_l.o config_y.o connection.o endpoint.
> o host.o innlistener.o main.o misc.o tape.o version.o ../storage/libstorage.a ..
> /lib/libinn.a  -lresolv -lutil
> /usr/lib/libresolv.a(res_send.o)(.text+0x33): undefined reference to `inet_ntoa'
> /usr/lib/libresolv.a(res_send.o): In function `res_send':
> res_send.o(.text+0x446): undefined reference to `inet_ntoa'
> /usr/lib/libresolv.a(res_debug.o): In function `__p_rr':
> res_debug.o(.text+0xea0): undefined reference to `inet_ntoa'
> res_debug.o(.text+0xec4): undefined reference to `inet_ntoa'
> res_debug.o(.text+0x12c6): undefined reference to `inet_nsap_ntoa'
> res_debug.o(.text+0x12f5): undefined reference to `inet_ntop'
> res_debug.o(.text+0x14e0): undefined reference to `inet_ntoa'
> /usr/lib/libresolv.a(res_init.o): In function `res_init':
> res_init.o(.text+0x3b2): undefined reference to `inet_aton'
> collect2: ld returned 1 exit status

What platform is this on?  If I had to hazard a wild guess, I'd say that
you need -lnsl and you don't have it.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list