Build of the recently updated mbuffer-20050321 fails while compiling: i686-pc-linux-gnu-gcc -O -march=athlon-xp -O3 -pipe -fomit-frame-pointer -DHAVE_CONFIG_H -c -o mbuffer.o mbuffer.c mbuffer.c:47: error: syntax error before numeric constant mbuffer.c: In function `summary': mbuffer.c:151: error: `MD5hash' undeclared (first use in this function) mbuffer.c:151: error: (Each undeclared identifier is reported only once mbuffer.c:151: error: for each function it appears in.) mbuffer.c: In function `inputThread': mbuffer.c:349: error: `MD5hash' undeclared (first use in this function) mbuffer.c: In function `main': mbuffer.c:817: error: `MD5hash' undeclared (first use in this function) make: *** [mbuffer.o] Error 1 The same error occurs while trying to build the latest ~x86 version mbuffer-20050510. This seems to be a problem with mhash, since a build with USE="-mhash" succeeds without problems. It seems mhash isn't really needed anyway, since mbuffer (judging from the ChangeLog) uses it only to do md5 calculations and reverts to the md5 library if mhash is not available. Reproducible: Always Steps to Reproduce: 1. USE="mhash" emerge mbuffer 2. Error Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict suidctl" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://www.ibiblio.org/gentoo" LANG="en_US.iso88591" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip X X509 a52 aac aalib aim alsa ao apm asm auctex audiofile avi bash-completion bdf berkdb bitmap-fonts bootsplash bzip2 cairo cap caps ccache cdda cddb cdio cdparanoia cdr cdrom cjk clamav cracklib crypt css cups curl curlwrappers dbus devmap dhcp directfb divx4linux droproot dts dvd dvdread emboss encode enscript ethereal exif fam fb fbcon fbdev flac foomaticdb fortran freetype ftp gd gdbm ggi gif gimp gimpprint glep gnuplot gnutls gpgme gphoto2 gpm gs gtk gtk2 hal html http iconv icq ieee1394 image imagemagick imap imlib imlib2 ipv6 irc jabber java javascript joystick jp2 jpeg largeterminal latex libcaca libclamav libg++ libwww lj lm_sensors lzo lzw mad maildir mailwrapper math matroska md5sum mhash mikmod mime mmx mmxext mng motif mozdevelop moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mpeg2 mpeg4 mplayer nas ncurses net nls nowin nptl ntlm nvidia ogg oggvorbis opengl operanom2 oscar oss pam pcsc-lite pdf pdflib perl physfs pic plotutils png posix povray ppds print procmail pwdb python quicktime readline reiserfs rss rtc samba scanner sdl session sftp sftplogging silc slang smartcard smime sndfile sockets socks5 sox speex spell sse ssl stroke subp subtitles subversion svg svga svgz sysfs tcltk tcpd tetex theora threads tidy tiff timidity transcode truetype truetype-fonts type1-fonts unicode uptimed usb userlocales utf8 v4l v4l2 vcd vcdimager vim vim-with-x vorbis win32codecs wma123 wmf wxwindows xine xml xml2 xmms xosd xpm xv xvid xvmc yahoo zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS --- mhash version 0.9.2
fixed in cvs, thanks