Nmap Development mailing list archives
Nmap 5.61TEST5 compile error freebsd 6.4
From: Infraservice hostmaster <hostmaster () jail209 infra-service ca>
Date: Thu, 24 May 2012 10:49:28 -0400 (EDT)
gmake[1]: Entering directory `/var/usr/ports/security/nmap/work/nmap-5.61TEST5/libnetutil' c++ -c -I../liblinear -I/usr/include/lua -I/usr/local/include/lua51 -I../libdnet-stripped/include -I/usr/local/include -I/usr/local/include -I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -O2 -fno-strict-aliasing -pipe -I/usr/local/include -Wall -fno-strict-aliasing netutil.cc -o netutil.o In file included from netutil.cc:127: /usr/include/netinet/ip.h:160: error: `n_long' does not name a type /usr/include/netinet/ip.h:163: error: `n_long' does not name a type gmake[1]: *** [netutil.o] Error 1 gmake[1]: Leaving directory `/var/usr/ports/security/nmap/work/nmap-5.61TEST5/libnetutil' gmake: *** [netutil_build] Error 2 *** Error code 1 --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< --------- [FIX] --- netutil.cc.2012030600 2012-03-06 22:39:11.000000000 -0500 +++ netutil.cc 2012-05-21 09:25:23.000000000 -0400 @@ -123,6 +123,12 @@ #define NET_IF_H #endif #endif + +#ifndef NETINET_IN_SYSTM_H /* This guarding is needed for at least some versions of OpenBSD */ +#include <netinet/in_systm.h> +#define NETINET_IN_SYSTM_H +#endif + #ifndef NETINET_IP_H /* This guarding is needed for at least some versions of OpenBSD */ #include <netinet/ip.h> #define NETINET_IP_H @@ -156,11 +162,6 @@ #include <linux/rtnetlink.h> #endif -#ifndef NETINET_IN_SYSTM_H /* This guarding is needed for at least some versions of OpenBSD */ -#include <netinet/in_systm.h> -#define NETINET_IN_SYSTM_H -#endif - #include "netutil.h" #if HAVE_SYS_RESOURCE_H _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nmap 5.61TEST5 compile error freebsd 6.4 Infraservice hostmaster (May 26)
- Re: Nmap 5.61TEST5 compile error freebsd 6.4 David Fifield (May 27)
- Re: Nmap 5.61TEST5 compile error freebsd 6.4 olli hauer (May 28)
- Re: Nmap 5.61TEST5 compile error freebsd 6.4 David Fifield (May 27)