Compile fix for gnutls-3.0.5

Simon Josefsson simon at josefsson.org
Fri Oct 28 11:06:23 CEST 2011


Kris Karas <ktk2008 at rcn.com> writes:

> Greetings,
>
> I just went to compile the new GnuTLS 3.0.5, which fails with:
>
> 	make[4]: Entering directory `/var/tmp/slackbuild/gnutls/gnutls-3.0.5/guile/src'
> 	  CC     libguile_gnutls_v_1_la-core.lo
> 	In file included from core.c:40:0:
> 	enum-map.i.c: In function 'scm_gnutls_define_enums':
> 	enum-map.i.c:1484:3: error: 'GNUTLS_E_INIT_LIBEXTRA' undeclared (first use in this function)
>
>
> A patch to fix the bug is attached for your convenience...

Thanks for the report.  The fix is the wrong one, libgnutls-extra has
been removed but the guile part is still there -- Nikos, have you tried
building the latest branch with guile?

/Simon

> Best regards,
> Kris
> --- lib/includes/gnutls/gnutls.h.in.orig	2011-10-27 16:04:25.321139578 -0400
> +++ lib/includes/gnutls/gnutls.h.in	2011-10-27 16:05:12.433855297 -0400
> @@ -1680,6 +1680,8 @@
>  #define GNUTLS_E_TOO_MANY_EMPTY_PACKETS -78
>  #define GNUTLS_E_UNKNOWN_PK_ALGORITHM -80
>  #define GNUTLS_E_TOO_MANY_HANDSHAKE_PACKETS -81
> +#define GNUTLS_E_INIT_LIBEXTRA -82
> +#define GNUTLS_E_LIBRARY_VERSION_MISMATCH -83
>  
>    /* returned if you need to generate temporary RSA
>     * parameters. These are needed for export cipher suites.




More information about the Gnutls-devel mailing list