Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Created October 25, 2010 17:30
Show Gist options
  • Save ivanoats/645355 to your computer and use it in GitHub Desktop.
Save ivanoats/645355 to your computer and use it in GitHub Desktop.
brew install nmap
ivan@tremuloides:10:00:32:~> brew install nmap
==> Downloading http://nmap.org/dist/nmap-5.35DC1.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/nmap/5.35DC1 --without-zenmap
==> make
Makefile:374: makefile.dep: No such file or directory
/usr/bin/c++ -MM -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 main.cc nmap.cc targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc payload.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 xml.cc > makefile.dep
Compiling libpcap
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-bpf.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-getad.c
if grep GIT ./VERSION >/dev/null; then \
read ver <./VERSION; \
echo $ver | tr -d '\012'; \
date +_%Y_%m_%d; \
else \
cat ./VERSION; \
fi | sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' > version.h
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./inet.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./gencode.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./optimize.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./nametoaddr.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./etherent.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./savefile.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./sf-pcap.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./sf-pcap-ng.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-common.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_image.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_dump.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c
rm -f bpf_filter.c
ln -s ./bpf/net/bpf_filter.c bpf_filter.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c bpf_filter.c
if grep GIT ./VERSION >/dev/null; then \
read ver <./VERSION; \
echo $ver | tr -d '\012'; \
date +_%Y_%m_%d; \
else \
cat ./VERSION; \
fi | sed -e 's/.*/char pcap_version[] = "&";/' > version.c
/usr/bin/cc -O3 -march=core2 -w -pipe -O2 -fno-common -O3 -march=core2 -w -pipe -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 sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o
ranlib libpcap.a
rm -f libpcap*.dylib
VER=`cat ./VERSION`; \
MAJOR_VER=A; \
COMPAT_VER=1; \
CURRENT_VER=`sed 's/[^0-9.].*$//' ./VERSION`; \
/usr/bin/cc -dynamiclib -undefined error \
-o libpcap.$VER.dylib pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o scanner.o grammar.o bpf_filter.o version.o \
-install_name /usr/local/Cellar/nmap/5.35DC1/lib/libpcap.$MAJOR_VER.dylib \
-compatibility_version $COMPAT_VER \
-current_version $CURRENT_VER
sed -e 's|@includedir[@]|/usr/local/Cellar/nmap/5.35DC1/include|g' \
-e 's|@libdir[@]|/usr/local/Cellar/nmap/5.35DC1/lib|g' \
-e 's|@LIBS[@]||g' \
-e 's|@V_RPATH_OPT[@]||g' \
./pcap-config.in >pcap-config.tmp
mv pcap-config.tmp pcap-config
chmod a+x pcap-config
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 --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o addr-util.lo addr-util.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c addr-util.c -o addr-util.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o addr.lo addr.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c addr.c -o addr.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o blob.lo blob.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c blob.c -o blob.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o ip-util.lo ip-util.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c ip-util.c -o ip-util.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o ip6.lo ip6.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c ip6.c -o ip6.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o rand.lo rand.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c rand.c -o rand.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o arp-bsd.lo arp-bsd.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c arp-bsd.c -o arp-bsd.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o eth-bsd.lo eth-bsd.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c eth-bsd.c -o eth-bsd.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o fw-none.lo fw-none.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c fw-none.c -o fw-none.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o intf.lo intf.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c intf.c -o intf.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o ip.lo ip.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c ip.c -o ip.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o route-bsd.lo route-bsd.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c route-bsd.c -o route-bsd.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c -o tun-none.lo tun-none.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -I../include -O3 -march=core2 -w -pipe -Wall -c tun-none.c -o tun-none.o
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/cc -O3 -march=core2 -w -pipe -Wall -version-info 1:1:0 -o libdnet.la -rpath /usr/local/Cellar/nmap/5.35DC1/lib 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
libtool: link: 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
libtool: link: ranlib .libs/libdnet.a
libtool: link: ( 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/cc -O3 -march=core2 -w -pipe -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c
/usr/bin/cc -O3 -march=core2 -w -pipe -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_str.o nbase_str.c
/usr/bin/cc -O3 -march=core2 -w -pipe -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_misc.o nbase_misc.c
/usr/bin/cc -O3 -march=core2 -w -pipe -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_memalloc.o nbase_memalloc.c
/usr/bin/cc -O3 -march=core2 -w -pipe -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -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
Makefile:80: makefile.dep: No such file or directory
/usr/bin/cc -MM -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap error.c filespace.c gh_list.c nsock_connect.c nsock_core.c nsock_iod.c nsock_read.c nsock_timers.c nsock_write.c nsock_ssl.c nsock_event.c nsock_pool.c netutils.c nsock_pcap.c > makefile.dep
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall error.c -o error.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall filespace.c -o filespace.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall gh_list.c -o gh_list.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_connect.c -o nsock_connect.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_core.c -o nsock_core.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_iod.c -o nsock_iod.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_read.c -o nsock_read.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_timers.c -o nsock_timers.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_write.c -o nsock_write.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_ssl.c -o nsock_ssl.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_event.c -o nsock_event.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall nsock_pool.c -o nsock_pool.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall netutils.c -o netutils.o
/usr/bin/cc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -O3 -march=core2 -w -pipe -Wall 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_event.o nsock_pool.o netutils.o nsock_pcap.o
ranlib libnsock.a
cd ncat && make
Makefile:173: makefile.dep: No such file or directory
/usr/bin/cc -MM -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase ncat_main.c ncat_connect.c ncat_core.c ncat_posix.c ncat_listen.c ncat_proxy.c ncat_broker.c ncat_hostmatch.c ncat_ssl.c base64.c http.c util.c sys_wrap.c http_digest.c > makefile.dep
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_main.c -o ncat_main.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_connect.c -o ncat_connect.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_core.c -o ncat_core.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_posix.c -o ncat_posix.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_listen.c -o ncat_listen.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_proxy.c -o ncat_proxy.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_broker.c -o ncat_broker.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_hostmatch.c -o ncat_hostmatch.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c ncat_ssl.c -o ncat_ssl.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c base64.c -o base64.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c http.c -o http.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c util.c -o util.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c sys_wrap.c -o sys_wrap.o
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c http_digest.c -o http_digest.o
/usr/bin/cc -o ncat -O3 -march=core2 -w -pipe -Wall ncat_main.o ncat_connect.o ncat_core.o ncat_posix.o ncat_listen.o ncat_proxy.o ncat_broker.o ncat_hostmatch.o ncat_ssl.o base64.o http.o util.o sys_wrap.o http_digest.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap -lssl -lcrypto
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c test/addrset.c -o test/addrset.o
/usr/bin/cc -o test/addrset -O3 -march=core2 -w -pipe -Wall test/addrset.o ncat_core.o ncat_hostmatch.o sys_wrap.o util.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap -lssl -lcrypto
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c test/test-uri.c -o test/test-uri.o
/usr/bin/cc -o test/test-uri -O3 -march=core2 -w -pipe -Wall test/test-uri.o base64.o http.o ncat_core.o ncat_hostmatch.o sys_wrap.o util.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap -lssl -lcrypto
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c test/test-cmdline-split.c -o test/test-cmdline-split.o
/usr/bin/cc -o test/test-cmdline-split -O3 -march=core2 -w -pipe -Wall test/test-cmdline-split.o ncat_posix.o ncat_core.o ncat_hostmatch.o sys_wrap.o util.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap -lssl -lcrypto
/usr/bin/cc -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/Cellar/nmap/5.35DC1/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -O3 -march=core2 -w -pipe -Wall -c test/test-wildcard.c -o test/test-wildcard.o
/usr/bin/cc -o test/test-wildcard -O3 -march=core2 -w -pipe -Wall test/test-wildcard.o ncat_core.o ncat_hostmatch.o ncat_ssl.o sys_wrap.o util.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap -lssl -lcrypto
Compiling libnetutil
cd libnetutil && make
Makefile:41: makefile.dep: No such file or directory
/usr/bin/c++ -MM -I../libdnet-stripped/include -I../libpcap -I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 ./netutil.cc > makefile.dep
/usr/bin/c++ -c -I../libdnet-stripped/include -I../libpcap -I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing netutil.cc -o netutil.o
rm -f libnetutil.a
ar cr libnetutil.a netutil.o
ranlib libnetutil.a
make nmap build-ndiff build-nping
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing main.cc -o main.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing nmap.cc -o nmap.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing targets.cc -o targets.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing tcpip.cc -o tcpip.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing nmap_error.cc -o nmap_error.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing utils.cc -o utils.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing idle_scan.cc -o idle_scan.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing osscan.cc -o osscan.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing osscan2.cc -o osscan2.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing output.cc -o output.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing payload.cc -o payload.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing scan_engine.cc -o scan_engine.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing timing.cc -o timing.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing charpool.cc -o charpool.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing services.cc -o services.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing protocols.cc -o protocols.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing nmap_rpc.cc -o nmap_rpc.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing portlist.cc -o portlist.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing NmapOps.cc -o NmapOps.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing TargetGroup.cc -o TargetGroup.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing Target.cc -o Target.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing FingerPrintResults.cc -o FingerPrintResults.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing service_scan.cc -o service_scan.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing NmapOutputTable.cc -o NmapOutputTable.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing MACLookup.cc -o MACLookup.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing nmap_tty.cc -o nmap_tty.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing nmap_dns.cc -o nmap_dns.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing traceroute.cc -o traceroute.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing portreasons.cc -o portreasons.o
/usr/bin/c++ -c -I./libdnet-stripped/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i386-apple-darwin10.4.0\" -DNMAPDATADIR=\"/usr/local/Cellar/nmap/5.35DC1/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -O3 -march=core2 -w -pipe -Wall -fno-strict-aliasing xml.cc -o xml.o
Compiling nmap
rm -f nmap
/usr/bin/c++ -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 payload.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 xml.o -lnbase -lnsock -lpcre libpcap/libpcap.a -lssl -lcrypto libnetutil/libnetutil.a ./libdnet-stripped/src/.libs/libdnet.a -lm
Undefined symbols:
"ScriptResult::get_id() const", referenced from:
formatScriptOutput(ScriptResult) in output.o
printhostscriptresults(Target*) in output.o
printportoutput(Target*, PortList*) in output.o
"ScriptResult::get_output() const", referenced from:
formatScriptOutput(ScriptResult) in output.o
printhostscriptresults(Target*) in output.o
printportoutput(Target*, PortList*) in output.o
"open_nse()", referenced from:
nmap_main(int, char**)in nmap.o
"close_nse()", referenced from:
nmap_free_mem() in nmap.o
"script_scan(std::vector<Target*, std::allocator<Target*> >&)", referenced from:
nmap_main(int, char**)in nmap.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [nmap] Error 1
make: *** [all] Error 2
Exit status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/nmap.rb#L14
==> Environment
HOMEBREW_VERSION: 0.7
HEAD: c3034a226e40412a6bb3e7108044f5ab7415fd73
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit core2
OS X: 10.6.4
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /usr/local/bin/ruby
Xcode: 3.2.4
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2326
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
Error: Failure while executing: make
Please report this bug at http://github.com/mxcl/homebrew/issues
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
ivan@tremuloides:10:04:35:~>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment