[CentOS] dsniff Install Errors CentOS4.1

Tue Jan 17 15:42:11 UTC 2006
Mark Sargent <powderkeg at snow.email.ne.jp>

Hi All,

not too up on this stuff,

make
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I.
-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: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: In function `main':
./arpspoof.c:181: warning: assignment makes pointer from integer without
a cast
make: *** [arpspoof.o] Error 1


I installed libnet and libnids via yum

Installed: libnids.i386 0:1.20-1.2.el4.rf

Installed: libnet.i386 0:1.1.2.1-2.2.el4.rf

Anyone know what is going on here? I'm studying CCNP, and wish to
explore this tool, brought to my attention Sat at TLUG tech meet, here
in Tokyo. Cheers.

Mark Sargent.