This is the output of the make process:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libextra -Iminitasn1/ -I../includes -O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer -funroll-loops -finline-functions -pipe -I/usr/include -MT gnutls_record.lo -MD -MP -MF .deps/gnutls_record.Tpo -c gnutls_record.c -fPIC -DPIC -o .libs/gnutls_record.o
In file included from /usr/include/gpg-error.h:24,
from /usr/include/gcrypt.h:27,
from gnutls_mpi.h:4,
from gnutls_int.h:108,
from gnutls_record.c:25:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/stddef.h:151: error: conflicting types for `ptrdiff_t'
defines.h:58: error: previous declaration of `ptrdiff_t'
In file included from gnutls_int.h:108,
from gnutls_record.c:25:
gnutls_mpi.h:27: error: syntax error before '*' token
gnutls_mpi.h:29: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:30: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:32: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:33: warning: `GCRY_MPI' is deprecated (declared at /usr/include/gcrypt.h:153)
gnutls_mpi.h:35: error: syntax error before "MPI"
In file included from gnutls_record.c:25:
gnutls_int.h:225: error: syntax error before "MPI"
gnutls_int.h:225: warning: no semicolon at end of struct or union
gnutls_int.h:226: warning: data definition has no type or storage class
gnutls_int.h:227: error: syntax error before "client_g"
gnutls_int.h:227: warning: data definition has no type or storage class
gnutls_int.h:228: error: syntax error before "client_p"
gnutls_int.h:228: warning: data definition has no type or storage class
gnutls_int.h:229: error: syntax error before "dh_secret"
gnutls_int.h:229: warning: data definition has no type or storage class
gnutls_int.h:231: error: syntax error before "A"
gnutls_int.h:231: warning: data definition has no type or storage class
gnutls_int.h:232: error: syntax error before "B"
gnutls_int.h:232: warning: data definition has no type or storage class
gnutls_int.h:233: error: syntax error before "u"
gnutls_int.h:233: warning: data definition has no type or storage class
gnutls_int.h:234: error: syntax error before "b"
gnutls_int.h:234: warning: data definition has no type or storage class
gnutls_int.h:235: error: syntax error before "a"
gnutls_int.h:235: warning: data definition has no type or storage class
gnutls_int.h:236: error: syntax error before "x"
gnutls_int.h:236: warning: data definition has no type or storage class
gnutls_int.h:239: error: syntax error before "rsa"
gnutls_int.h:239: warning: data definition has no type or storage class
gnutls_int.h:264: error: syntax error before '}' token
In file included from gnutls_int.h:270,
from gnutls_record.c:25:
gnutls_hash_int.h:29: warning: `GCRY_MD_HD' is deprecated (declared at /usr/include/gcrypt.h:1032)
In file included from gnutls_int.h:271,
from gnutls_record.c:25:
gnutls_cipher_int.h:27: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_cipher_int.h:28: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_cipher_int.h:29: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_cipher_int.h:30: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
In file included from gnutls_cert.h:4,
from gnutls_int.h:273,
from gnutls_record.c:25:
gnutls_pk.h:5: error: syntax error before "MPI"
gnutls_pk.h:7: error: syntax error before "MPI"
gnutls_pk.h:9: error: syntax error before "MPI"
gnutls_pk.h:11: error: syntax error before "MPI"
gnutls_pk.h:13: error: syntax error before "MPI"
In file included from gnutls_int.h:273,
from gnutls_record.c:25:
gnutls_cert.h:39: error: syntax error before "MPI"
gnutls_cert.h:39: warning: no semicolon at end of struct or union
gnutls_cert.h:72: error: syntax error before '}' token
gnutls_cert.h:72: warning: data definition has no type or storage class
gnutls_cert.h:75: error: syntax error before "MPI"
gnutls_cert.h:75: warning: no semicolon at end of struct or union
gnutls_cert.h:96: error: syntax error before '}' token
gnutls_cert.h:96: warning: data definition has no type or storage class
gnutls_cert.h:100: error: syntax error before '*' token
gnutls_cert.h:102: error: syntax error before "cert"
In file included from gnutls_record.c:25:
gnutls_int.h:381: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_int.h:382: warning: `GCRY_CIPHER_HD' is deprecated (declared at /usr/include/gcrypt.h:580)
gnutls_int.h:609: error: syntax error before "MPI"
gnutls_int.h:609: warning: no semicolon at end of struct or union
gnutls_int.h:610: warning: data definition has no type or storage class
gnutls_int.h:616: error: syntax error before '}' token
gnutls_int.h:616: warning: data definition has no type or storage class
gnutls_int.h:623: error: syntax error before "MPI"
gnutls_int.h:623: warning: no semicolon at end of struct or union
gnutls_int.h:624: warning: data definition has no type or storage class
In file included from gnutls_record.c:44:
gnutls_dh.h:21: error: syntax error before "gnutls_get_dh_params"
gnutls_dh.h:21: error: syntax error before '*' token
gnutls_dh.h:21: warning: data definition has no type or storage class
gnutls_dh.h:22: error: syntax error before "gnutls_calc_dh_secret"
gnutls_dh.h:22: error: syntax error before '*' token
gnutls_dh.h:22: warning: data definition has no type or storage class
gnutls_dh.h:23: error: syntax error before "gnutls_calc_dh_key"
gnutls_dh.h:23: error: syntax error before "f"
gnutls_dh.h:23: warning: data definition has no type or storage class
gnutls_dh.h:24: error: syntax error before '*' token
gnutls_dh.h:28: error: syntax error before "_gnutls_dh_default_params"
gnutls_dh.h:28: warning: data definition has no type or storage class
make[3]: *** [gnutls_record.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnutls-0.8.12/work/gnutls-0.8.12/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnutls-0.8.12/work/gnutls-0.8.12/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnutls-0.8.12/work/gnutls-0.8.12'
make: *** [all] Error 2
!!! ERROR: net-libs/gnutls-0.8.12 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
I tried re-emerging both libgcrypto and libgpg-error, to no avail.
Here's output of my `emerge --info`:
(don't get confused by the added "-thelair" kernel extraversion, the kernel is a genuine vanilla one)
Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.24-thelair)
=================================================================
System uname: 2.4.24-thelair i686 Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp.easynet.nl/mirror/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt directfb doc encode foomaticdb gdbm gif gnutls gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad mbox mikmod mmx mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang ssl svga tcltk tcpd tetex tiff truetype type1 unicode x86 xml2 xmms xv zlib"
well, everyone here has a different problem, but they should all be fixed now.
when adding to an existing problem, make sure your bug is similar (for
instance, about the same package.)
thanks for all your reports.