Nmap Development mailing list archives

Fwd: nmap compiler error


From: Ron <ron () skullsecurity net>
Date: Wed, 19 Aug 2009 10:39:10 -0500

Sometime since yesterday morning, the Nmap SVN started failing to compile on one of our systems. It looks like a 'const' is being misused. We are going to fix it locally, for now, but it'll be a hackjob.

-------- Original Message --------
Subject:        nmap compiler error
Date:   Wed, 19 Aug 2009 10:17:36 -0500
From:   <Andrew>
To:     <ron () skullsecurity net>



 From r15104 checked out just now,

…

g++ -c -Iliblua -Ilibdnet-stripped/include -Ilibpcre -Ilibpcap -Inbase
-Insock/ include -g -O2 -Wall -fno-strict-aliasing -DHAVE_CONFIG_H
-DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\";
-DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATA
DIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 nse_ssl_cert.cc -o
nse_ssl_cer t.o

nse_ssl_cert.cc: In function `int l_get_ssl_certificate(lua_State*)':

nse_ssl_cert.cc:376: error: invalid conversion from `const SSL*' to `SSL*'

nse_ssl_cert.cc:376: error: initializing argument 1 of `X509*
SSL_get_peer_cer tificate(SSL*)'

make[1]: *** [nse_ssl_cert.o] Error 1

make[1]: Leaving directory `/home/aorr/nmap'

make: *** [all] Error 2

sad panda,
-Andrew


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


Current thread: