Nmap Development mailing list archives
RE: can not compile recent svn nmap on windows vc 2010
From: "Rob Nicholls" <robert () robnicholls co uk>
Date: Sun, 12 May 2013 17:59:56 +0100
I've noticed a similar issue. If I try and compile the latest version from SVN (r30884) I get: 1>------ Build started: Project: nsock, Configuration: Release Win32 ------ 1> proxy_http.c 1>src\proxy_http.c(213): error C2086: 'const proxy_spec ProxySpecHttp' : redefinition 1> src\proxy_http.c(71) : see declaration of 'ProxySpecHttp' 1> proxy_socks4.c 1>src\proxy_socks4.c(243): error C2086: 'const proxy_spec ProxySpecSocks4' : redefinition 1> src\proxy_socks4.c(72) : see declaration of 'ProxySpecSocks4' 1> Generating Code... 2>------ Build started: Project: nping, Configuration: Release Win32 ------ 3>------ Build started: Project: ncat, Configuration: Release Win32 ------ 4>------ Build started: Project: nmap, Configuration: Release Win32 ------ 3>LINK : fatal error LNK1104: cannot open file 'nsock.lib' 2>LINK : fatal error LNK1104: cannot open file 'nsock.lib' 4>LINK : fatal error LNK1181: cannot open input file 'nsock.lib' ========== Build: 0 succeeded, 4 failed, 7 up-to-date, 0 skipped ========== I tried making some quick and dirty changes locally to fix it, but I still couldn't manage to get it to compile properly. If I revert nsock to r30735 everything then seems to compile okay. That compiled version also appears to run okay, albeit with lots of SO_BROADCAST related errors with NSE: NSOCK ERROR [96.3770s] nsock_make_socket(): Setting of SO_BROADCAST failed (IOD #1): No error But I think that's a separate issue to the proxy related issues. Rob
-----Original Message----- From: dev [mailto:dev-bounces () nmap org] On Behalf Of jaebum shin Sent: 02 May 2013 22:03 To: dev () nmap org Cc: henri.doreau () gmail com Subject: Re: can not compile recent svn nmap on windows vc 2010 compile ok, but this time link error occurred. 11> Generating Code... 11>FPEngine.obj : error LNK2001: unresolved external symbol 11>_nsp_set_proxychain nmap_dns.obj : error LNK2001: unresolved external 11>symbol _nsp_set_proxychain nse_nsock.obj : error LNK2001: unresolved 11>external symbol _nsp_set_proxychain service_scan.obj : error LNK2001: 11>unresolved external symbol _nsp_set_proxychain 11>nmap.obj : error LNK2001: unresolved external symbol 11>_nsock_proxychain_new NmapOps.obj : error LNK2001: unresolved 11>external symbol _nsock_proxychain_delete 11>nsock.lib(nsock_iod.obj) : error LNK2001: unresolved external symbol "struct proxy_chain_context * __cdecl proxy_chain_context_new(void *)" (?proxy_chain_context_new@@YAPAUproxy_chain_context@@PAX@Z) 11>nsock.lib(nsock_iod.obj) : error LNK2001: unresolved external symbol "void __cdecl proxy_chain_context_delete(struct proxy_chain_context *)" (?proxy_chain_context_delete@@YAXPAUproxy_chain_context@@@Z) 11>nsock.lib(nsock_connect.obj) : error LNK2001: unresolved external symbol "void __cdecl nsock_proxy_ev_dispatch(void *,void *,void *)" (?nsock_proxy_ev_dispatch@@YAXPAX00@Z) 11>.\Release/nmap.exe : fatal error LNK1120: 6 unresolved externals ========== Build: 8 succeeded, 3 failed, 0 up-to-date, 0 skipped ========== _______________________________________________ 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:
- can not compile recent svn nmap on windows vc 2010 jaebum shin (May 02)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 02)
- Re: can not compile recent svn nmap on windows vc 2010 jaebum shin (May 02)
- Re: can not compile recent svn nmap on windows vc 2010 Gisle Vanem (May 03)
- Re: can not compile recent svn nmap on windows vc 2010 jaebum shin (May 03)
- Re: can not compile recent svn nmap on windows vc 2010 Gisle Vanem (May 03)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 03)
- Re: can not compile recent svn nmap on windows vc 2010 jaebum shin (May 02)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 03)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 02)
- RE: can not compile recent svn nmap on windows vc 2010 Rob Nicholls (May 12)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 12)
- RE: can not compile recent svn nmap on windows vc 2010 Rob Nicholls (May 12)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 12)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 12)
- RE: can not compile recent svn nmap on windows vc 2010 Rob Nicholls (May 12)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 13)
- Re: can not compile recent svn nmap on windows vc 2010 jaebum shin (May 13)
- Re: can not compile recent svn nmap on windows vc 2010 Gisle Vanem (May 13)
- Re: can not compile recent svn nmap on windows vc 2010 Henri Doreau (May 16)
- Re: can not compile recent svn nmap on windows vc 2010 Gisle Vanem (May 17)