Making all in alsa make[4]: Entering directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins/iostream/alsa' if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -MT alsastream.lo -MD -MP -MF ".deps/alsastream.Tpo" \ -c -o alsastream.lo `test -f 'alsastream.cc' || echo './'`alsastream.cc; \ then mv -f ".deps/alsastream.Tpo" ".deps/alsastream.Plo"; \ else rm -f ".deps/alsastream.Tpo"; exit 1; \ fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -MT alsastream.lo -MD -MP -MF .deps/alsastream.Tpo -c alsastream.cc -fPIC -DPIC -o .libs/alsastream.o alsastream.cc: In member function `virtual void PIAVE::OutALSAStream::init(PIAVE::Frame&)': alsastream.cc:219: error: invalid conversion from `unsigned int*' to `unsigned int' /usr/include/alsa/pcm.h:678: error: too many arguments to function `int snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t*)' alsastream.cc:240: error: at this point in file make[4]: *** [alsastream.lo] Fehler 1 make[4]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins/iostream/alsa' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins/iostream' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4' make: *** [all] Fehler 2 !!! ERROR: media-video/piave-0.2.4 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3.
i am running kernel 2.6.3 here, with i810 soundcard alsa and arts are in useflags
Did you try to drop your CFLAGS? I have successfully compiled piave on 3 different machines with kernels 2.4, 2.6.3 and 2.6.4 Which headers do you use?
Have a look at http://forums.gentoo.org/viewtopic.php?t=153131
refering to the kdenlive mailinglist, upgrading alsa-libs to version > 1.0 fixes the problem. thanks for your help
Marc, you're the maintainer, the herd is "no-herd" and I can't find you listed in cvs under gentoo/misc/herds.xml!? This bug is assigned to kde@g.o and I want to propose circumventing a complex ( kernel 2.4 && alsa-driver ) || kernel 2.6 dependency and adding >=media-sound/alsa-utils-1.0.3 instead. What do you think?
No update since over half a year. I think this can be closed for now as only alpha has a stable alsa-libs<1.0 and piave is not keyworded on alpha right now. Please reopen if this is still an issue.