$ sudo port clean --work nmap ---> Cleaning nmap $ sudo port -dv install nmap DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/nmap DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/nmap DEBUG: Requested variant darwin is not provided by port nmap. DEBUG: Requested variant i386 is not provided by port nmap. DEBUG: Requested variant macosx is not provided by port nmap. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/libpcap DEBUG: Requested variant darwin is not provided by port libpcap. DEBUG: Requested variant i386 is not provided by port libpcap. DEBUG: Requested variant macosx is not provided by port libpcap. DEBUG: Searching for dependency: libpcap DEBUG: Found Dependency: receipt exists for libpcap DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl DEBUG: Requested variant i386 is not provided by port openssl. DEBUG: Requested variant macosx is not provided by port openssl. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: openssl DEBUG: Found Dependency: receipt exists for openssl DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre DEBUG: Requested variant darwin is not provided by port pcre. DEBUG: Requested variant i386 is not provided by port pcre. DEBUG: Requested variant macosx is not provided by port pcre. DEBUG: Searching for dependency: pcre DEBUG: Found Dependency: receipt exists for pcre DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Requested variant darwin is not provided by port zlib. DEBUG: Requested variant i386 is not provided by port zlib. DEBUG: Requested variant macosx is not provided by port zlib. DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Executing org.macports.main (nmap) ---> Fetching nmap DEBUG: Executing org.macports.fetch (nmap) ---> Verifying checksum(s) for nmap DEBUG: Executing org.macports.checksum (nmap) ---> Checksumming nmap-4.60.tar.bz2 DEBUG: Correct (md5) checksum for nmap-4.60.tar.bz2 DEBUG: Correct (sha1) checksum for nmap-4.60.tar.bz2 DEBUG: Correct (rmd160) checksum for nmap-4.60.tar.bz2 DEBUG: setting option extract.cmd to /usr/bin/bzip2 ---> Extracting nmap DEBUG: Executing org.macports.extract (nmap) ---> Extracting nmap-4.60.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/nmap/nmap-4.60.tar.bz2 DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work" && /usr/bin/bzip2 -dc /opt/local/var/macports/distfiles/nmap/nmap-4.60.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (nmap) ---> Configuring nmap DEBUG: Executing org.macports.configure (nmap) DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60" && ./configure --prefix=/opt/local --without-zenmap --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --with-openssl=/opt/local --with-libpcre=/opt/local' checking build system type... i386-apple-darwin9.2.2 checking host system type... i386-apple-darwin9.2.2 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking for inline... inline checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.0 accepts -g... yes checking for /usr/bin/g++-4.0... AVAILABLE checking whether the compiler is gcc 4 or greater... yes checking for __func__... yes checking for strip... /usr/bin/strip checking for main in -lm... yes checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking for library containing setsockopt... none required checking for library containing gethostbyname... none required checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_datalink in -lpcap... no checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking for library containing dlopen... none required checking lua.h usability... no checking lua.h presence... no checking for lua.h... no checking lua/lua.h usability... no checking lua/lua.h presence... no checking for lua/lua.h... no checking for lua version >= 501... no checking if sockaddr{} has sa_len member... yes checking whether byte ordering is bigendian... no checking if struct in_addr is a wacky huge structure (some Sun boxes)... no checking if struct icmp exists... yes checking if struct ip exists... yes checking if struct ip has ip_sum member... yes checking for strerror... yes checking for type of 6th argument to recvfrom()... socklen_t configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating config.h === configuring in libpcap (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60/libpcap) configure: running /bin/sh ./configure '--prefix=/opt/local' '--without-zenmap' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--with-openssl=/opt/local' '--with-libpcre=/opt/local' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CXX=/usr/bin/g++-4.0' 'CXXFLAGS=-O2' 'CPP=/usr/bin/cpp-4.0' --cache-file=/dev/null --srcdir=. checking build system type... i386-apple-darwin9.2.2 checking host system type... i386-apple-darwin9.2.2 checking target system type... i386-apple-darwin9.2.2 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking gcc version... 4 checking for inline... inline checking for __attribute__... yes checking for u_int8_t using /usr/bin/gcc-4.0... yes checking for u_int16_t using /usr/bin/gcc-4.0... yes checking for u_int32_t using /usr/bin/gcc-4.0... yes checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioccom.h usability... yes checking sys/ioccom.h presence... yes checking for sys/ioccom.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for netinet/if_ether.h... yes checking for ANSI ioctl definitions... yes checking for strerror... yes checking for strlcpy... yes checking for vsnprintf... yes checking for snprintf... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing putmsg... no checking for ether_hostton... yes checking whether ether_hostton is declared... yes checking if --disable-protochain option is specified... enabled checking packet capture type... bpf checking for getifaddrs... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking if --enable-ipv6 option is specified... no checking whether to build optimizer debugging code... no checking whether to build parser debugging code... no checking whether we have /proc/net/dev... no checking whether we have DAG API headers... no (/usr/local/include) checking whether we have Septel API... no checking for ranlib... ranlib checking if sockaddr struct has sa_len member... yes checking if sockaddr_storage struct exists... yes checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no checking if unaligned accesses fail... no checking whether the compiler is gcc 4 or greater... yes checking for a BSD-compatible install... /usr/bin/install configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating config.h === configuring in libdnet-stripped (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60/libdnet-stripped) configure: running /bin/sh ./configure '--prefix=/opt/local' '--without-zenmap' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--with-openssl=/opt/local' '--with-libpcre=/opt/local' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CXX=/usr/bin/g++-4.0' 'CXXFLAGS=-O2' 'CPP=/usr/bin/cpp-4.0' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-apple-darwin9.2.2 checking host system type... i386-apple-darwin9.2.2 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /usr/bin/gcc-4.0... gcc3 checking for a BSD-compatible install... /usr/bin/install checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by /usr/bin/gcc-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.0 accepts -g... yes checking dependency style of /usr/bin/g++-4.0... gcc3 checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 65536 checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if /usr/bin/gcc-4.0 static flag works... yes checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.2.2 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes checking if /usr/bin/g++-4.0 supports -c -o file.o... yes checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.2.2 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for Python... checking host system type... (cached) i386-apple-darwin9.2.2 checking for gethostbyname... yes checking for socket... yes checking for putmsg in -lstr... no checking for open_mib in -lnm... no checking for Check... no checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking sys/bufmod.h usability... no checking sys/bufmod.h presence... no checking for sys/bufmod.h... no checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking sys/dlpihdr.h usability... no checking sys/dlpihdr.h presence... no checking for sys/dlpihdr.h... no checking sys/dlpi_ext.h usability... no checking sys/dlpi_ext.h presence... no checking for sys/dlpi_ext.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mib.h usability... no checking sys/mib.h presence... no checking for sys/mib.h... no checking sys/ndd_var.h usability... no checking sys/ndd_var.h presence... no checking for sys/ndd_var.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking net/bpf.h usability... yes checking net/bpf.h presence... yes checking for net/bpf.h... yes checking net/if.h usability... no checking net/if.h presence... yes configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: see the Autoconf documentation configure: WARNING: net/if.h: section "Present But Cannot Be Compiled" configure: WARNING: net/if.h: proceeding with the preprocessor's result configure: WARNING: net/if.h: in the future, the compiler will take precedence checking for net/if.h... yes checking net/if_var.h usability... yes checking net/if_var.h presence... yes checking for net/if_var.h... yes checking net/if_arp.h usability... yes checking net/if_arp.h presence... yes checking for net/if_arp.h... yes checking net/if_dl.h usability... yes checking net/if_dl.h presence... yes checking for net/if_dl.h... yes checking net/pfilt.h usability... no checking net/pfilt.h presence... no checking for net/pfilt.h... no checking net/pfvar.h usability... no checking net/pfvar.h presence... no checking for net/pfvar.h... no checking net/radix.h usability... no checking net/radix.h presence... no checking for net/radix.h... no checking net/raw.h usability... no checking net/raw.h presence... no checking for net/raw.h... no checking net/route.h usability... yes checking net/route.h presence... yes checking for net/route.h... yes checking netinet/in_var.h usability... no checking netinet/in_var.h presence... yes configure: WARNING: netinet/in_var.h: present but cannot be compiled configure: WARNING: netinet/in_var.h: check for missing prerequisite headers? configure: WARNING: netinet/in_var.h: see the Autoconf documentation configure: WARNING: netinet/in_var.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/in_var.h: proceeding with the preprocessor's result configure: WARNING: netinet/in_var.h: in the future, the compiler will take precedence checking for netinet/in_var.h... yes checking net/if_tun.h usability... no checking net/if_tun.h presence... no checking for net/if_tun.h... no checking linux/if_tun.h usability... no checking linux/if_tun.h presence... no checking for linux/if_tun.h... no checking netinet/ip_fw.h usability... no checking netinet/ip_fw.h presence... yes configure: WARNING: netinet/ip_fw.h: present but cannot be compiled configure: WARNING: netinet/ip_fw.h: check for missing prerequisite headers? configure: WARNING: netinet/ip_fw.h: see the Autoconf documentation configure: WARNING: netinet/ip_fw.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/ip_fw.h: proceeding with the preprocessor's result configure: WARNING: netinet/ip_fw.h: in the future, the compiler will take precedence checking for netinet/ip_fw.h... yes checking linux/ip_fw.h usability... no checking linux/ip_fw.h presence... no checking for linux/ip_fw.h... no checking linux/ip_fwchains.h usability... no checking linux/ip_fwchains.h presence... no checking for linux/ip_fwchains.h... no checking linux/netfilter_ipv4/ipchains_core.h usability... no checking linux/netfilter_ipv4/ipchains_core.h presence... no checking for linux/netfilter_ipv4/ipchains_core.h... no checking ip_fil_compat.h usability... no checking ip_fil_compat.h presence... no checking for ip_fil_compat.h... no checking netinet/ip_fil_compat.h usability... no checking netinet/ip_fil_compat.h presence... no checking for netinet/ip_fil_compat.h... no checking ip_compat.h usability... no checking ip_compat.h presence... no checking for ip_compat.h... no checking netinet/ip_compat.h usability... no checking netinet/ip_compat.h presence... no checking for netinet/ip_compat.h... no checking ip_fil.h usability... no checking ip_fil.h presence... no checking for ip_fil.h... no checking netinet/ip_fil.h usability... no checking netinet/ip_fil.h presence... no checking for netinet/ip_fil.h... no checking hpsecurity.h usability... no checking hpsecurity.h presence... no checking for hpsecurity.h... no checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for sockaddr_in6 struct in ... yes checking for sa_len in sockaddr struct... yes checking for arp_dev in arpreq struct... no checking for rt_msghdr struct in ... yes checking whether /usr/bin/gcc-4.0 needs -traditional... no checking for working memcmp... yes checking for err... yes checking for strlcat... yes checking for strlcpy... yes checking for strsep... yes checking for Berkeley Packet Filter... yes checking for Linux proc filesystem... no checking for Linux PF_PACKET sockets... no checking for SNMP MIB2 STREAMS... no checking for route(7) STREAMS... no checking for arp(7) ioctls... no checking for raw IP sockets ip_{len,off} host byte ordering... no checking for cooked raw IP sockets... no configure: creating ./config.status config.status: creating Makefile config.status: creating dnet-config config.status: creating include/Makefile config.status: creating include/dnet/Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing default commands === configuring in nselib-bin (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60/nselib-bin) configure: running /bin/sh ./configure '--prefix=/opt/local' '--without-zenmap' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--with-openssl=/opt/local' '--with-libpcre=/opt/local' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CXX=/usr/bin/g++-4.0' 'CXXFLAGS=-O2' 'CPP=/usr/bin/cpp-4.0' --cache-file=/dev/null --srcdir=. checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking build system type... i386-apple-darwin9.2.2 checking host system type... i386-apple-darwin9.2.2 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by /usr/bin/gcc-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.0 accepts -g... yes checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes checking if /usr/bin/gcc-4.0 static flag -static works... no checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.2.2 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes checking if /usr/bin/g++-4.0 static flag -static works... no checking if /usr/bin/g++-4.0 supports -c -o file.o... yes checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.2.2 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking host system type... (cached) i386-apple-darwin9.2.2 checking lua.h usability... no checking lua.h presence... no checking for lua.h... no configure: using lua-includefiles provided with nmap configure: creating ./config.status config.status: creating Makefile === configuring in nbase (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60/nbase) configure: running /bin/sh ./configure '--prefix=/opt/local' '--without-zenmap' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--with-openssl=/opt/local' '--with-libpcre=/opt/local' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CXX=/usr/bin/g++-4.0' 'CXXFLAGS=-O2' 'CPP=/usr/bin/cpp-4.0' --cache-file=/dev/null --srcdir=. checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking for ranlib... ranlib checking build system type... i386-apple-darwin9.2.2 checking host system type... i386-apple-darwin9.2.2 checking for inline... inline checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/stat.h... (cached) yes checking net/if.h usability... no checking net/if.h presence... yes configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: see the Autoconf documentation configure: WARNING: net/if.h: section "Present But Cannot Be Compiled" configure: WARNING: net/if.h: proceeding with the preprocessor's result configure: WARNING: net/if.h: in the future, the compiler will take precedence checking for net/if.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking whether time.h and sys/time.h may both be included... yes checking for __attribute__... yes checking whether byte ordering is bigendian... no checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for snprintf... yes checking for vsnprintf... yes checking for nanosleep... yes checking for strerror... yes checking for strcasestr... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for vsnprintf... (cached) yes checking for snprintf... (cached) yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking for getopt... yes checking for getopt_long_only... yes checking for usleep... yes checking for gettimeofday... yes checking for sleep... yes checking for getopt_long_only... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for library containing getaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing getnameinfo... none required checking for gai_strerror... yes checking for inet_ntop... yes checking for inet_pton... yes checking for working getaddrinfo... yes checking for working getnameinfo... yes checking for sockaddr_in6... yes checking for sockaddr_storage... yes checking for AF_INET6 definition... yes checking for IPv6 support... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating nbase_config.h === configuring in nsock/src (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60/nsock/src) configure: running /bin/sh ./configure '--prefix=/opt/local' '--without-zenmap' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--with-openssl=/opt/local' '--with-libpcre=/opt/local' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CXX=/usr/bin/g++-4.0' 'CXXFLAGS=-O2' 'CPP=/usr/bin/cpp-4.0' --cache-file=/dev/null --srcdir=. checking build system type... i386-apple-darwin9.2.2 checking host system type... i386-apple-darwin9.2.2 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking for ranlib... ranlib checking for gethostent... yes checking for setsockopt... yes checking for nanosleep... yes checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking struct ip... yes checking ip_v in struct ip... yes checking if sockaddr{} has sa_len member... yes checking if struct icmp exists... yes checking if struct ip exists... yes checking if struct ip has ip_sum member... yes configure: creating ./config.status config.status: creating Makefile config.status: creating nsock_config.h ( ) /\ _ ( \ | ( \ ( \.( ) _____ \ \ \ ` ` ) \ ( ___ / _ \ (_` \+ . x ( .\ \/ \____-----------/ (o) \_ - .- \+ ; ( O \____ ) \_____________ ` \ / (__ +- .( -'.- <. - _ VVVVVVV VV V\ \/ (_____ ._._: <_ - <- _ (-- _AAAAAAA__A_/ | . /./.+- . .- / +-- - . \______________//_ \_______ (__ ' /x / x _/ ( \___' \ / , x / ( ' . / . / | \ / / / _/ / + / \/ ' (__/ / \ NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY Configuration complete. Type make (or gmake on some *BSD machines) to compile. ---> Building nmap with target all DEBUG: Executing org.macports.build (nmap) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60" && make all' Makefile:264: makefile.dep: No such file or directory /usr/bin/g++-4.0 -MM -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" -I/opt/local/include main.cc nmap.cc targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc scan_engine.cc timing.cc charpool.cc services.cc protocols.cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResults.cc service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc traceroute.cc portreasons.cc nse_main.cc nse_auxiliar.cc nse_nsock.cc nse_init.cc nse_nmaplib.cc nse_debug.cc nse_pcrelib.cc nse_string.cc > makefile.dep Compiling liblua gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lapi.o lapi.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lcode.o lcode.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o ldebug.o ldebug.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o ldo.o ldo.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o ldump.o ldump.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lfunc.o lfunc.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lgc.o lgc.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o llex.o llex.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lmem.o lmem.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lobject.o lobject.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lopcodes.o lopcodes.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lparser.o lparser.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lstate.o lstate.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lstring.o lstring.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o ltable.o ltable.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o ltm.o ltm.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lundump.o lundump.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lvm.o lvm.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lzio.o lzio.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lauxlib.o lauxlib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lbaselib.o lbaselib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o ldblib.o ldblib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o liolib.o liolib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lmathlib.o lmathlib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o loslib.o loslib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o ltablib.o ltablib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o lstrlib.o lstrlib.c gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o loadlib.o loadlib.c loadlib.c: In function 'pusherror': loadlib.c:168: warning: 'NSLinkEditError' is deprecated (declared at /usr/include/mach-o/dyld.h:217) loadlib.c: In function 'll_unloadlib': loadlib.c:191: warning: 'NSUnLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:169) loadlib.c: In function 'll_load': loadlib.c:199: warning: '_dyld_present' is deprecated (declared at /usr/include/mach-o/dyld.h:237) loadlib.c:203: warning: 'NSCreateObjectFileImageFromFile' is deprecated (declared at /usr/include/mach-o/dyld.h:145) loadlib.c:205: warning: 'NSLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:161) loadlib.c:207: warning: 'NSDestroyObjectFileImage' is deprecated (declared at /usr/include/mach-o/dyld.h:147) loadlib.c: In function 'll_sym': loadlib.c:217: warning: 'NSLookupSymbolInModule' is deprecated (declared at /usr/include/mach-o/dyld.h:181) loadlib.c:222: warning: 'NSAddressOfSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:188) gcc -O2 -Wall -DLUA_USE_MACOSX -I/opt/local/include -c -o linit.o linit.c ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o ranlib liblua.a Compiling libpcap /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-bpf.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-getad.c sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' ./VERSION > version.h /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./inet.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./gencode.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./optimize.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./nametoaddr.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./etherent.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./savefile.c rm -f bpf_filter.c ln -s ./bpf/net/bpf_filter.c bpf_filter.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c bpf_filter.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_image.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_dump.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c /usr/bin/gcc-4.0 -g -O2 -fno-common -O2 -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o ranlib libpcap.a Compiling libdnet Making all in include make all-recursive Making all in dnet make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. Making all in src /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o addr-util.lo addr-util.c mkdir .libs /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c addr-util.c -fno-common -DPIC -o .libs/addr-util.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c addr-util.c -o addr-util.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o addr.lo addr.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c addr.c -fno-common -DPIC -o .libs/addr.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c addr.c -o addr.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o blob.lo blob.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c blob.c -fno-common -DPIC -o .libs/blob.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c blob.c -o blob.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o ip-util.lo ip-util.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c ip-util.c -fno-common -DPIC -o .libs/ip-util.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c ip-util.c -o ip-util.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o ip6.lo ip6.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c ip6.c -fno-common -DPIC -o .libs/ip6.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c ip6.c -o ip6.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o rand.lo rand.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c rand.c -fno-common -DPIC -o .libs/rand.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c rand.c -o rand.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o arp-bsd.lo arp-bsd.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c arp-bsd.c -fno-common -DPIC -o .libs/arp-bsd.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c arp-bsd.c -o arp-bsd.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o eth-bsd.lo eth-bsd.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c eth-bsd.c -fno-common -DPIC -o .libs/eth-bsd.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c eth-bsd.c -o eth-bsd.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o fw-none.lo fw-none.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c fw-none.c -fno-common -DPIC -o .libs/fw-none.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c fw-none.c -o fw-none.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o intf.lo intf.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c intf.c -fno-common -DPIC -o .libs/intf.o intf.c: In function 'intf_get_dst': intf.c:626: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c intf.c -o intf.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o ip.lo ip.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c ip.c -fno-common -DPIC -o .libs/ip.o ip.c: In function 'ip_open': ip.c:43: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c ip.c -o ip.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o route-bsd.lo route-bsd.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c route-bsd.c -fno-common -DPIC -o .libs/route-bsd.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c route-bsd.c -o route-bsd.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c -o tun-none.lo tun-none.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c tun-none.c -fno-common -DPIC -o .libs/tun-none.o /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/opt/local/include -O2 -Wall -c tun-none.c -o tun-none.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link --tag=CC /usr/bin/gcc-4.0 -O2 -Wall -L/opt/local/lib -o libdnet.la -rpath /opt/local/lib -version-info 1:0:0 addr-util.lo addr.lo blob.lo ip-util.lo ip6.lo rand.lo arp-bsd.lo eth-bsd.lo fw-none.lo intf.lo ip.lo route-bsd.lo tun-none.lo /usr/bin/gcc-4.0 -dynamiclib -flat_namespace -undefined suppress -o .libs/libdnet.1.0.0.dylib .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-bsd.o .libs/eth-bsd.o .libs/fw-none.o .libs/intf.o .libs/ip.o .libs/route-bsd.o .libs/tun-none.o -L/opt/local/lib -install_name /opt/local/lib/libdnet.1.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0 (cd .libs && rm -f libdnet.1.dylib && ln -s libdnet.1.0.0.dylib libdnet.1.dylib) (cd .libs && rm -f libdnet.dylib && ln -s libdnet.1.0.0.dylib libdnet.dylib) ar cru .libs/libdnet.a addr-util.o addr.o blob.o ip-util.o ip6.o rand.o arp-bsd.o eth-bsd.o fw-none.o intf.o ip.o route-bsd.o tun-none.o ranlib .libs/libdnet.a creating libdnet.la (cd .libs && rm -f libdnet.la && ln -s ../libdnet.la libdnet.la) make[2]: Nothing to be done for `all-am'. Compiling libnbase cd nbase && make /usr/bin/gcc-4.0 -O2 -Wall -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -I/opt/local/include -c -o snprintf.o snprintf.c /usr/bin/gcc-4.0 -O2 -Wall -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -I/opt/local/include -c -o nbase_str.o nbase_str.c /usr/bin/gcc-4.0 -O2 -Wall -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -I/opt/local/include -c -o nbase_misc.o nbase_misc.c /usr/bin/gcc-4.0 -O2 -Wall -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -I/opt/local/include -c -o nbase_memalloc.o nbase_memalloc.c /usr/bin/gcc-4.0 -O2 -Wall -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -I/opt/local/include -c -o nbase_rnd.o nbase_rnd.c rm -f libnbase.a ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o ranlib libnbase.a Compiling libnsock cd nsock/src && make /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap error.c -o error.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap filespace.c -o filespace.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap gh_list.c -o gh_list.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_connect.c -o nsock_connect.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_core.c -o nsock_core.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_iod.c -o nsock_iod.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_read.c -o nsock_read.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_timers.c -o nsock_timers.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_write.c -o nsock_write.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_ssl.c -o nsock_ssl.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_utils.c -o nsock_utils.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_event.c -o nsock_event.o nsock_event.c: In function 'msevent_cancel': nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'struct gh_list *' nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'struct gh_list *' nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'struct gh_list *' /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_pool.c -o nsock_pool.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap netutils.c -o netutils.o /usr/bin/gcc-4.0 -c -I/opt/local/include -I/opt/local/include -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -I../include -I../../libpcap nsock_pcap.c -o nsock_pcap.o rm -f libnsock.a ar cr libnsock.a error.o filespace.o gh_list.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o nsock_write.o nsock_ssl.o nsock_utils.o nsock_event.o nsock_pool.o netutils.o nsock_pcap.o ranlib: file: libnsock.a(nsock_utils.o) has no symbols ranlib libnsock.a ranlib: file: libnsock.a(nsock_utils.o) has no symbols make nmap nsestdlib /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" main.cc -o main.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nmap.cc -o nmap.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" targets.cc -o targets.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" tcpip.cc -o tcpip.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nmap_error.cc -o nmap_error.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" utils.cc -o utils.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" idle_scan.cc -o idle_scan.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" osscan.cc -o osscan.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" osscan2.cc -o osscan2.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" output.cc -o output.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" scan_engine.cc -o scan_engine.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" timing.cc -o timing.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" charpool.cc -o charpool.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" services.cc -o services.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" protocols.cc -o protocols.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nmap_rpc.cc -o nmap_rpc.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" portlist.cc -o portlist.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" NmapOps.cc -o NmapOps.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" TargetGroup.cc -o TargetGroup.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" Target.cc -o Target.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" FingerPrintResults.cc -o FingerPrintResults.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" service_scan.cc -o service_scan.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" NmapOutputTable.cc -o NmapOutputTable.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" MACLookup.cc -o MACLookup.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nmap_tty.cc -o nmap_tty.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nmap_dns.cc -o nmap_dns.o nmap_dns.cc: In function 'void parse_etchosts(char*)': nmap_dns.cc:971: warning: unused variable 'he' /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" traceroute.cc -o traceroute.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" portreasons.cc -o portreasons.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_main.cc -o nse_main.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_auxiliar.cc -o nse_auxiliar.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_nsock.cc -o nse_nsock.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_init.cc -o nse_init.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_nmaplib.cc -o nse_nmaplib.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_debug.cc -o nse_debug.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_pcrelib.cc -o nse_pcrelib.o /usr/bin/g++-4.0 -c -I/opt/local/include -Iliblua -Ilibdnet-stripped/include -I/opt/local/include -no-cpp-precomp -O2 -Wall -fno-strict-aliasing -I/opt/local/include -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin9.2.2\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" nse_string.cc -o nse_string.o echo Compiling nmap Compiling nmap rm -f nmap /usr/bin/g++-4.0 -L/opt/local/lib -Llibpcap -L/opt/local/lib -L/opt/local/lib -Lnbase -Lnsock/src/ -o nmap main.o nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o osscan2.o output.o scan_engine.o timing.o charpool.o services.o protocols.o nmap_rpc.o portlist.o NmapOps.o TargetGroup.o Target.o FingerPrintResults.o service_scan.o NmapOutputTable.o MACLookup.o nmap_tty.o nmap_dns.o traceroute.o portreasons.o nse_main.o nse_auxiliar.o nse_nsock.o nse_init.o nse_nmaplib.o nse_debug.o nse_pcrelib.o nse_string.o -lnbase -lnsock -lpcre -lpcap -lssl -lcrypto libdnet-stripped/src/.libs/libdnet.a liblua/liblua.a -lm ld: warning in /opt/local/lib/libpcap.dylib, file is not of required architecture ld: warning in /opt/local/lib/libssl.dylib, file is not of required architecture ld: warning in /opt/local/lib/libcrypto.dylib, file is not of required architecture Undefined symbols: "_pcap_open_live", referenced from: my_pcap_open_live(char const*, int, int, int)in tcpip.o _nsock_pcap_open in libnsock.a(nsock_pcap.o) "_SSL_free", referenced from: _nsi_delete in libnsock.a(nsock_iod.o) "_SSL_get_error", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) _handle_write_result in libnsock.a(nsock_core.o) _handle_read_result in libnsock.a(nsock_core.o) _nsi_delete in libnsock.a(nsock_iod.o) "_SSL_CTX_set_cipher_list", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_pcap_next", referenced from: read_arp_reply_pcap(pcap*, unsigned char*, in_addr*, long, timeval*)in tcpip.o readip_pcap(pcap*, unsigned int*, long, timeval*, link_header*)in tcpip.o readip_pcap(pcap*, unsigned int*, long, timeval*, link_header*)in tcpip.o readip_pcap(pcap*, unsigned int*, long, timeval*, link_header*)in tcpip.o "_SSL_set_session", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) "_SSL_read", referenced from: _handle_read_result in libnsock.a(nsock_core.o) "_SSLv23_client_method", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_pcap_get_selectable_fd", referenced from: _nsock_pcap_open in libnsock.a(nsock_pcap.o) "_pcap_geterr", referenced from: pcap_print_stats(int, pcap*) in tcpip.o set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o read_arp_reply_pcap(pcap*, unsigned char*, in_addr*, long, timeval*)in tcpip.o readip_pcap(pcap*, unsigned int*, long, timeval*, link_header*)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) _nsock_pcap_open in libnsock.a(nsock_pcap.o) _do_actual_pcap_read in libnsock.a(nsock_pcap.o) "_pcap_stats", referenced from: pcap_print_stats(int, pcap*) in tcpip.o "_SSL_get_session", referenced from: _nsi_get0_ssl_session in libnsock.a(nsock_iod.o) "_pcap_freealldevs", referenced from: print_iflist() in output.o "_ERR_error_string", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) _handle_connect_result in libnsock.a(nsock_core.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_SESSION_free", referenced from: ServiceNFO::~ServiceNFO()in service_scan.o servicescan_connect_handler(void*, void*, void*)in service_scan.o l_nsock_close(lua_State*) in nse_nsock.o "_pcap_setfilter", referenced from: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) "_pcap_datalink", referenced from: read_arp_reply_pcap(pcap*, unsigned char*, in_addr*, long, timeval*)in tcpip.o read_arp_reply_pcap(pcap*, unsigned char*, in_addr*, long, timeval*)in tcpip.o readip_pcap(pcap*, unsigned int*, long, timeval*, link_header*)in tcpip.o readip_pcap(pcap*, unsigned int*, long, timeval*, link_header*)in tcpip.o _nsock_pcap_open in libnsock.a(nsock_pcap.o) "_SSL_CTX_set_timeout", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_ERR_reason_error_string", referenced from: _handle_read_result in libnsock.a(nsock_core.o) _nsi_delete in libnsock.a(nsock_iod.o) "_SSL_connect", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) "_pcap_setnonblock", referenced from: _nsock_pcap_open in libnsock.a(nsock_pcap.o) "_RAND_seed", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_CTX_ctrl", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_pcap_close", referenced from: doArp(char const*, unsigned char const*, sockaddr_storage const*, sockaddr_storage const*, unsigned char*)in tcpip.o HostOsScan::~HostOsScan()in osscan2.o UltraScanInfo::~UltraScanInfo()in scan_engine.o Traceroute::~Traceroute()in traceroute.o _nsi_delete in libnsock.a(nsock_iod.o) "_pcap_freecode", referenced from: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) "_SSL_CTX_set_verify", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_set_fd", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) "_pcap_compile", referenced from: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) "_pcap_next_ex", referenced from: _do_actual_pcap_read in libnsock.a(nsock_pcap.o) "_ERR_get_error", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) _handle_connect_result in libnsock.a(nsock_core.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_write", referenced from: _handle_write_result in libnsock.a(nsock_core.o) "_SSL_new", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) "_SSL_load_error_strings", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_library_init", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_shutdown", referenced from: _nsi_delete in libnsock.a(nsock_iod.o) "_SSL_get1_session", referenced from: _nsi_get1_ssl_session in libnsock.a(nsock_iod.o) "_SSL_CTX_new", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_pcap_lookupnet", referenced from: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [nmap] Error 1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60" && make all " returned error 2 Command output: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) "_pcap_next_ex", referenced from: _do_actual_pcap_read in libnsock.a(nsock_pcap.o) "_ERR_get_error", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) _handle_connect_result in libnsock.a(nsock_core.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_write", referenced from: _handle_write_result in libnsock.a(nsock_core.o) "_SSL_new", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) "_SSL_load_error_strings", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_library_init", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_shutdown", referenced from: _nsi_delete in libnsock.a(nsock_iod.o) "_SSL_get1_session", referenced from: _nsi_get1_ssl_session in libnsock.a(nsock_iod.o) "_SSL_CTX_new", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_pcap_lookupnet", referenced from: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [nmap] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for nmap): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.