Nmap Development mailing list archives
Re: Nping compile errors on win32
From: Luis MartinGarcia <luis.mgarc () gmail com>
Date: Fri, 23 Apr 2010 11:06:10 +0200
Hi Jah, Thank you for solving the problem. A few days ago I commited a few small changes (changing char* to const char* in some function prototypes) and I had to move some functions from common.cc to common_modified.cc. The changes were so simple that I didn't test beyond Linux. I obviously screwed things up moving stuff from one file to the other. Luis MartinGarcia. On Fri, Apr 23, 2010 at 12:06 AM, jah <jah () zadkiel plus com> wrote:
Hi folks, I was getting the following compiler error for the latest svn on win32: nping\common.h(141) : fatal error C1083: Cannot open include file: 'arpa/inet.h': No such file or directory which I remedied by wrapping the include directive in ifndef WIN32. After doing that, I got linker errors for parse_ip_options, resolve and print_ip_options - these have recently been added to nping/common_modified.cc and wrapped in a ifndef WIN32 directive - I shifted it out of the ifndef block and built Nping on win32 and debian. The builds went fine and Nping runs fine too, so I checked in these fixes in r17375. I thought I'd give the list a quick heads-up in case I've fouled-up for a platform on which I can't test. Regards, jah _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nping compile errors on win32 jah (Apr 22)
- Re: Nping compile errors on win32 Luis MartinGarcia (Apr 23)