Nmap Development mailing list archives
RE: Unable to compile nmap on win8 64
From: "Rob Nicholls" <robert () robnicholls co uk>
Date: Sun, 16 Mar 2014 10:08:17 -0000
Sorry for the slow reply, it's been a busy week and I was sitting an exam on Tuesday. I'm not at my main computer right now to verify this, but my two suggestions would be to make sure you're building the Release version (instead of a Debug version, I'm not sure even x86 Debug versions compile right now), and use the latest Subversion code (as I've not tried compiling a 64 bit version using 6.40 so I can't tell if it work, although it probably will). Rob
-----Original Message----- From: dev [mailto:dev-bounces () nmap org] On Behalf Of Vikram Salunkhe Sent: 11 March 2014 15:03 To: fyodor () nmap org; dev () nmap org; dev-owner () nmap org Cc: dev-owner () nmap org Subject: RE: Unable to compile nmap on win8 64 Including others also From: Vikram Salunkhe Sent: Tuesday, March 11, 2014 8:31 PM To: 'fyodor () nmap org' Subject: Unable to compile nmap on win8 64 I referred a valuable info at https://www.robnicholls.co.uk/comments.php?id=2483 But while trying above steps , I am getting below error while building the nping project. One more update above functions are not exported and not contained in .lib as per the dumpbin. winfix.cc 5> Generating Code... 5>EchoServer.obj : error LNK2019: unresolved external symbol 5>nse_readpcap referenced in function "public: int __cdecl 5>EchoServer::nep_capture_handler(void *,void *,void *)" 5>(?nep_capture_handler@EchoServer@@QEAAHPEAX00@Z) 5>ProbeMode.obj : error LNK2001: unresolved external symbol nse_readpcap 5>EchoServer.obj : error LNK2019: unresolved external symbol 5>nsock_pcap_read_packet referenced in function "public: int __cdecl 5>EchoServer::nep_capture_handler(void *,void *,void *)" 5>(?nep_capture_handler@EchoServer@@QEAAHPEAX00@Z) 5>ProbeMode.obj : error LNK2001: unresolved external symbol 5>nsock_pcap_read_packet EchoServer.obj : error LNK2019: unresolved 5>external symbol nsock_pcap_open referenced in function "public: int 5>__cdecl EchoServer::start(void)" (?start@EchoServer@@QEAAHXZ) 5>ProbeMode.obj : error LNK2001: unresolved external symbol 5>nsock_pcap_open ProbeMode.obj : error LNK2019: unresolved external 5>symbol nsi_pcap_linktype referenced in function "public: static void 5>__cdecl ProbeMode::probe_nping_event_handler(void *,void *,void *)" 5>(?probe_nping_event_handler@ProbeMode@@SAXPEAX00@Z) 5>.\Debug\nping.exe : fatal error LNK1120: 4 unresolved externals ========== Rebuild All: 3 succeeded, 1 failed, 1 skipped ========== One more update above functions are not exported and not contained in .lib as per the dumpbin.(attaching dumpbin) Below are ping project settings: Platform toolset = Windows7.1SDK. Include libraray = E:\NMAP_1\nmap-6\nmap- 6.40\nsock\DebugNoPcap\(nsock.lib is statically linking and creating in given path) Additional linking = nsock.lib Linker input additional dependencies = nsock.lib C++ code generation = Multi-threaded Debug DLL (/MDd). I tried by providing static paths also but no luck. Any help will be great. Regards, vikram _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- RE: Unable to compile nmap on win8 64 Vikram Salunkhe (Mar 11)
- RE: Unable to compile nmap on win8 64 Rob Nicholls (Mar 16)