Date: Fri, 21 Jan 2005 19:23:37 +0100 From: Oliver Leitner <Shadow333@gmx.at> To: Wesley Shields <wxs@csh.rit.edu>, freebsd-ports@freebsd.org Subject: Re: dsniff port broke? (dsniff-2.3, FreeBSD-5.3 RELEASE) Message-ID: <20050121182845.B31EF43D31@mx1.FreeBSD.org> In-Reply-To: <20050121181137.GA5432@csh.rit.edu> References: <20050121171243.2DF8E43D1F@mx1.FreeBSD.org> <20050121181137.GA5432@csh.rit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for the tip=) after doing a: pkg_delete libnet-devel-1.1.2.1 portinstall net/libnet portinstall -f /net/libnids the compile finally worked... (and i hope i didnt break anything else with that...) for some weird reason, that i dont understand yet, i had the 1.1 installed... Greetings Oliver Leitner Technical Staff http://www.shells.at On Friday 21 January 2005 19:11, Wesley Shields wrote: > 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 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121182845.B31EF43D31>