I can't install esound (cd .libs && rm -f libesddsp.so && ln -s libesddsp.so.0.2.34 libesddsp.so) ar cru .libs/libesddsp.a esddsp.o ranlib .libs/libesddsp.a creating libesddsp.la (cd .libs && rm -f libesddsp.la && ln -s ../libesddsp.la libesddsp.la) gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -c esdcat.c esdcat.c: In function `main': esdcat.c:83: note: file esdcat.gcda not found, execution counts assumed to be zero /bin/sh ./libtool --mode=link gcc -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -o esdcat.gcno esdcat.o libesd.la -lasound gcc -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -o .libs/esdcat.gcno esdcat.o ./.libs/libesd.so /usr/lib/libasound.so -lm -ldl -lpthread ./.libs/libesd.so: undefined reference to `afGetSampleFormat' ./.libs/libesd.so: undefined reference to `afReadFrames' ./.libs/libesd.so: undefined reference to `afGetChannels' ./.libs/libesd.so: undefined reference to `afCloseFile' ./.libs/libesd.so: undefined reference to `afGetRate' ./.libs/libesd.so: undefined reference to `afGetFrameCount' ./.libs/libesd.so: undefined reference to `afOpenFile' ./.libs/libesd.so: undefined reference to `afGetTrackBytes' collect2: ld returned 1 exit status make[2]: *** [esdcat.gcno] Error 1 make[2]: Leaving directory `/var/tmp/portage/esound-0.2.34/work/esound-0.2.34' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/esound-0.2.34/work/esound-0.2.34' make: *** [all-recursive-am] Error 2 pc01 / # emerge audiofile -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/audiofile-0.2.6-r1 pc01 / # emerge info Portage 2.0.51_rc9 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-nitro6 i686) ================================================================= System uname: 2.6.8-nitro6 i686 Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21-r1,sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities" DISTDIR="/distgnome" FEATURES="autoaddcvs buildpkg ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ ftp://mir.zyrianes.net/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="3dnow X acpi alsa apache2 apm arts atm avi berkdb bitmap-fonts bonobo bzlib cdr crypt cups divx4linux dvd dvdr eds encode esd evo f2c f77 foomaticdb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal imlib java joystick jpeg libg++ libwww lzw-tiff mad mikmod mmx mng mono motif mozdevelop mozilla moznoirc moznomail mozsvg mozxmltermmoznoirc mpeg mysql ncurses nls oggvorbis opengl pam pda pdflib perl pic png ppds python quicktime readline ruby samba sdl sed slang spell ssl svg svga tcpd theora tiff truetype unicode userlocales x86 xml xml2 xmms xprint xv zlib" Reproducible: Always Steps to Reproduce: 1. 2. 3.
do you have media-libs/audiofile installed?
yes # emerge audiofile -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/audiofile-0.2.6-r1 I think this doesn't happen with 0.2.35(Masked), because I've installed it without any problem.
hrmm, it works for me .. the only difference is that i have /usr/lib/libaudiofile.la in that last compile command. can you attach the full build log and also config.log from the build directory? thanks
config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:770: checking for a BSD compatible install configure:823: checking whether build environment is sane configure:880: checking whether make sets ${MAKE} configure:926: checking for working aclocal-1.4 configure:939: checking for working autoconf configure:952: checking for working automake-1.4 configure:965: checking for working autoheader configure:978: checking for working makeinfo configure:993: checking whether to enable maintainer-specific portions of Makefiles configure:1019: checking for gcc configure:1132: checking whether the C compiler (gcc -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities ) works configure:1148: gcc -o conftest -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:1145: note: file conftest.gcda not found, execution counts assumed to be zero configure:1174: checking whether the C compiler (gcc -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities ) is a cross-compiler configure:1179: checking whether we are using GNU C configure:1188: gcc -E conftest.c configure:1207: checking whether gcc accepts -g configure:1239: checking how to run the C preprocessor configure:1260: gcc -E conftest.c >/dev/null 2>conftest.out configure:1331: checking for Cygwin environment configure:1347: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:1343: error: `__CYGWIN32__' undeclared (first use in this function) configure:1343: error: (Each undeclared identifier is reported only once configure:1343: error: for each function it appears in.) configure: failed program was: #line 1336 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:1364: checking for mingw32 environment configure:1376: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:1372: error: `__MINGW32__' undeclared (first use in this function) configure:1372: error: (Each undeclared identifier is reported only once configure:1372: error: for each function it appears in.) configure: failed program was: #line 1369 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:1468: checking host system type configure:1489: checking build system type configure:1518: checking for ld used by GCC configure:1586: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld GNU ld version 2.15.92.0.2 20040927 configure:1603: checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files configure:1615: checking for BSD-compatible nm configure:1653: checking for a sed that does not truncate output configure:1737: checking whether ln -s works configure:1758: checking how to recognise dependent libraries configure:1944: checking for object suffix configure:1950: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure:1970: checking for executable suffix configure:1980: gcc -o conftest -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 conftest.c: In function `main': conftest.c:1: note: file conftest.gcda not found, execution counts assumed to be zero configure:2011: checking command to parse /usr/bin/nm -B output configure:2094: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 conftest.c: In function `nm_test_func': conftest.c:5: note: file conftest.gcda not found, execution counts assumed to be zero configure:2097: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm configure:2148: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c conftstm.o 1>&5 configure:2197: checking for dlfcn.h configure:2207: gcc -E conftest.c >/dev/null 2>conftest.out configure:2376: checking for ranlib configure:2443: checking for strip configure:2545: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure:2972: checking for objdir configure:2999: checking for gcc option to produce PIC configure:3147: checking if gcc PIC flag -fPIC works configure:3161: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -fPIC -DPIC conftest.c 1>&5 configure: In function `main': configure:3158: note: file conftest.gcda not found, execution counts assumed to be zero configure:3213: checking if gcc static flag -static works configure:3228: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -static conftest.c 1>&5 configure: In function `main': configure:3225: note: file conftest.gcda not found, execution counts assumed to be zero configure:3255: checking if gcc supports -c -o file.o configure:3274: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -o out/conftest2.o conftest.c 1>&5 configure:3303: checking if gcc supports -c -o file.lo configure:3321: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -c -o conftest.lo conftest.c 1>&5 configure: In function `main': configure:3318: note: file conftest.gcda not found, execution counts assumed to be zero configure:3371: checking if gcc supports -fno-rtti -fno-exceptions configure:3384: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure: In function `main': configure:3381: note: file conftest.gcda not found, execution counts assumed to be zero cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure: In function `main': configure:3381: note: file conftest.gcda not found, execution counts assumed to be zero configure:3411: checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries configure:4110: checking how to hardcode library paths into programs configure:4138: checking whether stripping libraries is possible configure:4152: checking dynamic linker characteristics configure:4570: checking if libtool supports shared libraries configure:4574: checking whether to build shared libraries configure:4597: checking whether to build static libraries configure:5133: checking whether -lc should be explicitly linked in configure:5140: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure:5153: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep -lc >/dev/null 2>&1 configure:5747: checking host system type configure:5768: checking whether make sets ${MAKE} configure:5807: checking for a BSD compatible install configure:5862: checking for working const configure:5916: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:5913: note: file conftest.gcda not found, execution counts assumed to be zero configure:5937: checking whether byte ordering is bigendian configure:5955: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:5952: note: file conftest.gcda not found, execution counts assumed to be zero configure:5970: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:5965: error: `not' undeclared (first use in this function) configure:5965: error: (Each undeclared identifier is reported only once configure:5965: error: for each function it appears in.) configure:5965: error: parse error before "big" configure: failed program was: #line 5959 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> int main() { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } configure:6027: checking for inline configure:6041: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6036: note: file conftest.gcda not found, execution counts assumed to be zero configure:6071: checking for working alloca.h configure:6083: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6080: note: file conftest.gcda not found, execution counts assumed to be zero configure:6104: checking for alloca configure:6137: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6134: note: file conftest.gcda not found, execution counts assumed to be zero configure:6305: checking for setenv configure:6333: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6330: note: file conftest.gcda not found, execution counts assumed to be zero configure:6305: checking for putenv configure:6333: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6330: note: file conftest.gcda not found, execution counts assumed to be zero configure:6305: checking for fchown configure:6333: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6330: note: file conftest.gcda not found, execution counts assumed to be zero configure:6305: checking for fchmod configure:6333: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6330: note: file conftest.gcda not found, execution counts assumed to be zero configure:6305: checking for gethostbyname2 configure:6333: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6330: note: file conftest.gcda not found, execution counts assumed to be zero configure:6358: checking for connect configure:6386: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6383: note: file conftest.gcda not found, execution counts assumed to be zero configure:6453: checking for gethostbyname configure:6481: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6478: note: file conftest.gcda not found, execution counts assumed to be zero configure:6548: checking for hstrerror configure:6576: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6573: note: file conftest.gcda not found, execution counts assumed to be zero configure:6643: checking for nanosleep configure:6671: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6668: note: file conftest.gcda not found, execution counts assumed to be zero configure:6788: checking for usleep configure:6816: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6813: note: file conftest.gcda not found, execution counts assumed to be zero configure:6843: checking for strtok_r configure:6871: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6868: note: file conftest.gcda not found, execution counts assumed to be zero configure:6898: checking for inet_pton configure:6926: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:6923: note: file conftest.gcda not found, execution counts assumed to be zero configure:7124: gcc -c -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:7121: note: file conftest.gcda not found, execution counts assumed to be zero configure:7139: checking whether to enable ipv6 configure:7346: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:7343: note: file conftest.gcda not found, execution counts assumed to be zero configure:7360: checking for getopt_long configure:7388: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:7385: note: file conftest.gcda not found, execution counts assumed to be zero configure:7423: checking for sys/filio.h configure:7433: gcc -E conftest.c >/dev/null 2>conftest.out configure:7429:23: sys/filio.h: No such file or directory configure: failed program was: #line 7428 "configure" #include "confdefs.h" #include <sys/filio.h> configure:7423: checking for sys/ioctl.h configure:7433: gcc -E conftest.c >/dev/null 2>conftest.out configure:7498: checking for soundcard.h configure:7508: gcc -E conftest.c >/dev/null 2>conftest.out configure:7504:23: soundcard.h: No such file or directory configure: failed program was: #line 7503 "configure" #include "confdefs.h" #include <soundcard.h> configure:7498: checking for sys/soundcard.h configure:7508: gcc -E conftest.c >/dev/null 2>conftest.out configure:7498: checking for machine/soundcard.h configure:7508: gcc -E conftest.c >/dev/null 2>conftest.out configure:7504:31: machine/soundcard.h: No such file or directory configure: failed program was: #line 7503 "configure" #include "confdefs.h" #include <machine/soundcard.h> configure:7498: checking for sys/audio.h configure:7508: gcc -E conftest.c >/dev/null 2>conftest.out configure:7504:23: sys/audio.h: No such file or directory configure: failed program was: #line 7503 "configure" #include "confdefs.h" #include <sys/audio.h> configure:7538: checking for sys/audioio.h configure:7548: gcc -E conftest.c >/dev/null 2>conftest.out configure:7544:25: sys/audioio.h: No such file or directory configure: failed program was: #line 7543 "configure" #include "confdefs.h" #include <sys/audioio.h> configure:7538: checking for sys/audio.io.h configure:7548: gcc -E conftest.c >/dev/null 2>conftest.out configure:7544:26: sys/audio.io.h: No such file or directory configure: failed program was: #line 7543 "configure" #include "confdefs.h" #include <sys/audio.io.h> configure:7538: checking for sun/audioio.h configure:7548: gcc -E conftest.c >/dev/null 2>conftest.out configure:7544:25: sun/audioio.h: No such file or directory configure: failed program was: #line 7543 "configure" #include "confdefs.h" #include <sun/audioio.h> configure:7578: checking for dmedia/audio.h configure:7588: gcc -E conftest.c >/dev/null 2>conftest.out configure:7584:26: dmedia/audio.h: No such file or directory configure: failed program was: #line 7583 "configure" #include "confdefs.h" #include <dmedia/audio.h> configure:7578: checking for sys/soundlib.h configure:7588: gcc -E conftest.c >/dev/null 2>conftest.out configure:7584:26: sys/soundlib.h: No such file or directory configure: failed program was: #line 7583 "configure" #include "confdefs.h" #include <sys/soundlib.h> configure:7578: checking for sys/asoundlib.h configure:7588: gcc -E conftest.c >/dev/null 2>conftest.out In file included from configure:7584: /usr/include/sys/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead. configure: failed program was: #line 7583 "configure" #include "confdefs.h" #include <sys/asoundlib.h> configure:7578: checking for alsa/asoundlib.h configure:7588: gcc -E conftest.c >/dev/null 2>conftest.out configure:7618: checking for CoreAudio/CoreAudio.h configure:7628: gcc -E conftest.c >/dev/null 2>conftest.out configure:7624:33: CoreAudio/CoreAudio.h: No such file or directory configure: failed program was: #line 7623 "configure" #include "confdefs.h" #include <CoreAudio/CoreAudio.h> configure:7661: checking for mme/mme_api.h configure:7671: gcc -E -I/usr/include/mme conftest.c >/dev/null 2>conftest.out configure:7667:25: mme/mme_api.h: No such file or directory configure: failed program was: #line 7666 "configure" #include "confdefs.h" #include <mme/mme_api.h> configure:7829: checking for _oss_ioctl configure:7857: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:7854: note: file conftest.gcda not found, execution counts assumed to be zero /var/tmp/portage/esound-0.2.34/temp/cctjryUH.o(.text+0xd): In function `main': : undefined reference to `_oss_ioctl' collect2: ld returned 1 exit status configure: failed program was: #line 7834 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _oss_ioctl(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _oss_ioctl(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__oss_ioctl) || defined (__stub____oss_ioctl) choke me #else _oss_ioctl(); #endif ; return 0; } configure:7875: checking for _oss_ioctl in -lossaudio configure:7894: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lossaudio 1>&5 configure: In function `main': configure:7891: note: file conftest.gcda not found, execution counts assumed to be zero /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lossaudio collect2: ld returned 1 exit status configure: failed program was: #line 7883 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _oss_ioctl(); int main() { _oss_ioctl() ; return 0; } configure:7924: checking for ALnewconfig configure:7952: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:7949: note: file conftest.gcda not found, execution counts assumed to be zero /var/tmp/portage/esound-0.2.34/temp/ccm2AtQy.o(.text+0xd): In function `main': : undefined reference to `ALnewconfig' collect2: ld returned 1 exit status configure: failed program was: #line 7929 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char ALnewconfig(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ALnewconfig(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_ALnewconfig) || defined (__stub___ALnewconfig) choke me #else ALnewconfig(); #endif ; return 0; } configure:7970: checking for ALnewconfig in -laudio configure:7989: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -laudio 1>&5 configure: In function `main': configure:7986: note: file conftest.gcda not found, execution counts assumed to be zero /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -laudio collect2: ld returned 1 exit status configure: failed program was: #line 7978 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ALnewconfig(); int main() { ALnewconfig() ; return 0; } configure:8020: checking for snd_cards configure:8048: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:8045: note: file conftest.gcda not found, execution counts assumed to be zero /var/tmp/portage/esound-0.2.34/temp/ccidtae5.o(.text+0xd): In function `main': : undefined reference to `snd_cards' collect2: ld returned 1 exit status configure: failed program was: #line 8025 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char snd_cards(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snd_cards(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_snd_cards) || defined (__stub___snd_cards) choke me #else snd_cards(); #endif ; return 0; } configure:8066: checking for snd_cards in -lsound configure:8085: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lsound 1>&5 configure: In function `main': configure:8082: note: file conftest.gcda not found, execution counts assumed to be zero /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsound collect2: ld returned 1 exit status configure: failed program was: #line 8074 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snd_cards(); int main() { snd_cards() ; return 0; } configure:8115: checking for snd_cards configure:8161: checking for snd_cards in -lasound configure:8180: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lasound 1>&5 configure: In function `main': configure:8177: note: file conftest.gcda not found, execution counts assumed to be zero /var/tmp/portage/esound-0.2.34/temp/ccWkKHPL.o(.text+0xd): In function `main': : undefined reference to `snd_cards' collect2: ld returned 1 exit status configure: failed program was: #line 8169 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snd_cards(); int main() { snd_cards() ; return 0; } configure:8210: checking for snd_pcm_pause configure:8238: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c 1>&5 configure: In function `main': configure:8235: note: file conftest.gcda not found, execution counts assumed to be zero /var/tmp/portage/esound-0.2.34/temp/ccyP8pXE.o(.text+0xd): In function `main': : undefined reference to `snd_pcm_pause' collect2: ld returned 1 exit status configure: failed program was: #line 8215 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char snd_pcm_pause(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snd_pcm_pause(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_snd_pcm_pause) || defined (__stub___snd_pcm_pause) choke me #else snd_pcm_pause(); #endif ; return 0; } configure:8256: checking for snd_pcm_pause in -lasound configure:8275: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lasound 1>&5 configure: In function `main': configure:8272: note: file conftest.gcda not found, execution counts assumed to be zero configure:8325: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities -Werror conftest.c -lasound 1>&5 configure: In function `main': configure:8320: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast configure: failed program was: #line 8309 "configure" #include "confdefs.h" #include <alsa/asoundlib.h> int main() { snd_pcm_t *pcm; snd_pcm_hw_params_t *params; unsigned int val; int dir; /* intentionally not uses pointers, trying to replicate bug 129709 */ snd_pcm_hw_params_set_rate_near(pcm, params, val, &dir); ; return 0; } configure:8421: checking for audiofile-config configure:8456: checking for Audio File Library - version >= 0.1.5 configure:8545: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lasound -L/usr/lib -laudiofile -lm 1>&5 configure: In function `my_strdup': configure:8508: note: file conftest.gcda not found, execution counts assumed to be zero configure: failed program was: #line 8487 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <audiofile.h> char* my_strdup (char *str) { char *new_str; if (str) { new_str = malloc ((strlen (str) + 1) * sizeof(char)); strcpy (new_str, str); } else new_str = NULL; return new_str; } int main () { int major, minor, micro; char *tmp_version; system ("touch conf.audiofiletest"); /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = my_strdup("0.1.5"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "0.1.5"); exit(1); } if ((0 > major) || ((0 == major) && (2 > minor)) || ((0 == major) && (2 == minor) && (6 >= micro))) { return 0; } else { printf("\n*** 'audiofile-config --version' returned %d.%d.%d, but the minimum version\n", 0, 2, 6); printf("*** of the Audio File Library required is %d.%d.%d. If audiofile-config is correct, then it is\n", major, minor, micro); printf("*** best to upgrade to the required version.\n"); printf("*** If audiofile-config was wrong, set the environment variable AUDIOFILE_CONFIG\n"); printf("*** to point to the correct copy of audiofile-config, and remove the file\n"); printf("*** config.cache before re-running configure\n"); return 1; } } configure:8610: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lasound -L/usr/lib -laudiofile -lm 1>&5 configure: In function `main': configure:8607: note: file conftest.gcda not found, execution counts assumed to be zero configure:8699: checking for db2html configure:8736: checking for db2ps configure:8786: checking for tcp_wrapper library and headers configure:8800: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lasound -lwrap 1>&5 configure: In function `main': configure:8797: note: file conftest.gcda not found, execution counts assumed to be zero configure:8848: checking if your platform supports esddsp configure:8858: checking for dlopen configure:8886: gcc -o conftest.gcno -O3 -march=athlon-xp -funroll-loops -fomit-frame-pointer -ffast-math -fbranch-probabilities conftest.c -lasound 1>&5 configure: In function `main': configure:8883: note: file conftest.gcda not found, execution counts assumed to be zero
still a problem ? _attach_ the config.log and the other requested info. Just c&p it makes the bug unreadable (as you can see).
i hit this bug aswell with esound-0.2.35. /usr/lib/libasound.so belongs to alsa-lib. esound with alsa use-flag breaks. without alsa it does not because then it uses audiofile's lib. the undefined references point to audiofile functions => afBlah so there should be an if-else-block wether to use audiofile functions or alsa functions or alike. or a patch that replaces the audiofile functions with alsa in use-flags. i dig into it later.
well, i re-emerged audiofile and this time it went fine.