Nmap Development mailing list archives

nmap fails during build on OpenBSD


From: rodent () NetBSD org
Date: Sat, 7 Jun 2014 19:25:38 -0400

OpenBSD 5.5/sparc64 using nmap-6.40nb8 from pkgsrc. tail of the build:

cd libnetutil && /usr/pkg/bin/gmake
gmake[1]: Entering directory '/usr/pkgsrc/net/nmap/work/nmap-6.40/libnetutil'
Makefile:41: makefile.dep: No such file or directory
c++ -MM -I../liblinear -DNOLUA -I../libdnet-stripped/include
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
-I/usr/pkg/include -I../nbase -I../nsock/include -DHAVE_CONFIG_H
-D_FORTIFY_SOURCE=2 ./netutil.cc ./PacketElement.cc ./NetworkLayerElement.cc
./ARPHeader.cc ./PacketElement.cc ./NetworkLayerElement.cc
./TransportLayerElement.cc ./ARPHeader.cc ./EthernetHeader.cc
./ICMPv4Header.cc ./ICMPv6Header.cc ./IPv4Header.cc ./IPv6Header.cc
./TCPHeader.cc ./UDPHeader.cc ./RawData.cc ./HopByHopHeader.cc
./DestOptsHeader.cc ./FragmentHeader.cc ./RoutingHeader.cc ./PacketParser.cc >
makefile.dep
c++ -c -I../liblinear -DNOLUA -I../libdnet-stripped/include -I/usr/pkg/include
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
-I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -O
-I/usr/pkg/include -Wall -fno-strict-aliasing netutil.cc -o netutil.o
netutil.cc: In function 'int send_ipv6_ip(const sockaddr_in6*, const unsigned
char*, size_t)':
netutil.cc:3825: error: aggregate 'iovec iov' has incomplete type and cannot
be defined
Makefile:37: recipe for target 'netutil.o' failed
gmake[1]: *** [netutil.o] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/net/nmap/work/nmap-6.40/libnetutil'
Makefile:143: recipe for target 'netutil_build' failed
gmake: *** [netutil_build] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/nmap
*** Error code 1

Stop.

Patch here:

http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/net/nmap/patches/patch-libnetutil_netutil.cc?rev=1.1&content-type=text/plain
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: