Emerging esound 0.2.32-r1 fails. I am running a 2.6.1 kernel with the 0.9.6 alsa drivers. See the debug output below. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: make all-recursive make[1]: Entering directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32' Making all in docs make[2]: Entering directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32/docs' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32/docs' make[2]: Entering directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdlib.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdlib.c -fPIC -o .libs/esdlib.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdlib.c -o esdlib.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdmgr.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdmgr.c -fPIC -o .libs/esdmgr.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdmgr.c -o esdmgr.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdfile.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdfile.c -fPIC -o .libs/esdfile.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esdfile.c -o esdfile.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esd_config.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esd_config.c -fPIC -o .libs/esd_config.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c esd_config.c -o esd_config.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c audio.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Werror -c audio.c -fPIC -o .libs/audio.o In file included from audio.c:27: audio_alsa09.c: In function `initAlsa': audio_alsa09.c:144: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes integer from pointer without a cast audio_alsa09.c:192: warning: passing arg 3 of `snd_pcm_hw_params_set_buffer_size_near' makes integer from pointer without a cast make[2]: *** [audio.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/esound-0.2.32-r1/work/esound-0.2.32' make: *** [all-recursive-am] Error 2 !!! ERROR: media-sound/esound-0.2.32-r1 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! (no error message)
any reason you havent upgraded to latest stable of 0.9.8 ?
Sorry, my mistake. I have alsa lib + utils 0.9.8 installed, not 0.9.6. The alsa drivers are from the kernel (vanilla 2.6.1). Do the alsa 1.0.2 tools compile with a 2.6 kernel now or do I need to patch the alsa drivers in the kernel to a newer version?
yes, 1.0.2 works fine with 2.6 kernels
Upgrading alsa to 1.0.2 fixed it. Esound emerges fine now. Thanks.