Nmap Development mailing list archives
Re: First Nmap SOC release! Nmap 4.22SOC1
From: "Joshua D. Abraham" <jabra () ccs neu edu>
Date: Sun, 8 Jul 2007 23:10:11 -0400
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 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 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 I then tried this on another *nix machine with the same results. Let me know if you would like any additional information. Regards, Josh -- Joshua D. Abraham Northeastern University College of Computer and Information Science www.ccs.neu.edu/home/jabra _______________________________________________ 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)