gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building on Mac OS 10.3.9


From: Simon Josefsson
Subject: Re: Building on Mac OS 10.3.9
Date: Tue, 17 Mar 2009 12:57:09 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux)

Alex Schröder <address@hidden> writes:

> Hi
>
> I am trying to build gnutls-2.6.4 on an old iBook laptop. I just
> finished building and installing libgcrypt-1.4.4 and libgpg-error-1.7.
>
> Compilation fails here:
>
> cipher-libgcrypt.c: In function `wrap_gcry_cipher_init':
> cipher-libgcrypt.c:84: error: `GCRY_CIPHER_CAMELLIA128' undeclared
> (first use in this function)
> cipher-libgcrypt.c:84: error: (Each undeclared identifier is reported only 
> once
> cipher-libgcrypt.c:84: error: for each function it appears in.)
> cipher-libgcrypt.c:90: error: `GCRY_CIPHER_CAMELLIA256' undeclared
> (first use in this function)
>
> When I try configure --disable-camellia, I'm getting a different error:
>
> mac-libgcrypt.c: In function `wrap_gcry_hash_init':
> mac-libgcrypt.c:123: error: `GCRY_MD_SHA224' undeclared (first use in
> this function)
> mac-libgcrypt.c:123: error: (Each undeclared identifier is reported only once
> mac-libgcrypt.c:123: error: for each function it appears in.)
>
> Any ideas?

Are you sure it is using the header file from your libgcrypt 1.4.4
installation rather than some older installation?  Use
--with-libgcrypt-prefix=/usr/local or similar to make gnutls use the
proper libgcrypt.

Modern GnuTLS requires libgcrypt 1.4 or later for SHA-2/Camellia
support.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]