[gnutls-devel] Error linking eagain-cli when missing PKCS#11 support

Linus Nordberg linus at nordberg.se
Thu May 2 17:50:11 CEST 2013


When configuring gnutls without PKCS#11 support I get the following
error from the link editor in tests/suite:

--8<---------------cut here---------------start------------->8---
mini-eagain2.o: In function `global_init':
/u/src/gnutls/tests/suite/../utils.h:38: undefined reference to `gnutls_pkcs11_init'
collect2: error: ld returned 1 exit status
make[3]: *** [eagain-cli] Error 1
make[3]: Leaving directory `/home/u/src/gnutls/tests/suite'
--8<---------------cut here---------------end--------------->8---

I don't know the appropriate way to handle this. Building eagain-cli
within "if ENABLE_PKCS11" (tests/suite/Makefile.am) perhaps?


More information about the Gnutls-devel mailing list