I'm using linux26-headers-2.6.7-r3, but I'm not sure if that has anything to do with this. The emerge of aMule dies with numerous errors in /usr/include/cryptopp/iterhash.h and /usr/include/cryptopp/sha.h. I have the latest version (5.2) of crypto++ installed. Here are the first few errors: if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -march=pentium4 -fomit-frame-pointer -pipe -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -MT amule-BaseClient.o -MD -MP -MF ".deps/amule-BaseClient.Tpo" \ -c -o amule-BaseClient.o `test -f 'BaseClient.cpp' || echo './'`BaseClient.cpp; \ then mv -f ".deps/amule-BaseClient.Tpo" ".deps/amule-BaseClient.Po"; \ else rm -f ".deps/amule-BaseClient.Tpo"; exit 1; \ fi In file included from /usr/include/cryptopp/sha.h:4, from /usr/include/cryptopp/oaep.h:5, from /usr/include/cryptopp/rsa.h:10, from ClientCredits.h:32, from BaseClient.cpp:47: /usr/include/cryptopp/iterhash.h:76: error: parse error before numeric constant /usr/include/cryptopp/iterhash.h:76: error: missing ';' before right brace /usr/include/cryptopp/misc.h: In instantiation of `CryptoPP::CompileAssert<false>': /usr/include/cryptopp/iterhash.h:77: instantiated from here /usr/include/cryptopp/misc.h:18: error: creating array with size zero (`-1') /usr/include/cryptopp/iterhash.h:79: error: parse error before `protected' /usr/include/cryptopp/iterhash.h:85: error: parse error before `<' token /usr/include/cryptopp/iterhash.h:89: error: non-member function `unsigned int DigestSize()' cannot have `const' method qualifier /usr/include/cryptopp/iterhash.h: In function `unsigned int DigestSize()': /usr/include/cryptopp/iterhash.h:89: error: `DIGESTSIZE' undeclared (first use this function) /usr/include/cryptopp/iterhash.h:89: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/cryptopp/iterhash.h: At global scope: /usr/include/cryptopp/iterhash.h:91: error: parse error before `protected' /usr/include/cryptopp/iterhash.h:96: error: parse error before `}' token /usr/include/cryptopp/iterhash.h:97: error: parse error before `*' token /usr/include/cryptopp/iterhash.h: In function `void HashEndianCorrectedBlock(...)': /usr/include/cryptopp/iterhash.h:97: error: `T_Transform' undeclared (first use this function) /usr/include/cryptopp/iterhash.h:97: error: parse error before `::' token Reproducible: Always Steps to Reproduce: emerge amule Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrored.ca/ http://mirrors.acm.cs.rpi.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 aac acpi aim alsa apache2 apm arts audiofile avi berkdb cdr crypt cups curl curlwrappers dga divx4linux dvd encode esd fbcon flac foomaticdb freetype gcj gdbm gif gimp gnome gpm gtk gtk2 guile icq imlib inetd jack java jikes jpeg junit kde libg++ libwww mad mikmod mmx mng motif mozilla mpeg mpeg4 mplayer mysql nas ncurses nls oggvorbis opengl oscar oss pam pdflib perl png python qt quicktime readline remote samba sdl slang sndfile speex spell sse ssl stats svg svga tcltk tcpd theora tiff truetype usb v4l v4l2 wmf x86 xml xml2 xmms xv xvid zlib"
Looks like this is a problem with crypto++-5.2 only. I downgraded to crypto++-5.1-r1 and amule emerged without any errors.
hopefully the _rc4 will contain a fix for this as soon as we get it in portage...
see bug #57528 ... rc5 fixes the prob