Building on Mac OS 10.3.9
Simon Josefsson
simon at josefsson.org
Tue Mar 17 12:57:09 CET 2009
Alex Schröder <kensanata at gmail.com> 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
More information about the Gnutls-devel
mailing list