I have repeated compile failures, despite attempts to correct it. I've tried the -oggvorbis, -sdl -xmms variations to coax it into compiling, but to no avail. I really don't know where to start looking for 'audio collect2' as I'm a bit of a newbie. Here is the consistent output from the process at/near its failure point: /usr/qt/3/bin/moc ./madness.h -o madness.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. `/usr/bin/sdl-config --cflags` -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c -o madness.lo `test -f 'madness.cpp' || echo './'`madness.cpp In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/iostream.h:31, from madness.cpp:17: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -o noatunmadness.la.closure noatunmadness_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -no-undefined `/usr/bin/sdl-config --libs` madness.lo -lkio -lnoatun -lm /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -laudio collect2: ld returned 1 exit status make[3]: *** [noatunmadness.la.closure] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdeaddons-3.1.2/work/kdeaddons-3.1.2/noatun-plugins/noatunmadness' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdeaddons-3.1.2/work/kdeaddons-3.1.2/noatun-plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdeaddons-3.1.2/work/kdeaddons-3.1.2' make: *** [all] Error 2 !!! ERROR: kde-base/kdeaddons-3.1.2 failed. !!! Function kde_src_compile, Line 123, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. USE flags: asla jack (-)sdl (-)oggvorbis (-)xmms 2. emerge kdeaddons 3. Actual Results: See Details field. Expected Results: e-build kdeaddons 3.1.2 I have chosen to go with ALSA, and optionaly with jack. libesd has also been installed along the way, but I don't know enough about how these various libs work or don't work with each other.
The documentation of Linux audio seems a bit far flung. Thanks for getting a good start on this problem with your ALSA guide. What would also be helpful to newbies like myself is a paragraph or table indicating where these various libs fight in general, and/or some tips on lib selection. Thanks for producing Gentoo, nice distro.
Try to remerge sdl, it looks like your sdl is linked to a library that doesn't exist anymore.
Above comments should fix the bug. Closing.