Maintained by: NLnet Labs

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

W.C.A. Wijngaards
Mon Feb 2 11:21:11 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hoi Paul,

RR_TYPE_DLV has been added somewhat recently to ldns (so that unbound
could support DLV).

Do you have multiple ldns installations on the computer, and it is
picking an older ldns installation that did not have the DLV typecode
(or NSEC3 stuff) yet?

Best regards,
   Wouter

Paul Wouters wrote:
> 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
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmGyRcACgkQkDLqNwOhpPgufQCeNem57X5Af957xdpLWOqGNf31
p+YAn0pY1silNCyQtR4Mgo5idiegjOP0
=tjhx
-----END PGP SIGNATURE-----