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

[-- Attachment #1 --]
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 
> the following error (full build log attached):
> 
> *************************** error ***************************
> c++ -c  -I/usr/local/include -O -pipe -march=pentium3 -fmemoize-lookups 
> -fsave-memoized -Wall  -I/usr/local/include -Ilibpcap-possiblymodified 
> -Inbase -Insock/include  -DHAVE_CONFIG_H -DNMAP_VERSION=\"3.46\" 
> -DNMAP_NAME=\"nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\"
> -DNMAP_PLATFORM=\"i386-portbld-freebsd5.1\" 
> -DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified 
> 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* 
> 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.

-- 
Adam McLaurin <blueeskimo@gmx.net>

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/dE+et+DSc2Q4lGYRAiNFAJ42EoySHJM4vJNmDbYmhPgLEoF2ogCfQgw0
B5PDxHoBP5w7hWiw99zfitc=
=Fedk
-----END PGP SIGNATURE-----

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