[ldns-users] ldns 1.6.0 fails to compile with --without-ssl
Paul Wouters
paul at xelerance.com
Sat Jul 11 04:20:55 UTC 2009
Hi,
I tried to compile ldns without openssl (using --without-ssl), but it fails
with:
higher.c:18:25: error: openssl/ssl.h: No such file or directory
higher.c:19:25: error: openssl/sha.h: No such file or directory
There are a few more of these. The attached patch should fix those.
I also get the following warnings/errors;
drill.c:123: warning: unused variable 'type_str'
ldns-chaos.c:23: warning: 'remove_nameservers' defined but not used
ldns-dpa.c:324: warning: 'is_match_name' defined but not used
ldns-dpa.c:458: warning: 'calculate_counters_total' defined but not used
ldns-dpa.c:1381: warning: 'match_expression_compare_count_p' defined but not used
ldns-dpa.c:1489: warning: 'match_expression_compare_p' defined but not used
ldns-dpa.c:1605: warning: 'match_expression_equals' defined but not used
ldns-read-zone.o: In function `main':
/home/paul/BUILD/ldns-1.6.0/examples/ldns-read-zone.c:71: undefined reference to `ldns_version'
/home/paul/BUILD/ldns-1.6.0/examples/ldns-read-zone.c:96: undefined reference to `ldns_zone_new_frm_fp_l'
/home/paul/BUILD/ldns-1.6.0/examples/ldns-read-zone.c:147: undefined reference to `ldns_zone_rrs'
/home/paul/BUILD/ldns-1.6.0/examples/ldns-read-zone.c:147: undefined reference to `ldns_rr_list_print'
[.....]
I have not looked into those. I just enabled openssl again.
Paul
More information about the ldns-users
mailing list