Home page logo

nmap-dev logo Nmap Development mailing list archives

Error openssl nse_nsock_get_ssl
From: Flyers <flyers () caramail com>
Date: Wed, 04 Apr 2012 11:13:17 +0200


I was trying to compile nmap with ssl support.
After installing libssl using : apt-get install libssl-dev

I got this error while compiling nmap 5.61TEST5 :

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 FPEngine.o
FPModel.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 libpcre/libpcre.a libpcap/libpcap.a
-lssl -lcrypto libnetutil/libnetutil.a
./libdnet-stripped/src/.libs/libdnet.a ./liblua/liblua.a
./liblinear/liblinear.a -ldl
nse_ssl_cert.o: In function `l_get_ssl_certificate(lua_State*)':
/home/user/nmap-5.61TEST5/nse_ssl_cert.cc:400: multiple definition of
nse_nsock.o:nse_nsock.cc:(.text+0x2029): first defined here
nse_ssl_cert.o: In function `l_get_ssl_certificate(lua_State*)':
nse_ssl_cert.cc:(.text+0x71f): undefined reference to
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [nmap] Erreur 1
make[1]: quittant le répertoire « /home/user/nmap-5.61TEST5 »
make: *** [all] Erreur 2

Seems like i'm the only one who got this error ...
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]