building 2.12.5 on SLES11 problems

Galloway, Michael D. gallowaymd at ornl.gov
Mon May 16 22:35:29 CEST 2011



-----Original Message-----
From: Nikos Mavrogiannopoulos [mailto:n.mavrogiannopoulos at gmail.com] On Behalf Of Nikos Mavrogiannopoulos
Sent: Monday, May 16, 2011 3:58 PM
To: Galloway, Michael D.
Cc: 'help-gnutls at gnu.org'
Subject: Re: building 2.12.5 on SLES11 problems

On 05/16/2011 09:37 PM, Galloway, Michael D. wrote:
> 
> Good day all,
> 
> I'm trying to build 2.12.5 on SLES11 system and getting this build problem from the libgcrypt module:
> Making all in gcrypt
> make[4]: Entering directory `/usr/local/gnutls-2.12.5/lib/gcrypt'
>   CC     pk.lo
>   CC     mpi.lo
>   CC     mac.lo
>   CC     cipher.lo
>   CC     rnd.lo
>   CC     init.lo
> init.c:36: error: 'GCRY_THREAD_OPTION_VERSION' undeclared here (not in a function)
> make[4]: *** [init.lo] Error 1
> make[4]: Leaving directory `/usr/local/gnutls-2.12.5/lib/gcrypt'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/gnutls-2.12.5/lib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/gnutls-2.12.5/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/gnutls-2.12.5'
> make: *** [all] Error 2

Hello,
 Could you try a newer version of libgcrypt (1.4.4 or so?). As it seems
1.4.1 does not contain that definition. Out of curiosity what is SLES11?


regards,
Nikos

Yup, upgrading to libgcrypt 1.4.6 resolved the problem, make check passed all tests. Thanks!

---- michael




More information about the Gnutls-help mailing list