Maintained by: NLnet Labs

[Unbound-users] Titanium bug in unbound or ldns?

Paul Wouters
Thu Jan 22 21:48:23 CET 2009


Hey,

While trying to build unbound-1.2.0rc1 on an Itanium, we run into strange
bugs in the include files. I suspect either ldns or unbound got things
wrong.

The first error that shows up is:

 gcc -I. -I. -I/usr/include -I/usr/include -I/include -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -D_GNU_SOURCE -c services/cache/dns.c  -fPIC -DPIC -o build/services/cache/.libs/dns.o
services/cache/dns.c: In function 'dns_cache_lookup':
services/cache/dns.c:568: error: 'LDNS_RR_TYPE_DLV' undeclared (first use in this function)
services/cache/dns.c:568: error: (Each undeclared identifier is reported only once
services/cache/dns.c:568: error: for each function it appears in.)
make: *** [build/services/cache/dns.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.15014 (%build)


This is odd, because LDNS_RR_TYPE_DLV and others are found in <ldns/rr.h>
which is installed (from ldns-1.4.0 not the shipped copy within unbound)

Fixing this manually, its runs into further similar issues with NSEC3
related defines.

I can provide config.log, config.status and/or access :)

Paul