找回密码
 注册
查看: 829|回复: 1

我在编译dsniff程序的时候出错了

[复制链接]
发表于 2003-5-12 11:06:53 | 显示全部楼层 |阅读模式
THERNET_H -DDSNIFF_LIBDIR=\"/usr/local/dsniff//lib/\" -I.      -I/usr/X11R6/include -I./missing -c ./arpspoof.c
arpspoof.c: In function `arp_send':
arpspoof.c:51: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible pointer type
arpspoof.c:51: too many arguments to function `libnet_get_hwaddr'
arpspoof.c:62: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type
arpspoof.c:62: too few arguments to function `libnet_build_ethernet'
arpspoof.c:66: `ETH_H' undeclared (first use in this function)
arpspoof.c:66: (Each undeclared identifier is reported only once
arpspoof.c:66: for each function it appears in.)
arpspoof.c:66: too few arguments to function `libnet_build_arp'
arpspoof.c: In function `main':
arpspoof.c:185: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1
怎么办呢?
:-(  :-(  :-(  :-(
发表于 2005-7-11 21:42:05 | 显示全部楼层
是不是缺少这几个软件
1、安装libnet-1.0.2a.tar.gz;
2、安装libnids-1.1.8.tar.gz;
3、安装libpcap-0.7.1.tar.gz;
目录必须一致
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-7-24 00:00 , Processed in 0.040917 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表