Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 10:39:26 -0400
From:      Adam McLaurin <blueeskimo@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: nmap build failure
Message-ID:  <1064587166.21310.56.camel@jake>
In-Reply-To: <3F73E0BF.6050504@alumni.rice.edu>
References:  <3F73E0BF.6050504@alumni.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <blueeskimo@gmx.net>

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1064587166.21310.56.camel>