Nmap Development mailing list archives
Re: FTBFS on OpenBSD 5.5
From: Daniel Miller <bonsaiviking () gmail com>
Date: Sun, 8 Jun 2014 11:44:31 -0500
Regarding George's report of iovec not being defined, POSIX does define <sys/uio.h> as defining this structure ( http://pubs.opengroup.org/onlinepubs/007904875/basedefs/sys/uio.h.html), so we should probably include it. There may be some platform considerations to handle before just unilaterally including it; see this Qemu commit: https://lists.gnu.org/archive/html/qemu-devel/2008-12/msg00201.html Dan On Sun, Jun 8, 2014 at 9:13 AM, Jacek Wielemborek <d33tah () gmail com> wrote:
Hi, Inspired by GeorgeNickleford from #nmap IRC channel, I decided to try to build Nmap under latest OpenBSD. I pulled the latest SVN sources, tried to build them... and here's what I got: gcc -c -I/home/root/nmap-6.46/nbase -DHAVE_CONFIG_H - DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include -g -O2 - Wall nsock_pcap.c -o nsock_pcap.o nsock_pcap.c: In function 'do_actual_pcap_read': nsock_pcap.c:399: error: incompatible types in assignment Makefile:48: recipe for target 'nsock_pcap.o' failed gmake[1]: *** [nsock_pcap.o] Error 1 gmake[1]: Leaving directory '/home/root/nmap-6.46/nsock/src' Makefile:139: recipe for target 'nsock_build' failed gmake: *** [nsock_build] Error 2 *** Error 2 in /home/root/nmap-6.46 (BSDmakefile:5 'USE_GNU') I heard that there's also "netutil.cc:3825: error: aggregate 'iovec iov' has incomplete type and cannot be defined" error there, related to lack of #include <sys/uio.h>. Yours, Jacek Wielemborek _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- FTBFS on OpenBSD 5.5 Jacek Wielemborek (Jun 08)
- Re: FTBFS on OpenBSD 5.5 Daniel Miller (Jun 08)
- Re: FTBFS on OpenBSD 5.5 Henri Doreau (Jun 10)
- Re: FTBFS on OpenBSD 5.5 Jacek Wielemborek (Jun 10)