Nmap 3.20 port broken ?

Matt matt at xtaz.co.uk
Fri Apr 11 06:18:47 PDT 2003


When trying to portupgrade the recently commited nmap-3.20 port on FreeBSD 
5.0-CURRENT:

Is this the result of a cvsup halfway through a commit/mirror or is it b0rk3d?

c++ -g -Wall  -O -pipe -mcpu=pentiumpro -I/usr/local/include -Inbase  -
DHAVE_CONFIG_H -DNMAP_VERSION=\"3.20\" -DNMAP_NAME=\"nmap\" -
DNMAP_URL=\"www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i386-portbld-freebsd5.0
\" -DNMAPDATADIR=\"/usr/local/share/nmap\"  -c main.cc
In file included from nbase/nbase.h:197,
                 from nmap.h:65,
                 from main.cc:48:
/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

Stop in /tmp/usr/ports/security/nmap/work/nmap-3.20.
*** Error code 1

---
Matt (matt at xtaz.co.uk)
http://www.xtaz.co.uk/
---


More information about the freebsd-ports mailing list