Nettle integration issues

Ludovic Courtès ludo at gnu.org
Tue Feb 22 23:15:04 CET 2011


Hello!

In master (commit e3c98490a827a17782434587705be0ee8adaadd3), I have this
problem:

--8<---------------cut here---------------start------------->8---
$ nm .libs/libgnutls.so | grep nettle_sha256_update
                 U nettle_sha256_update

$ nm nettle/.libs/libcrypto.a | grep nettle_sha256_update
                 U nettle_sha256_update
--8<---------------cut here---------------end--------------->8---

This is cured for me by this patch:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: </pipermail/attachments/20110222/5f4eb7e6/attachment.bin>
-------------- next part --------------

Indeed, $(NETTLE_LIBS) isn?t helpful here:

--8<---------------cut here---------------start------------->8---
$ grep NETTLE_LIBS ../config.log 
NETTLE_LIBS='-lgmp -lpthread -lhogweed'
--8<---------------cut here---------------end--------------->8---

What do you think?

Thanks,
Ludo?.


More information about the Gnutls-devel mailing list