Nmap Development mailing list archives
Re: error compiling 5.21
From: David Fifield <david () bamsoftware com>
Date: Mon, 22 Feb 2010 15:05:17 -0700
On Sat, Feb 20, 2010 at 07:14:29PM -0500, Mike Calmus wrote:
Hello all. I finally got around to getting all my dependencies in order and trying to compile Nmap 5.21. This is on MacOS X 10.6 Snow Leopard. Compiling nmap rm -f nmap g++ -Lnbase -Lnsock/src/ -o nmap main.o nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o osscan2.o output.o payload.o scan_engine.o timing.o charpool.o services.o protocols.o nmap_rpc.o portlist.o NmapOps.o TargetGroup.o Target.o FingerPrintResults.o service_scan.o NmapOutputTable.o MACLookup.o nmap_tty.o nmap_dns.o traceroute.o portreasons.o -lnbase -lnsock -lpcre -lpcap -lssl -lcrypto libdnet-stripped/src/.libs/libdnet.a -lm Undefined symbols: "ScriptResult::get_id() const", referenced from: formatScriptOutput(ScriptResult) in output.o printportoutput(Target*, PortList*) in output.o printhostscriptresults(Target*) in output.o "ScriptResult::get_output() const", referenced from: formatScriptOutput(ScriptResult) in output.o printportoutput(Target*, PortList*) in output.o printhostscriptresults(Target*) in output.o "open_nse()", referenced from: nmap_main(int, char**)in nmap.o "close_nse()", referenced from: nmap_free_mem() in nmap.o "script_updatedb()", referenced from: nmap_main(int, char**)in nmap.o "script_scan(std::vector<Target*, std::allocator<Target*> >&)", referenced from: nmap_main(int, char**)in nmap.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [nmap] Error 1 make: *** [all] Error 2
It looks to me like you have some configuration mismatch--the code is including NSE function but the final link isn't linking with liblua. Try a "make distclean" and try again. If it doesn't work, look for messages referring to liblua or NOLUA. 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:
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...), (continued)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) Kris Katterjohn (Feb 11)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) Kris Katterjohn (Feb 12)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) Kris Katterjohn (Feb 16)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) David Fifield (Feb 17)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) kx (Feb 17)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) kx (Feb 17)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) Kurt (Feb 17)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) David Fifield (Feb 18)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) Kris Katterjohn (Feb 17)
- error compiling 5.21 Mike Calmus (Feb 20)
- Re: error compiling 5.21 David Fifield (Feb 22)
- Re: error compiling 5.21 Mike Calmus (Feb 23)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) Patrick Donnelly (Feb 17)
- Re: Raw IP NSE Functionality (Was Re: [NSE] Raw ethernet frame questions ...) Kris Katterjohn (Feb 17)
- Re: Raw IP NSE Functionality David Fifield (Feb 23)
- Re: Raw IP NSE Functionality Patrick Donnelly (Feb 23)
- Re: Raw IP NSE Functionality Patrick Donnelly (Feb 23)
- Re: Raw IP NSE Functionality Kris Katterjohn (Feb 23)
- Re: Raw IP NSE Functionality David Fifield (Feb 23)
- Re: Raw IP NSE Functionality David Fifield (Feb 25)
- Re: Raw IP NSE Functionality Kris Katterjohn (Feb 25)