(*** This bug was imported into bugs.kde.org ***) Package: artsd Version: KDE 3.0.5 CVS/CVSup/Snapshot Severity: normal Installed from: Compiled sources Compiler: gcc 2.95.3 OS: Linux OS/Compiler notes: Not Specified The whole story: I've alsa 0.9 without oss support. I've compiled CVS arts with --enable-alsa. grep "ALSA" config.h -B 1 -A 1 /* Define if you have the <alsa/asoundlib.h> header file. */ #define HAVE_ALSA_ASOUNDLIB_H 1 /* Define if you have libasound.so.1 (required for ALSA 0.5.x support) */ /* #undef HAVE_LIBASOUND */ /* Define if you have libasound.so.2 (required for ALSA 0.9.x support) */ /* #undef HAVE_LIBASOUND2 */ and in config.log configure:25179: checking for snd_seq_create_simple_port in -lasound configure:25206: gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-ari th -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 - O3 -march=i686 -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/X11R6/lib -L/usr/local/ qt3/lib -L${exec_prefix}/lib conftest.c -lasound >&5 /lib/libm.so.6: undefined reference to `atexit' so the function is there but that stupid atexit breaks the compilation of the test... Once that is solved alsa would be in... (Submitted via bugs.kde.org)
It will work is AC_LANG(C++) is selected... Shoudn't this test (and the others) be made with C++ language set? ALSA is C code, but we're compiling with C++ (and without extern "C" { #include <alsa/asoundlib.h> }).
this looks like an system problem since if you have Alsa 0.9.x HAVE_LIBASOUND2 should be defined but it's not. Even without using --enable-alsa, on my system alsa is detected fine.