|
在安装Dsniff之前已经将其所依赖的各种软件:Berkeley DB openssl libpcap libnet libnids安装好了,./configure通过,但是在make的时候出现如下错误提示:
arpspoof.c: In function `arp_send':
arpspoof.c:49: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible pointer type
arpspoof.c:49: 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: too few arguments to function `libnet_build_ethernet'
arpspoof.c:64: `ETH_H' undeclared (first use in this function)
arpspoof.c:64: (Each undeclared identifier is reported only once
arpspoof.c:64: for each function it appears in.)
arpspoof.c:64: too few arguments to function `libnet_build_arp'
arpspoof.c: In function `main':
arpspoof.c:181: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1
不知道问题出在哪里,请高手指点一下,或者推荐些相关文章看看,谢谢。 |
|