gnutls 3.1.0 build issues

David Reiser dbreiser at gmail.com
Thu Aug 16 07:37:03 CEST 2012


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.

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;'

Dave
--
David Reiser
dbreiser at gmail.com







More information about the Gnutls-devel mailing list