output of "emerge media-libs/sdl-sound": ... /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../decoders/timidity -O2 -march=pentium4 -pipe -I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT -c -o speex.lo `test -f speex.c || echo './'`speex.c flac.c:92: error: syntax error before "d_metadata_t" flac.c:92: warning: data definition has no type or storage class flac.c: In function `read_callback': flac.c:157: error: `FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM' undeclared (first use in this function) flac.c:157: error: (Each undeclared identifier is reported only once flac.c:157: error: for each function it appears in.) flac.c:164: error: `FLAC__STREAM_DECODER_READ_STATUS_ABORT' undeclared (first use in this function) flac.c:173: error: `FLAC__STREAM_DECODER_READ_STATUS_CONTINUE' undeclared (first use in this function) flac.c: In function `write_callback': flac.c:226: error: `FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE' undeclared (first use in this function) flac.c: At top level: flac.c:232: error: syntax error before '*' token flac.c: In function `metadata_callback': flac.c:235: error: `client_data' undeclared (first use in this function) flac.c:242: error: `metadata' undeclared (first use in this function) flac.c: In function `FLAC_open': flac.c:404: warning: passing arg 2 of `FLAC__seekable_stream_decoder_set_write_callback' from incompatible pointer type make[3]: *** [flac.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... rm -f .libs/speex.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../decoders/timidity -O2 -march=pentium4 -pipe -I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT -c speex.c -fPIC -DPIC -o .libs/speex.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../decoders/timidity -O2 -march=pentium4 -pipe -I/usr/include/SDL -D_REENTRANT -pthread -D_REENTRANT -c speex.c -o speex.o >/dev/null 2>&1 mv -f .libs/speex.lo speex.lo make[3]: Leaving directory `/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1/decoders' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1/decoders' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/sdl-sound-1.0.1-r1/work/SDL_sound-1.0.1' make: *** [all] Error 2 !!! ERROR: media-libs/sdl-sound-1.0.1-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed emerge info: Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.2-r12, 2.6.7) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /opt/mpd/conf /opt/opera/share/opera/config /usr/X11R6/lib/X11/xkb /usr/X11R6/lib/X11/xkb/rules /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/local/apache/conf /usr/share/config /usr/share/cups/model /usr/share/ogle/oglerc /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/src/portage-distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox userpriv" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo// http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo// http://trumpetti.atm.tut.fi/gentoo// ftp://trumpetti.atm.tut.fi/gentoo// http://gentoo.mirror.sdv.fr/ http://gentoo.math.bme.hu/ ftp://ftp.rxd.hu/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources// http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo// http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo// ftp://mirror.switch.ch/mirror/gentoo// ftp://ftp.solnet.ch/mirror/Gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/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 aalib acl alsa apm arts avi berkdb bitmap-fonts canna cdr cjk crypt cups curl directfb dvd emacs encode esd f77 flac foomaticdb gdbm ggi gif gimpprint gnome gpm gtk gtk2 guile imagemagick imlib java jpeg kde ldap lesstiff libg++ libwww mad mikmod mmx mng motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex theora tiff truetype unicode wmf wxwindows x86 xml2 xmms xprint xv zlib" since it was flac.c that failed, my flac version is: [I--] [ ] media-libs/flac-1.1.0-r2 (0)
what version of flac ?
[I--] [ ] media-libs/flac-1.1.0-r2 (0) or do you mean any other package?
nope, that's the package i meant sdl-sound builds for me with flac-1.1.0-r2 and flac-1.1.1 ... if you re-emerge flac and then sdl-sound does it still fail ? can you post the log of `emerge sdl-sound >& log` ?
Created attachment 41701 [details] log file (from /var/log/portage) here it is
i assume 1.1.1 fails in the same way ? is 'FLAC__StreamMetadata' defined in /usr/include/FLAC/ somewhere ?
well, I had a manual installation of flace in /usr/local which causes this problems. sorry for the trouble