net-tools-1.60 error (hostname?)

Jim Gifford lfs at jg555.com
Tue Jul 27 10:41:07 PDT 2004


antonio b. wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi to all,
>
>LFS 5.1
>host Slackware 9.1
>
>This is my second LFS, i've a strange error during net-tools "make 
>update"; I send my log and any clue is welcome, thanks in advance:
>
># make update
>[cut]
>make[1]: Leaving directory `/sources/net-tools-1.60/lib'
>cc -D_GNU_SOURCE -O2 -Wall -g  -I. -idirafter ./include/ -Ilib   -c -o
>hostname.o hostname.c
>hostname.c:47:24: netdnet/dn.h: No such file or directory
>hostname.c: In function `setnname':
>hostname.c:72: warning: implicit declaration of function `setnodename'
>hostname.c:81: warning: deprecated use of label at end of compound
>statement
>hostname.c:82: warning: implicit declaration of function `exit'
>hostname.c: In function `sethname':
>hostname.c:101: warning: deprecated use of label at end of compound
>statement
>hostname.c: In function `setdname':
>hostname.c:120: warning: deprecated use of label at end of compound
>statement
>hostname.c: In function `showhname':
>hostname.c:177: warning: deprecated use of label at end of compound
>statement
>hostname.c: In function `main':
>hostname.c:389: warning: implicit declaration of function `getnodename'
>make: *** [hostname.o] Error 1
>
>  
>
Try using the following patch, it should correct the issue
http://www.linuxfromscratch.org/patches/downloads/net-tools/net-tools-1.60-kernel_headers-2.patch

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986

FWD: 275410
IPKall: 360-968-1517




More information about the lfs-support mailing list