Nmap Development mailing list archives

Nmap 6.25 build fails with --without-liblua


From: Nikos Chantziaras <realnc () gmail com>
Date: Sun, 02 Dec 2012 16:14:33 +0200

Trying to build Nmap 6.25 on Gentoo Linux with GCC 4.7.2 fails:

$ ./configure --without-liblua
...

$ make
...
g++ -c -I./liblinear -DNOLUA -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\"; -DNMAP_PLATFORM=\"x86_64-unknown-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -g -O2 -Wall -fno-strict-aliasing main.cc -o main.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
main.cc:1:0: note: this is the location of the previous definition
In file included from NmapOps.h:98:0,
                 from main.cc:99:
output.h:258:23: error: 'ScriptResult' was not declared in this scope
output.h:258:43: error: 'ScriptResult' was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: