[dnstap] trouble compiling BIND 9.9.8-S6 w/ dnstap
Paul Vlaar
pvlaar at afilias.info
Wed Mar 16 12:21:49 UTC 2016
Hi all,
having some trouble trying to compile my first dnstap-enabled BIND.
After a simple "./configure --enable-dnstap", and a "gmake":
[...]
gcc -pthread -I/tmp/bind-9.9.8-S6 -I. -Iinclude
-I/tmp/bind-9.9.8-S6/lib/dns/include -I../../lib/dns/include
-I/tmp/bind-9.9.8-S6/lib/isc/include -I../../lib/isc
-I../../lib/isc/include -I../../lib/isc/unix/include
-I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include
-I/usr/include -D_REENTRANT -DUSE_MD5 -DOPENSSL -DGSSAPI
-DUSE_ISC_SPNEGO -D_THREAD_SAFE -g -O2 -I/usr/local/include/libxml2
-I/usr/local/include -I /usr/local/include -I/usr/local/include/google
-W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat
-Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-checks -c
dnstap.c
dnstap.c:90: error: redefinition of typedef 'dns_dtmsg_t'
include/dns/types.h:77: error: previous declaration of 'dns_dtmsg_t' was
here
Makefile:319: recipe for target 'dnstap.o' failed
gmake[2]: *** [dnstap.o] Error 1
gmake[2]: Leaving directory '/tmp/bind-9.9.8-S6/lib/dns'
Makefile:98: recipe for target 'subdirs' failed
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory '/tmp/bind-9.9.8-S6/lib'
Makefile:102: recipe for target 'subdirs' failed
gmake: *** [subdirs] Error 1
Any help greatly appreciated.
Thanks,
--
Paul Vlaar
DNS Infrastructure Group
Afilias
e-mail: pvlaar at afilias.info
More information about the dnstap
mailing list