Nmap Development mailing list archives

Re: Nmap 6.25 build fails with --without-liblua


From: David Fifield <david () bamsoftware com>
Date: Mon, 3 Dec 2012 19:07:13 -0800

On Sun, Dec 02, 2012 at 04:14:33PM +0200, Nikos Chantziaras wrote:
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]

Thank you, this is fixed in r30338.

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


Current thread: