Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 14:18:43 +0100
From:      "Matt" <matt@xtaz.co.uk>
To:        ports@freebsd.org
Subject:   Nmap 3.20 port broken ?
Message-ID:  <20030411131646.M83910@xtaz.co.uk>

next in thread | raw e-mail | index | archive | help
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@xtaz.co.uk)
http://www.xtaz.co.uk/
---



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