Maintained by: NLnet Labs

[Unbound-users] Compile ldns 1.6.16/unbound 1.4.19 on Solaris 10.

Miek Gieben
Fri Dec 14 23:52:02 CET 2012


[ Quoting <simon.bernard.drolet at gmai> in "[Unbound-users] Compile ldns 1.6.16..." ]
> Hello,
> 
> I'm trying to update my libevent, ldns and unbound package.
> 
> I'm configuring the compile like this: (because of default ssl in
> Solaris 10).
> 
> # ./configure --disable-sha2 --disable-gost --disable-ecdsa

# ./configure --disable-gost --disable-ecdsa

should work...?

> # gmake
> ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H
> -Wwrite-strings -W -Wall -O2 -g -std=c99 -D__EXTENSIONS__
> -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
> -D_ALL_SOURCE -I/usr/sfw/include -c ./dane.c -o dane.lo
> ./dane.c: In function `ldns_dane_cert2rdf':
> ./dane.c:122: error: `SHA256_DIGEST_LENGTH' undeclared (first use in
> this function)
> ./dane.c:122: error: (Each undeclared identifier is reported only once
> ./dane.c:122: error: for each function it appears in.)
> ./dane.c:137: error: `SHA512_DIGEST_LENGTH' undeclared (first use in

Looks like an #ifdef probem, as SHA512 is a hash from the sha2 family.

grtz Miek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20121214/a19fec1e/attachment.pgp>