[Unbound-users] Possibly too new versions of ldns?

Paul Hoffman paul.hoffman at vpnc.org
Sun Jan 29 00:37:05 CET 2012

As I said in my last message, I built ldns-1.6.12 and used it to try to build all versions of Unbound, but some failed. Ignoring 0.0 to 0.6 and "rc" versions for now, the first problem comes with 1.1.0. The log has:
. . .
./libtool --tag=CC --mode=compile gcc -I. -I.  -I/usr/local/include -I/home/dns/ldns-1.6.12/include -DHAVE_CONFIG_H -g -O2 -D_THREAD_SAFE -pthread -c validator/val_sigcrypt.c -o build/validator/val_sigcrypt.lo
 gcc -I. -I. -I/usr/local/include -I/home/dns/ldns-1.6.12/include -DHAVE_CONFIG_H -g -O2 -D_THREAD_SAFE -pthread -c validator/val_sigcrypt.c -o build/validator/val_sigcrypt.o
validator/val_sigcrypt.c: In function 'dnskey_algo_id_is_supported':
validator/val_sigcrypt.c:375: error: 'LDNS_RSASHA256_NSEC3' undeclared (first use in this function)
validator/val_sigcrypt.c:375: error: (Each undeclared identifier is reported only once
validator/val_sigcrypt.c:375: error: for each function it appears in.)
validator/val_sigcrypt.c:379: error: 'LDNS_RSASHA512_NSEC3' undeclared (first use in this function)
validator/val_sigcrypt.c: In function 'setup_key_digest':
validator/val_sigcrypt.c:1307: error: 'LDNS_RSASHA256_NSEC3' undeclared (first use in this function)
validator/val_sigcrypt.c:1311: error: 'LDNS_RSASHA512_NSEC3' undeclared (first use in this function)
gmake: *** [build/validator/val_sigcrypt.lo] Error 1

The same error happens for 1.1.1, 1.2.0, and 1.2.1. Is this an indication that these versions need a particular version of ldns? If so, how would I figure out which it is?

--Paul Hoffman

More information about the Unbound-users mailing list