Nmap Development mailing list archives
Re: First Nmap SOC release! Nmap 4.22SOC1
From: Kris Katterjohn <katterjohn () gmail com>
Date: Sun, 08 Jul 2007 23:29:25 -0500
Joshua D. Abraham wrote:
So trying to compile the new version, resulted in issues with lua. I am running Lua 5, however I was unable to get things to compile properly. gcc -O2 -Wall -DLUA_USE_LINUX -c -o lua.o lua.c In file included from lua.h:16, from lua.c:15: luaconf.h:263:31: error: readline/readline.h: No such file or directory luaconf.h:264:30: error: readline/history.h: No such file or directory lua.c: In function ‘pushline’: lua.c:180: warning: implicit declaration of function ‘readline’ lua.c:180: warning: assignment makes pointer from integer without a cast lua.c: In function ‘loadline’: lua.c:208: warning: implicit declaration of function ‘add_history’
I think installing the readline library will fix that right up.
I decided to pass --with-liblua=included however, things didn't really get much better. Compiling nse-standard-library In file included from bit.c:11: bit.h:6:21: error: lauxlib.h: No such file or directory bit.h:7:17: error: lua.h: No such file or directory In file included from bit.c:11: bit.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' bit.c:45: error: expected ')' before '*' token bit.c:46: error: expected ')' before '*' token bit.c:47: error: expected ')' before '*' token bit.c:48: error: expected ')' before '*' token bit.c:49: error: expected ')' before '*' token bit.c:50: error: expected ')' before '*' token bit.c:51: error: expected ')' before '*' token bit.c:52: error: expected ')' before '*' token bit.c:54: error: array type has incomplete element type bit.c:55: error: 'bit_bnot' undeclared here (not in a function) bit.c:56: error: 'bit_band' undeclared here (not in a function) bit.c:57: error: 'bit_bor' undeclared here (not in a function) bit.c:58: error: 'bit_bxor' undeclared here (not in a function) bit.c:59: error: 'bit_lshift' undeclared here (not in a function) bit.c:60: error: 'bit_rshift' undeclared here (not in a function) bit.c:61: error: 'bit_arshift' undeclared here (not in a function) bit.c:62: error: 'bit_mod' undeclared here (not in a function) bit.c:63: error: 'NULL' undeclared here (not in a function) bit.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' make[1]: *** [bit.so] Error 1
Hmm.. I'm not having that problem. Stoiko can probably fix that right up, though.
I decided to try it without liblua. However, it still wouldn't compile properly. osscan.cc: In function ‘char* mergeFPs(FingerPrint**, int, bool, const in_addr*, int, const u8*, int, int, int, bool)’: osscan.cc:1777: error: ‘list’ is not a member of ‘std’ osscan.cc:1777: error: expected primary-expression before ‘const’ osscan.cc:1777: error: expected `;' before ‘const’ osscan.cc:1778: error: ‘list’ is not a member of ‘std’ osscan.cc:1778: error: expected primary-expression before ‘const’ osscan.cc:1778: error: expected `;' before ‘const’ osscan.cc:1789: error: ‘tests’ was not declared in this scope osscan.cc:1794: error: ‘tests’ was not declared in this scope osscan.cc:1799: error: ‘iter’ was not declared in this scope osscan.cc:1800: error: ‘list’ is not a member of ‘std’ osscan.cc:1800: error: expected primary-expression before ‘const’ osscan.cc:1800: error: expected `;' before ‘const’ osscan.cc:1801: error: ‘tmp_i’ was not declared in this scope osscan.cc:1804: error: ‘next’ was not declared in this scope
Hmm.. I'm getting that as well. I'll look into it.
I then tried this on another *nix machine with the same results. Let me know if you would like any additional information. Regards, Josh
Thanks for the report! Kris Katterjohn _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- First Nmap SOC release! Nmap 4.22SOC1 Fyodor (Jul 08)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Joshua D. Abraham (Jul 08)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Kris Katterjohn (Jul 08)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Kris Katterjohn (Jul 08)
- Re: First Nmap SOC release! Nmap 4.22SOC1 David Fifield (Jul 08)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Stoiko Ivanov (Jul 09)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Kris Katterjohn (Jul 09)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Stoiko Ivanov (Jul 09)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Kris Katterjohn (Jul 08)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Jan Engelhardt (Jul 09)
- Re: First Nmap SOC release! Nmap 4.22SOC1 Joshua D. Abraham (Jul 08)
- Re: First Nmap SOC release! Nmap 4.22SOC1 kunwon1 (Jul 10)