Possibly too new versions of ldns?

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

Answering my own question: using ldns 1.4.0 from source builds *all* versions of Unbound minus some very early ones and one rc. So, for future folks (at least until this breaks): use ldns 1.4.0 to be safe.

--Paul Hoffman

Zitat von Paul Hoffman <paul.hoffman@vpnc.org>:

Answering my own question: using ldns 1.4.0 from source builds *all* versions of Unbound minus some very early ones and one rc. So, for future folks (at least until this breaks): use ldns 1.4.0 to be safe.

I guess i still missed why you want to build pre 1.0 Versions and the like anyway??

Regards

Andreas