From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 07:39:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D191F16A4BF for ; Fri, 26 Sep 2003 07:39:36 -0700 (PDT) Received: from titanic.serversetup.com (titanic.serversetup.com [216.94.125.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0003444047 for ; Fri, 26 Sep 2003 07:39:33 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: from [64.39.186.145] (dsl-cust-145.openweb.ca [64.39.186.145]) h8QEaQGx022142 for ; Fri, 26 Sep 2003 10:36:26 -0400 From: Adam McLaurin To: freebsd-questions@freebsd.org In-Reply-To: <3F73E0BF.6050504@alumni.rice.edu> References: <3F73E0BF.6050504@alumni.rice.edu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-IcA7OP2f/bJ02MF+tbc5" Message-Id: <1064587166.21310.56.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 26 Sep 2003 10:39:26 -0400 Subject: Re: nmap build failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 14:39:37 -0000 --=-IcA7OP2f/bJ02MF+tbc5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-09-26 at 02:46, Jon Noack wrote: > nmap 3.46 from ports fails to build on my 5.1-RELEASE-p8 machine with=20 > the following error (full build log attached): >=20 > *************************** error *************************** > c++ -c -I/usr/local/include -O -pipe -march=3Dpentium3 -fmemoize-lookups= =20 > -fsave-memoized -Wall -I/usr/local/include -Ilibpcap-possiblymodified=20 > -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_VERSION=3D\"3.46\"=20 > -DNMAP_NAME=3D\"nmap\" -DNMAP_URL=3D\"http://www.insecure.org/nmap/\" > -DNMAP_PLATFORM=3D\"i386-portbld-freebsd5.1\"=20 > -DNMAPDATADIR=3D\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified=20 > main.cc -o main.o > In file included from nbase/nbase.h:256, > from nmap.h:109, > from main.cc:87: > /usr/local/include/getopt.h:115: declaration of C function `int getopt()' > conflicts with > /usr/include/unistd.h:377: previous declaration `int getopt(int, char*=20 > const*, > const char*)' here > *** Error code 1 > ************************************************************* I'm having the same problem. I think it has something to do with pcre, but I'm not sure yet. I'll report back if I find something more. --=20 Adam McLaurin --=-IcA7OP2f/bJ02MF+tbc5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/dE+et+DSc2Q4lGYRAiNFAJ42EoySHJM4vJNmDbYmhPgLEoF2ogCfQgw0 B5PDxHoBP5w7hWiw99zfitc= =Fedk -----END PGP SIGNATURE----- --=-IcA7OP2f/bJ02MF+tbc5--