Nmap Development mailing list archives

Nping compile errors on win32


From: jah <jah () zadkiel plus com>
Date: Thu, 22 Apr 2010 23:06:28 +0100

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/


Current thread: