Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32723 - media-libs/libsamplerate-0.0.14 fails to compile
Summary: media-libs/libsamplerate-0.0.14 fails to compile
Status: RESOLVED DUPLICATE of bug 32697
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 09:01 UTC by Michael Hellwig
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hellwig 2003-11-04 09:01:39 UTC
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"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-04 15:26:13 UTC
Works for me.  Can you attach the config.log as a text/plain please?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-11-04 15:30:41 UTC
Hmmm, what version of sndfile do you have installed?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-11-04 15:56:03 UTC

*** This bug has been marked as a duplicate of 32697 ***