Net-tools 1.60: cannot find -ldnet

Erika Pacholleck pchllck at
Wed Nov 13 06:38:38 PST 2002

[13.11.2002] Jasper Stein <-- :
> I'm trying to build the Net-tools package, but it fails building 
> properly. hostname.c isn't properly handled, it fails with the error 
> "/usr/bin/ld: cannot find -ldnet".
> So my questions: do any of you know of this problem? Is it some 
> miscompilation that I didn't notice? Which package should provide this 
> library? Or could it be some other problem?
> hostname.c: In function `main':
> hostname.c:390: warning: implicit declaration of function `getnodename'
> cc  -Llib -o hostname hostname.o -ldnet
> /usr/bin/ld: cannot find -ldnet
> collect2: ld returned 1 exit status
> make: *** [hostname] Error 1

As far as I see in hostname.c this "getnodename" belongs to DECnet.
Could it be that you don't have DEC net, did not enable it in your
kernel, but said yes to it in the configure part of net-tools?
Just an idea.
Erika ...---...: pacholleck at nexgo dot de
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list