From owner-freebsd-ports@FreeBSD.ORG Thu Aug 24 15:14:54 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17A4F16A4DA for ; Thu, 24 Aug 2006 15:14:54 +0000 (UTC) (envelope-from michael.moon@bedfordshire.pnn.police.uk) Received: from cjx1d.pnn.police.uk (pnnb4.psops.net [194.6.79.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5959843D6E for ; Thu, 24 Aug 2006 15:14:43 +0000 (GMT) (envelope-from michael.moon@bedfordshire.pnn.police.uk) Received: from maila.bedfordshire.pnn.police.uk ([51.65.231.131] helo=mailsweeper.bedfordshire.pnn.police.uk) by cjx1d.pnn.police.uk with esmtp id 1GGGun-0005Uo-B6 for freebsd-ports@freebsd.org; Thu, 24 Aug 2006 16:14:41 +0100 Received: from HQVMAIL.internal.beds.police.cjx.gov.uk (unverified) by mailsweeper.bedfordshire.pnn.police.uk (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Thu, 24 Aug 2006 16:22:33 +0100 x-fsavag4mse-ts: c395fdf4feef469e Content-Class: urn:content-classes:message Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/related; boundary="----_=_NextPart_001_01C6C790.06AAA886"; type="multipart/alternative" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Date: Thu, 24 Aug 2006 16:14:48 +0100 Message-ID: <7C81E4BCC774124F99EB4965B495F324019297D5@HQVMAIL.internal.beds.police.cjx.gov.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: error compiling dsniff on FreeBSD, with the correct version of netlib thread-index: AcbHkAn8HvYAjj3gQ86wCN9mvdvkWQ== From: "Moon Michael" To: X-ACL-Warn: Message virus-scanned by F-Secure: CLEAN X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: error compiling dsniff on FreeBSD, with the correct version of netlib X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 15:14:54 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C6C790.06AAA886 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Any ideas what I am doing wrong ? I even had a look in the libnet functions and they are defined so I don't understand what's happening, anyone else who has come across this and found a solution please let me know make =3D=3D=3D> WARNING: Vulnerability database out of date, checking anyway =3D=3D=3D> Extracting for dsniff-2.3_1 =3D> MD5 Checksum OK for dsniff-2.3.tar.gz. =3D> SHA256 Checksum OK for dsniff-2.3.tar.gz. =3D=3D=3D> Patching for dsniff-2.3_1 =3D=3D=3D> Applying FreeBSD patches for dsniff-2.3_1 =3D=3D=3D> dsniff-2.3_1 depends on package: libnet*<=3D1.1.0,1 - found =3D=3D=3D> dsniff-2.3_1 depends on file: /usr/local/lib/libnids.a - found =3D=3D=3D> dsniff-2.3_1 depends on shared library: X11.6 - found =3D=3D=3D> Configuring for dsniff-2.3_1 creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe ) works... y es checking whether the C compiler (cc -O2 -fno-strict-aliasing -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 =3D=3D=3D> Building for dsniff-2.3_1 cc -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD _BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=3D\"/usr/loc al/lib/\" -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr /X11R6/include -I./missing -c ./missing/dummy.c cc -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD _BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=3D\"/usr/loc al/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 -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD _BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=3D\"/usr/loc al/lib/\" -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr /X11R6/include -I./missing -c ./arpspoof.c cc -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD _BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=3D\"/usr/loc al/lib/\" -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr /X11R6/include -I./missing -c ./arp.c cc -o arpspoof arpspoof.o arp.o -lrpcsvc -L. -lmissing -lpcap -L/usr/local/lib -lnet arpspoof.o(.text+0xce): In function `arp_send': : undefined reference to `libnet_host_lookup' arpspoof.o(.text+0x122): In function `arp_send': : undefined reference to `libnet_write_link_layer' arpspoof.o(.text+0x14b): In function `arp_send': : undefined reference to `libnet_get_ipaddr' arpspoof.o(.text+0x181): In function `arp_send': : undefined reference to `libnet_host_lookup' arpspoof.o(.text+0x192): In function `arp_send': : undefined reference to `libnet_host_lookup' arpspoof.o(.text+0x360): In function `main': : undefined reference to `libnet_name_resolve' arpspoof.o(.text+0x391): In function `main': : undefined reference to `libnet_open_link_interface' arpspoof.o(.text+0x42e): In function `main': : undefined reference to `libnet_name_resolve' arpspoof.o(.text+0x480): In function `main': : undefined reference to `libnet_host_lookup' *** Error code 1 =20 Stop in /usr/ports/security/dsniff/work/dsniff-2.3. *** Error code 1 =20 Stop in /usr/ports/security/dsniff. =20 =20 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ***************************************************************************= ***** Internet email is not to be treated as a secure means of communication. Bedfordshire Police monitors all Internet email activity and content. For the latest news on local police and criminal activity, visit Bedfordshi= re's Prime Crime Website: www.operationscorpion.org.uk ***************************************************************************= ***** ------_=_NextPart_001_01C6C790.06AAA886--