wanted to emerge ardour on a ~x86 sytem and libsamplerate is the first dependency it tried to emerge .. this ends the following way: make[1]: Entering directory `/var/tmp/portage/libsamplerate-0.0.14/work/libsamplerate-0.0.14/examples' source='sndfile-resample.c' object='sndfile_resample-sndfile-resample.o' libtool=no \ depfile='.deps/sndfile_resample-sndfile-resample.Po' tmpdepfile='.deps/sndfile_resample-sndfile-resample.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../src -I./../src -march=athlon-xp -O3 -pipe -W -Wstrict-prototypes -Wmissing-prototypes -Wall -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -pipe -c -o sndfile_resample-sndfile-resample.o `test -f 'sndfile-resample.c' || echo './'`sndfile-resample.c source='varispeed-play.c' object='varispeed_play-varispeed-play.o' libtool=no \ depfile='.deps/varispeed_play-varispeed-play.Po' tmpdepfile='.deps/varispeed_play-varispeed-play.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../src -I./../src -march=athlon-xp -O3 -pipe -W -Wstrict-prototypes -Wmissing-prototypes -Wall -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -pipe -c -o varispeed_play-varispeed-play.o `test -f 'varispeed-play.c' || echo './'`varispeed-play.c sndfile-resample.c: In function `main': sndfile-resample.c:103: structure has no member named `frames' sndfile-resample.c:141: `SFC_SET_ADD_PEAK_CHUNK' undeclared (first use in this function) sndfile-resample.c:141: (Each undeclared identifier is reported only once sndfile-resample.c:141: for each function it appears in.) sndfile-resample.c:145: `SFC_SET_UPDATE_HEADER_AUTO' undeclared (first use in this function) make[1]: *** [sndfile_resample-sndfile-resample.o] Error 1 make[1]: *** Waiting for unfinished jobs.... varispeed-play.c: In function `varispeed_play': varispeed-play.c:136: warning: implicit declaration of function `sf_strerror' varispeed-play.c:136: warning: passing arg 1 of `puts' makes pointer from integer without a cast varispeed-play.c: In function `varispeed_get_data': varispeed-play.c:217: structure has no member named `frames' make[1]: *** [varispeed_play-varispeed-play.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/libsamplerate-0.0.14/work/libsamplerate-0.0.14/examples' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/libsamplerate-0.0.14 failed. !!! Function src_compile, Line 22, Exitcode 2 !!! compile failed this even happens with -O1 .. emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.2.9 ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/root/pkgs" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif mozilla ldap cdr scanner opengl hyriand"
Works for me. Can you attach the config.log as a text/plain please?
Hmmm, what version of sndfile do you have installed?
*** This bug has been marked as a duplicate of 32697 ***