dsniff port broke? (dsniff-2.3, FreeBSD-5.3 RELEASE)

Wesley Shields wxs at csh.rit.edu
Fri Jan 21 10:12:09 PST 2005


On Fri, Jan 21, 2005 at 06:07:31PM +0100, Oliver Leitner wrote:

<snip>

> cc -O -pipe  -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP 
> -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/include 
> -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

It's been a few years since I've done any libnet stuff but I think this
might be because you have a newer version of libnet installed (higher
than 1.1).  There is no backwards compatability between 1.0 and 1.1.

Can you verify that the correct version is installed?

Of course, I could be entirely wrong.

-- WXS


More information about the freebsd-ports mailing list