[TriLUG] help linking netcat

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Thu Mar 27 13:03:48 EST 2003


On Thu, Mar 27, 2003 at 12:56:06PM -0500, Daniel Monjar wrote:
> I'm trying to make netcat on my RH Linux 8 system... the link fails with
> 
> tmp/ccloQmA4.o(.text+0x14fd): undefined reference to `res_init'

Is there a -lresolv, and do you have the glibc headers installed? (see
res_init(3) if your system has it)

-Dan

-- 
Dan Chen                crimsun at fungus.sh.nu
GPG key: www.unc.edu/~crimsun/pubkey.gpg.asc



More information about the TriLUG mailing list