salve sto installando un prog, quando faccio il ./configure sembra tutto ok dà tutti yes....successivamente faccio make e mi genera un'errore....come lo risolvo?Grazie mille!!!
[root@Fed dsniff-2.3]# make
gcc -g -O2 -D_BSD_SOURCE -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -
I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I.
/missing -c ./arpspoof.c
arpspoof.c:25: warning: `struct ether_addr' declared inside parameter
list
arpspoof.c:25: warning: its scope is only this definition or
declaration, which is probably not what you want
arpspoof.c:26: warning: `struct ether_addr' declared inside parameter
list
arpspoof.c: In function `arp_send':
arpspoof.c:49: warning: passing arg 1 of `libnet_get_hwaddr' from
incompatible pointer type
arpspoof.c:49: error: too many arguments to function
`libnet_get_hwaddr'
arpspoof.c:60: warning: passing arg 6 of `libnet_build_ethernet' from
incompatible pointer type
arpspoof.c:60: error: too few arguments to function
`libnet_build_ethernet'
arpspoof.c:64: error: `ETH_H' undeclared (first use in this function)
arpspoof.c:64: error: (Each undeclared identifier is reported only
once
arpspoof.c:64: error: for each function it appears in.)
arpspoof.c:64: error: too few arguments to function `libnet_build_arp'
arpspoof.c:67: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c:71: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c:77: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c:80: warning: passing arg 1 of `ether_ntoa' from
incompatible pointer type
arpspoof.c: In function `arp_find':
arpspoof.c:114: warning: passing arg 2 of `arp_cache_lookup' from
incompatible pointer type
arpspoof.c: In function `main':
arpspoof.c:181: warning: assignment makes pointer from integer without
a cast
arpspoof.c: At top level:
arpspoof.c:29: error: storage size of `spoof_mac' isn't known
arpspoof.c:29: error: storage size of `target_mac' isn't known
make: *** [arpspoof.o] Error 1
[root@Fed dsniff-2.3]#
libnet, libnids e libpcap sono installate.