Autor: brunets Datum: To: guilde Betreff: Net-tools 1.51
Bonjour,
je voudrais savoir si beaucoup d'entre-vous ont eu la même erreur de
compilation en tentant de mettre à jour le package Net-tools vers la
version 1.51. J'obtiens les erreurs suivantes et je n'arrive pas à en
trouver la cause :
make[1]: Entering directory `/usr/src/net-tools-1.51/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/net-tools-1.51/man'
make[1]: Entering directory `/usr/src/net-tools-1.51/lib'
gcc -D_GNU_SOURCE -O2 -Wall -g -I. -idirafter ./include/ -Ilib
-I/usr/src/net-tools-1.51 -idirafter /usr/src/net-tools-1.51/include
-c util-ank.c -o util-ank.o
util-ank.c: In function `get_addr_1':
util-ank.c:155: `AF_INET6' undeclared (first use in this function)
util-ank.c:155: (Each undeclared identifier is reported only once
util-ank.c:155: for each function it appears in.)
util-ank.c:164: warning: implicit declaration of function `inet_pton'
util-ank.c: In function `get_prefix_1':
util-ank.c:208: `AF_INET6' undeclared (first use in this function)
util-ank.c: In function `format_host':
util-ank.c:314: warning: implicit declaration of function `inet_ntop'
util-ank.c:314: warning: return makes pointer from integer without a
cast
make[1]: *** [util-ank.o] Error 1
make[1]: Leaving directory `/usr/src/net-tools-1.51/lib'
make: *** [subdirs] Error 2