dsniff compile error on FC2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm having trouble with compiling dsniff on FC2, would someone know about it?
I've changed libnet version, but the error continies.

dsniff-2.3
with libnet-1.1.0, libnet-1.1.1, or libnet-1.1.2

Error result:

make
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_L
IBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -
I/usr/X11R6/include -I./missing -c ./arpspoof.c
arpspoof.c: In function `arp_send':
arpspoof.c:49: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible pointer type
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: In function `main':
arpspoof.c:181: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1

Thanks.

Seung-il Jeon: jeonsi@xxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux