gnutls 3.1.0 build issues

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Thu Aug 16 10:28:33 CEST 2012


On 08/16/2012 07:37 AM, David Reiser wrote:

> Trying to build 3.1.0 in OS X using clang 4.0 from Apple's Xcode 4.4.1, configure gives me:
> 
> checking for tss library... no
> configure: WARNING:
> ***
> *** trousers was not found. TPM support will be disabled.
> *** 
> Neither the announcement nor the the docs that I can find mention a dependency on trousers. That probably should be corrected.


Yes, a dependency on trousers is required when compiling with TPM support.

> Since TPM support is disabled, I then see compiling stop with:
>   CC     gnutls_supplemental.lo
> system.c:442:10: error: use of undeclared identifier 'r'
>   return r;
> 1 error generated.
> because r is declared after gnutls determines that it is going to
> return GNUTLS_E_UNIMPLEMENTED_FEATURE;
> but clang is being ornery about the final 'return r;'


Thanks. I've committed a fix.

regards,
Nikos




More information about the Gnutls-devel mailing list