[PATCH] GnuTLS 2.5.7 fails to build

Arfrever Frehtes Taifersar Arahesis arfrever.fta at gmail.com
Thu Sep 18 19:33:34 CEST 2008

GnuTLS 2.5.7 fails to build:

Making all in libextra
make[2]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.5.7/work/gnutls-2.5.7/libextra'
make[3]: Entering directory `/var/tmp/portage/net-libs/gnutls-2.5.7/work/gnutls-2.5.7/libextra'
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../lgl -I../lgl -I../lib -I../includes -I../includes -I../lib/minitasn1   -I/usr/include  -pipe  -march=athlon64 -msse3 -pipe -O3 -finline-limit=800 -fivopts -fno-ident -fomit-frame-pointer -Wno-pointer-sign -DG_DISABLE_ASSERT -DNDEBUG -Wno-pointer-sign -MT gnutls_extra.lo -MD -MP -MF .deps/gnutls_extra.Tpo -c -o gnutls_extra.lo gnutls_extra.c
mkdir .libs
 i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lgl -I../lgl -I../lib -I../includes -I../includes -I../lib/minitasn1 -I/usr/include -pipe -march=athlon64 -msse3 -pipe -O3 -finline-limit=800 -fivopts -fno-ident -fomit-frame-pointer -Wno-pointer-sign -DG_DISABLE_ASSERT -DNDEBUG -Wno-pointer-sign -MT gnutls_extra.lo -MD -MP -MF .deps/gnutls_extra.Tpo -c gnutls_extra.c  -fPIC -DPIC -o .libs/gnutls_extra.o
gnutls_extra.c:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_gnutls_compression_algorithms'
gnutls_extra.c: In function '_gnutls_add_lzo_comp':
gnutls_extra.c:61: error: '_gnutls_compression_algorithms' undeclared (first use in this function)
gnutls_extra.c:61: error: (Each undeclared identifier is reported only once
gnutls_extra.c:61: error: for each function it appears in.)
make[3]: *** [gnutls_extra.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.5.7/work/gnutls-2.5.7/libextra'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.5.7/work/gnutls-2.5.7/libextra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/gnutls-2.5.7/work/gnutls-2.5.7'
make: *** [all] Error 2

The attached patch fixes this problem.

Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnutls-2.5.7-gnutls_compression_entry.patch
Type: text/x-diff
Size: 1350 bytes
Desc: not available
URL: </pipermail/attachments/20080918/8c8fa1af/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20080918/8c8fa1af/attachment.pgp>

More information about the Gnutls-devel mailing list