This is an OpenBSD 5.1/i386 machine: Error: gcc -I. -g -O2 -o nsd -combine -fwhole-program `echo answer.o axfr.o buffer.o configlexer.o configparser.o dname.o dns.o edns.o iterated_hash.o lookup3.o namedb.o nsec3.o options.o packet.o query.o rbtree.o radtree.o rdata.o region-allocator.o rrl.o tsig.o tsig-openssl.o udb.o udbradtree.o udbzone.o util.o xfrd-disk.o xfrd-notify.o xfrd-tcp.o xfrd.o remote.o difffile.o ipc.o netio.o nsd.o server.o dbaccess.o dbcreate.o zlexer.o zonec.o zparser.o | sed -e 's;\\([^ \\.]*\\)\\.o;./\\1.c;g'` b64_pton.o b64_ntop.o pselect.o -lssl -lcrypto -levent ./server.c: In function 'handle_tcp_writing': ./server.c:1889: error: array type has incomplete element type ./server.c:1894: error: incompatible implicit declaration of function 'writev' /usr/include/sys/uio.h:79: error: previous implicit declaration of 'writev' was here *** Error code 1 Patch: Index: server.c ==================================================================--- server.c (revision 3675) +++ server.c (working copy) @@ -12,6 +12,7 @@ #include <sys/types.h> #include <sys/param.h> #include <sys/socket.h> +#include <sys/uio.h> #include <sys/wait.h> #include <netinet/in.h> -- Oliver PETER oliver at opdns.de 0x456D688F -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20121011/25ec48e0/attachment.bin>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Oliver, On 10/11/2012 01:27 AM, Oliver Peter wrote:> This is an OpenBSD 5.1/i386 machine: > > Error: ./server.c:1894: error: incompatible implicit declaration of > function 'writev' Patch: +#include <sys/uio.h>Thank you for the patch, I have applied it. Best regards, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQdnNBAAoJEJ9vHC1+BF+NDCMQAJB58fhELJu9vNFaPlMTs6W0 gyl2T9M7eJUMyXZzfdEWwpfWpGFFTbNDEs3wQxwr4blAbTiOT2aF8Iknq4QZn7yz vDlZJF8msjRqPm+SDcP+/bpMawNKzx1d6eX1AL7MVt8LNuJU/nxq49V/M5Q0DshB K/zYoZtPqkCeVn8z1cAlQAFc/ARv6pqbMmbc20gZFqDqPxhSvYteKtsx7qqhYSNQ gaWEA1LOjbGsGX7btyqPTKCoF0Ux4/1ZJ/h09nzQDB/sbdBMK8Hshm7c4GKj8HPL YzfmMEnnH9ISQApQmnx8XA1pCWu2BibqismJ53Lkm7C6aQDwr4r2SSP+9bfogzi1 2XLzlkSnzux0/w2Z8ZoYLLbeK2b/xttjc7T57m4VskmRXphiA7S8Nc3TO2y6J9Zd 9sTEHNBbNQdI0M/Crm8Ua6+qxpBLK1tZKFbN3BDp+k8xlHb0KUmJ9GBFGoK8YHPy 1RaFOKFnZSPVI7IkPFBpkUKuepQ5WnwoDOufPs6kRKbI0+PpO4bk+x8D2XSU1oF+ ILGW6WC/UfdiSSqA9YuRONmqQ1buxt+1J+/97SK6pTmkqNaSzyDeeks5h+pcwy8a /IZlCkT55DUAe2bfFMlPPW6PCcK9fAuw68NAcNxYU/0H3ZkjhoOTLz0O04WK42K5 7HlYisRAv455jTBdhRy/ =jpDr -----END PGP SIGNATURE-----