Nmap Development mailing list archives

Re: Nmap fails to make


From: Shinnok <admin () shinnok com>
Date: Mon, 11 Jul 2011 18:48:39 +0300

On 07/10/2011 12:41 PM, eliyahu cohen wrote:
I tried to install nmap-5.59BETA1 on my Linux box but it fails make. I then tried grabbing the latest version via svn 
and get the same error (shown below). How can I fix this?

Compiling nmap
rm -f nmap
g++ -Wl,-E  -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 nse_main.o nse_utility.o nse_nsock.o nse_dnet.o nse_fs.o nse_nmaplib.o nse_debug.o 
nse_pcrelib.o nse_binlib.o nse_bit.o nse_openssl.o nse_ssl_cert.o  -lnbase -lnsock -lpcre -lpcap -lssl -lcrypto 
libnetutil/libnetutil.a ./libdnet-stripped/src/.libs/libdnet.a ./liblua/liblua.a -ldl 
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[1]: *** [nmap] Error 1
make[1]: Leaving directory `/opt/nmap'
make: *** [all] Error 2

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Hey Eliyahu,

It seems you need to install the C library development package.

You can do so like this on Debian:
aptitude show libc-dev

Ubuntu:
apt-get install libc-dev

On Ubuntu, if you don't have libc-dev, since I cannot find it on
packages.ubuntu.com, you can try installing libc6-dev directly.

Or on Redhat like systems:
yum install glibc-devel

Shinnok
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: