Hi guys,
I have precise puppy 5.6.1, and also have the dev extension.
Could I request a pet for nmap 6 and or zenmap.
http://nmap.org/download.html
There is a 5.21 version available but I would like the up t odate one.
If its not easily available could I ask how I can compile this myself from the source? is there a step by step guide?
nmap / zenmap pets
Wibble- sans su root, try it just the way you read it on the dwnld page.
Clk to extract, nav with ROX, rt-clk >> window >> term here and begin.
Pay attention to errors, not warnings. If zenmap fires, you're in.
If not, see here >> http://nmap.org/book/inst-source.html
Clk to extract, nav with ROX, rt-clk >> window >> term here and begin.
Code: Select all
./configure
make
make install
If not, see here >> http://nmap.org/book/inst-source.html
I went to install 6.40 today and there is an error when i run make
Code: Select all
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
. .
\`-"'"-'/
} 6 6 {
==. Y ,==
/^^^\ .
/ \ ) Ncat: A modern interpretation of classic Netcat
( )-( )/
-""---""--- /
/ Ncat \_/
( ____
\_.=|____E
Configuration complete.
( ) /\ _ (
\ | ( \ ( \.( ) _____
\ \ \ ` ` ) \ ( ___ / _ \
(_` \+ . 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.
sh-3.00# make
Makefile:418: makefile.dep: No such file or directory
g++ -MM -I./liblinear -I./liblua -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 charpool.cc FingerPrintResults.cc FPEngine.cc FPModel.cc idle_scan.cc MACLookup.cc main.cc nmap.cc nmap_dns.cc nmap_error.cc NmapOps.cc NmapOutputTable.cc nmap_tty.cc osscan2.cc osscan.cc output.cc payload.cc portlist.cc portreasons.cc protocols.cc scan_engine.cc service_scan.cc services.cc Target.cc TargetGroup.cc targets.cc tcpip.cc timing.cc traceroute.cc utils.cc xml.cc nse_main.cc nse_utility.cc nse_nsock.cc nse_dnet.cc nse_fs.cc nse_nmaplib.cc nse_debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc nse_ssl_cert.cc > makefile.dep
Compiling liblua
make[1]: Entering directory `/opt/nmap-6.40/liblua'
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lapi.o lapi.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lcode.o lcode.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lctype.o lctype.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldebug.o ldebug.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldo.o ldo.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldump.o ldump.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lfunc.o lfunc.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lgc.o lgc.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o llex.o llex.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lmem.o lmem.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lobject.o lobject.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lopcodes.o lopcodes.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lparser.o lparser.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstate.o lstate.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstring.o lstring.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltable.o ltable.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltm.o ltm.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lundump.o lundump.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lvm.o lvm.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lzio.o lzio.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lauxlib.o lauxlib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lbaselib.o lbaselib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lbitlib.o lbitlib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lcorolib.o lcorolib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldblib.o ldblib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o liolib.o liolib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lmathlib.o lmathlib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o loslib.o loslib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstrlib.o lstrlib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltablib.o ltablib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o loadlib.o loadlib.c
gcc -O2 -Wall -g -O2 -Wall -fno-strict-aliasing -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o linit.o linit.c
ar rcu liblua.a lapi.o lcode.o lctype.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 lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o loadlib.o linit.o
ranlib liblua.a
make[1]: Leaving directory `/opt/nmap-6.40/liblua'
Compiling liblinear
make[1]: Entering directory `/opt/nmap-6.40/liblinear'
g++ -g -O2 -Wall -fno-strict-aliasing -Wno-uninitialized -c -o linear.o linear.cpp
linear.cpp: In function ‘model* load_model(const char*)’:
linear.cpp:2224:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
linear.cpp:2227:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
linear.cpp:2247:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
linear.cpp:2252:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
linear.cpp:2257:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
linear.cpp:2269:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
linear.cpp:2296:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
linear.cpp:2297:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
g++ -g -O2 -Wall -fno-strict-aliasing -Wno-uninitialized -c -o tron.o tron.cpp
cd blas; make OPTFLAGS='-g -O2 -Wall -fno-strict-aliasing -Wno-uninitialized' CC='gcc';
make[2]: Entering directory `/opt/nmap-6.40/liblinear/blas'
gcc -g -O2 -Wall -fno-strict-aliasing -Wno-uninitialized -c dnrm2.c
gcc -g -O2 -Wall -fno-strict-aliasing -Wno-uninitialized -c daxpy.c
gcc -g -O2 -Wall -fno-strict-aliasing -Wno-uninitialized -c ddot.c
gcc -g -O2 -Wall -fno-strict-aliasing -Wno-uninitialized -c dscal.c
ar rcv blas.a dnrm2.o daxpy.o ddot.o dscal.o
a - dnrm2.o
a - daxpy.o
a - ddot.o
a - dscal.o
ranlib blas.a
make[2]: Leaving directory `/opt/nmap-6.40/liblinear/blas'
ar rcv liblinear.a linear.o tron.o blas/*.o
a - linear.o
a - tron.o
a - blas/daxpy.o
a - blas/ddot.o
a - blas/dnrm2.o
a - blas/dscal.o
ranlib liblinear.a
make[1]: Leaving directory `/opt/nmap-6.40/liblinear'
Compiling libdnet
make[1]: Entering directory `/opt/nmap-6.40/libdnet-stripped'
Making all in include
make[2]: Entering directory `/opt/nmap-6.40/libdnet-stripped/include'
make all-recursive
make[3]: Entering directory `/opt/nmap-6.40/libdnet-stripped/include'
Making all in dnet
make[4]: Entering directory `/opt/nmap-6.40/libdnet-stripped/include/dnet'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/nmap-6.40/libdnet-stripped/include/dnet'
make[4]: Entering directory `/opt/nmap-6.40/libdnet-stripped/include'
make[4]: Leaving directory `/opt/nmap-6.40/libdnet-stripped/include'
make[3]: Leaving directory `/opt/nmap-6.40/libdnet-stripped/include'
make[2]: Leaving directory `/opt/nmap-6.40/libdnet-stripped/include'
Making all in src
make[2]: Entering directory `/opt/nmap-6.40/libdnet-stripped/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o addr-util.lo addr-util.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c addr-util.c -o addr-util.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o addr.lo addr.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c addr.c -o addr.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o blob.lo blob.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c blob.c -o blob.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o ip-util.lo ip-util.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c ip-util.c -o ip-util.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o ip6.lo ip6.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c ip6.c -o ip6.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o rand.lo rand.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c rand.c -o rand.o
rand.c: In function ‘rand_open’:
rand.c:84:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o strlcat.lo strlcat.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c strlcat.c -o strlcat.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o strlcpy.lo strlcpy.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c strlcpy.c -o strlcpy.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o arp-ioctl.lo arp-ioctl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c arp-ioctl.c -o arp-ioctl.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o eth-linux.lo eth-linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c eth-linux.c -o eth-linux.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o fw-none.lo fw-none.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c fw-none.c -o fw-none.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o intf.lo intf.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c intf.c -o intf.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o ip.lo ip.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c ip.c -o ip.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o route-linux.lo route-linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c route-linux.c -o route-linux.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c -o tun-linux.lo tun-linux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -Wall -c tun-linux.c -o tun-linux.o
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -version-info 1:1:0 -o libdnet.la -rpath /usr/local/lib addr-util.lo addr.lo blob.lo ip-util.lo ip6.lo rand.lo strlcat.lo strlcpy.lo arp-ioctl.lo eth-linux.lo fw-none.lo intf.lo ip.lo route-linux.lo tun-linux.lo
libtool: link: ar cru .libs/libdnet.a addr-util.o addr.o blob.o ip-util.o ip6.o rand.o strlcat.o strlcpy.o arp-ioctl.o eth-linux.o fw-none.o intf.o ip.o route-linux.o tun-linux.o
libtool: link: ranlib .libs/libdnet.a
libtool: link: ( cd ".libs" && rm -f "libdnet.la" && ln -s "../libdnet.la" "libdnet.la" )
make[2]: Leaving directory `/opt/nmap-6.40/libdnet-stripped/src'
make[2]: Entering directory `/opt/nmap-6.40/libdnet-stripped'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/opt/nmap-6.40/libdnet-stripped'
make[1]: Leaving directory `/opt/nmap-6.40/libdnet-stripped'
Compiling libnbase
cd nbase && make
make[1]: Entering directory `/opt/nmap-6.40/nbase'
gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c
gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_str.o nbase_str.c
gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_misc.o nbase_misc.c
gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_memalloc.o nbase_memalloc.c
gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_rnd.o nbase_rnd.c
gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o nbase_addrset.o nbase_addrset.c
rm -f libnbase.a
ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o
ranlib libnbase.a
make[1]: Leaving directory `/opt/nmap-6.40/nbase'
Compiling libnsock
cd nsock/src && make
make[1]: Entering directory `/opt/nmap-6.40/nsock/src'
Makefile:93: makefile.dep: No such file or directory
gcc -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 nsock_engines.c engine_select.c engine_epoll.c engine_kqueue.c engine_poll.c nsock_proxy.c nsock_log.c proxy_http.c proxy_socks4.c > makefile.dep
make[1]: Leaving directory `/opt/nmap-6.40/nsock/src'
make[1]: Entering directory `/opt/nmap-6.40/nsock/src'
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall error.c -o error.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall filespace.c -o filespace.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall gh_list.c -o gh_list.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_connect.c -o nsock_connect.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_core.c -o nsock_core.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_iod.c -o nsock_iod.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_read.c -o nsock_read.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_timers.c -o nsock_timers.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_write.c -o nsock_write.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_ssl.c -o nsock_ssl.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_event.c -o nsock_event.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_pool.c -o nsock_pool.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall netutils.c -o netutils.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_pcap.c -o nsock_pcap.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_engines.c -o nsock_engines.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall engine_select.c -o engine_select.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall engine_epoll.c -o engine_epoll.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall engine_kqueue.c -o engine_kqueue.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall engine_poll.c -o engine_poll.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_proxy.c -o nsock_proxy.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall nsock_log.c -o nsock_log.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall proxy_http.c -o proxy_http.o
gcc -c -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall proxy_socks4.c -o proxy_socks4.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 nsock_engines.o engine_select.o engine_epoll.o engine_kqueue.o engine_poll.o nsock_proxy.o nsock_log.o proxy_http.o proxy_socks4.o
ranlib libnsock.a
make[1]: Leaving directory `/opt/nmap-6.40/nsock/src'
cd ncat && make
make[1]: Entering directory `/opt/nmap-6.40/ncat'
Makefile:209: makefile.dep: No such file or directory
gcc -MM -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/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_ssl.c base64.c http.c util.c sys_wrap.c http_digest.c ncat_lua.c > makefile.dep
make[1]: Leaving directory `/opt/nmap-6.40/ncat'
make[1]: Entering directory `/opt/nmap-6.40/ncat'
Compiling liblua
make[2]: Entering directory `/opt/nmap-6.40/liblua'
make[2]: `liblua.a' is up to date.
make[2]: Leaving directory `/opt/nmap-6.40/liblua'
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_main.c -o ncat_main.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_connect.c -o ncat_connect.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_core.c -o ncat_core.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_posix.c -o ncat_posix.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_listen.c -o ncat_listen.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_proxy.c -o ncat_proxy.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_ssl.c -o ncat_ssl.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c base64.c -o base64.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c http.c -o http.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c util.c -o util.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c sys_wrap.c -o sys_wrap.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c http_digest.c -o http_digest.o
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c ncat_lua.c -o ncat_lua.o
gcc -o ncat -g -O2 -Wall ncat_main.o ncat_connect.o ncat_core.o ncat_posix.o ncat_listen.o ncat_proxy.o ncat_ssl.o base64.o http.o util.o sys_wrap.o http_digest.o ncat_lua.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap ./../liblua/liblua.a -lm -ldl -lssl -lcrypto -ldl
gcc -I./../liblua -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I.. -I../nsock/include/ -I../nbase -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DHAVE_LUA=1 -I../liblua -g -O2 -Wall -c test/addrset.c -o test/addrset.o
gcc -o test/addrset -g -O2 -Wall test/addrset.o ncat_core.o sys_wrap.o util.o ncat_lua.o -ldl -lssl -lcrypto -ldl ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap ./../liblua/liblua.a -lm
/usr/bin/ld: ./../liblua/liblua.a(loadlib.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libdl.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libdl.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [test/addrset] Error 1
make[1]: Leaving directory `/opt/nmap-6.40/ncat'
make: *** [ncat_build] Error 2