Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Nmap 4.60 Compilation Errors with Visual Studios 2008
From: majek04 <majek04+nmap-dev () gmail com>
Date: Wed, 9 Apr 2008 02:40:20 +0200

On Wed, Apr 2, 2008 at 2:22 PM, Kevin T. Johnston <kjohnston () syrres com> wrote:
Thanks, fixed some now get over 100 other errors.  I'll keep working on it.

 See attached.

I finally succeeded to compile nmap on VS2008.

nmap - 0 error(s), 3 warning(s)
========== Build: 7 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

The solution is not finished, it's possible that it beaks compilation on VS2005.

I just removed all includes of ws2tcpip.h, and all defines
of snprintf and vsnprintf.

There is still a need of including ws2tcpip.h but without the
declarations of inet_ntop and pton.
This hackish code does it:

#include <ws2tcpip.h> /* IPv6 stuff */

Anyone has better idea?

The patch is here:

patched code is also in svn:

I'll be working on final solution.

 Marek Majkowski

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]