18 Jun 2013 13:21
Cannot build gnutls from source: picks the wrong libnettle
Sebastien Decugis <sdecugis <at> freediameter.net>
2013-06-18 11:21:08 GMT
2013-06-18 11:21:08 GMT
Hello, I am trying to build latest gnutls from source, and I encounter an issue. My system is Ubuntu Precise. I have installed all dependencies as described in README-alpha. In addition, I have built from source and installed under my home folder the latest automake and nettle. [Side comment, when I ran "make bootstrap" I encountered an issue already reported here about missing src/libopts/Makefile.in, and I had to run "autoreconf -fvi" to fix it. Is it normal? It could be worth writing this in the README-alpha file...] I am now encountering an error when I try to make GNUTLS: make[4]: Entering directory `/home/thedoc/sources/gnutls-latest/src/crywrap' CC crywrap.o crywrap.c: In function '_crywrap_do_one': crywrap.c:867:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] crywrap.c:868:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] crywrap.c: In function '_crywrap_setup_pidfile': crywrap.c:819:10: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] crywrap.c:823:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] CCLD crywrap ../../lib/.libs/libgnutls.so: undefined reference to `nettle_rsa_pkcs1_sign_tr' ../../lib/.libs/libgnutls.so: undefined reference to `nettle_umac96_set_key' ../../lib/.libs/libgnutls.so: undefined reference to `nettle_sha512_digest' ../../lib/.libs/libgnutls.so: undefined reference to `nettle_sha384_init' ../../lib/.libs/libgnutls.so: undefined reference to `nettle_md5_digest' ../../lib/.libs/libgnutls.so: undefined reference to `nettle_gcm_encr(Continue reading)
RSS Feed