Nmap Development mailing list archives

Re: can not compile recent svn nmap on windows vc 2010


From: Gisle Vanem <gvanem () broadpark no>
Date: Fri, 03 May 2013 12:19:09 +0200

"jaebum shin" <kuh3h3 () gmail com> wrote:

compile ok,
but this time link error occurred.
...
(?nsock_proxy_ev_dispatch@@YAXPAX00@Z)
11>.\Release/nmap.exe : fatal error LNK1120: 6 unresolved externals

You have to add these files to nsock/nsock.vcxproj:
 nsock_proxy.c, proxy_http.c and proxy_socks4.c.

Here is a patch for that:

--- SVN-Latest\nsock\nsock.vcxproj      Thu Apr 25 10:06:26 2013
+++ nsock\nsock.vcxproj Fri May 03 12:17:13 2013
@@ -196,10 +196,13 @@
    <ClCompile Include="src\nsock_log.c" />
    <ClCompile Include="src\nsock_pcap.c" />
    <ClCompile Include="src\nsock_pool.c" />
+    <ClCompile Include="src\nsock_proxy.c" />
    <ClCompile Include="src\nsock_read.c" />
    <ClCompile Include="src\nsock_ssl.c" />
    <ClCompile Include="src\nsock_timers.c" />
    <ClCompile Include="src\nsock_write.c" />
+    <ClCompile Include="src\proxy_http.c" />
+    <ClCompile Include="src\proxy_socks4.c" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="src\error.h" />

----------

I don't use VC-project files, so this went past me.

--gv
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: