gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O3 -march=athlon -mtune=athlon -pipe -c blk_cdcn_norm.c -fPIC -DPIC -o blk_cdcn_norm.lo blk_cdcn_norm.c: In function 'block_cdcn_norm': blk_cdcn_norm.c:49: error: invalid storage class for function 'block_actual_cdcn_norm' blk_cdcn_norm.c: At top level: blk_cdcn_norm.c:102: warning: conflicting types for 'block_actual_cdcn_norm' blk_cdcn_norm.c:102: error: static declaration of 'block_actual_cdcn_norm' follows non-static declaration blk_cdcn_norm.c:78: error: previous implicit declaration of 'block_actual_cdcn_norm' was here make[4]: *** [blk_cdcn_norm.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/sphinx2-0.4/work/sphinx2-0.4/src/libsphinx2' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/sphinx2-0.4/work/sphinx2-0.4/src/libsphinx2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/sphinx2-0.4/work/sphinx2-0.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sphinx2-0.4/work/sphinx2-0.4' make: *** [all-recursive-am] Error 2 !!! ERROR: app-accessibility/sphinx2-0.4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile sphinx2-0.4.ebuild, line 33: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon -mtune=athlon -pipe " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O3 -march=athlon -mtune=athlon -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US.UTF-8" LINGUAS="en hu ro" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gw/gentoo-portage" USE="x86 X acpi alsa avi bash-completion browserplugin bzip2 cairo cdparanoia cdr css cups dga divx4linux dri dvd dvdr dvdread encode erandom esd exif fbsplash firefox foomaticdb fpu gd gif gimpprint glitz gmail gnome gnutls gstreamer gtk gtk2 hal howl imap ithreads jabber jpeg kqemu live maildir mbox mbrola mime mmx mmxext mozdevelop mozilla mozmail moznocompose moznoirc moznoroaming mozsvg mp3 mpeg mplayer mtrr mysql nautilus ncurses nptl nptlonly nvidia ogg openal opengl oss pam pdflib perl png ppds python quicktime readline rtc screen sdl softmmu sox sse sse2 ssl startup-notification subtitles svg tcpd truetype udev unicode usb userlocales utf8 vcd video_cards_nvidia vorbis win32codecs xine xml xmms xorg xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_hu linguas_ro userland_GNU video_cards_nv video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS is it gcc-4.1 related?
Please use sphinx2-0.6 with gcc-4.1 (just added to portage). We'll stabalize it before gcc-4.1 goes stable ;).