Date: Fri, 21 Jan 2005 18:07:31 +0100 From: Oliver Leitner <Shadow333@gmx.at> To: freebsd-ports@freebsd.org Subject: dsniff port broke? (dsniff-2.3, FreeBSD-5.3 RELEASE) Message-ID: <20050121171243.2DF8E43D1F@mx1.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Dear Ladies and Gentleman... Ive been trying to install dsniff from ports on this FreeBSD 5.3 (RELEASE) with cvsup latest ports... while trying to do the portinstall security/dsniff, ive got these lines of output: bash-2.05b# portinstall security/dsniff ---> Installing 'dsniff-2.3' from a port (security/dsniff) ---> Building '/usr/ports/security/dsniff' ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for autoconf-2.13.000227_5 ===> Cleaning for gettext-0.14.1 ===> Cleaning for gmake-3.80_2 ===> Cleaning for imake-6.8.1 ===> Cleaning for libtool-1.3.5_2 ===> Cleaning for libtool-1.5.10 ===> Cleaning for m4-1.4.1 ===> Cleaning for pkgconfig-0.15.0_1 ===> Cleaning for perl-5.8.5 ===> Cleaning for libnet-1.0.2a,1 ===> Cleaning for libnids-1.19 ===> Cleaning for freetype2-2.1.7_4 ===> Cleaning for expat-1.95.8 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for xorg-libraries-6.8.1_1 ===> Cleaning for dsniff-2.3 ===> Vulnerability check disabled, database not found ===> Extracting for dsniff-2.3 => Checksum OK for dsniff-2.3.tar.gz. ===> Patching for dsniff-2.3 ===> Applying FreeBSD patches for dsniff-2.3 ===> dsniff-2.3 depends on file: /usr/local/lib/libnet.a - found ===> dsniff-2.3 depends on file: /usr/local/lib/libnids.a - found ===> dsniff-2.3 depends on shared library: X11.6 - found ===> Configuring for dsniff-2.3 creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O -pipe ) works... yes checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for ranlib... ranlib checking how to run the C preprocessor... cc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for ANSI C header files... yes checking for err.h... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/queue.h... yes checking for unistd.h... yes checking for libgen.h... yes checking for net/if_tun.h... yes checking for MIN and MAX in sys/param.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... yes checking whether cc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for dn_expand in -lresolv... no checking for dirname... yes checking for strlcpy... yes checking for strlcat... yes checking for strsep... yes checking for MD5Update... no checking for warnx... yes checking for ether_ntoa... yes checking for Berkeley DB with 1.85 compatibility... yes checking for libpcap... yes checking for libnet... yes checking for libnids... yes checking whether libnids version is good... yes checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ===> Building for dsniff-2.3 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 ./missing/dummy.c 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 ./missing/md5.c ar -cr libmissing.a dummy.o md5.o ranlib libmissing.a 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 ./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 ./arpspoof.c: At top level: ./arpspoof.c:29: error: storage size of `spoof_mac' isn't known ./arpspoof.c:29: error: storage size of `target_mac' isn't known *** Error code 1 Stop in /usr/ports/security/dsniff/work/dsniff-2.3. *** Error code 1 Stop in /usr/ports/security/dsniff. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall16109.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! security/dsniff (compiler error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed For me it looks like the dsniff version in the current ports collection is broke, or one of the libs associated with it. Im just a user, and not a developer, so i hope this output helps the maintainers of the port further.... Greetings Oliver Leitner Technical Staff http://www.shells.at 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?20050121171243.2DF8E43D1F>