Hi Michael, this is a problem with piave and ALSA version < 1.0, piave doesn't correctly handle the old alsa version. This problem will be fixed as soon as I have acces to a box with an old ALSA installation. This will be in about two weeks from now.
Cheers, Rolf On Thursday 18 March 2004 19:42, Michael wrote: > Hello, > > first: my English isn't very good (i'm from Germany). Please excuse. > > I'm using SuSE-Linux 8.2 with kernel 2.4.20. > > Now my problem: > > I downloaded from Your web-page the piave-sources 0.2.4. When compiling > the folowing error-message comes up during compiling: > > > > > > > Making all in alsa > make[4]: Entering directory `/extern/piave-0.2.4/plugins/iostream/alsa' > if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > -I../../.. -I/opt/kde3/include/arts -g -O2 -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 > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/kde3/include/arts -g -O2 > -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:674: 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]: Leaving directory `/extern/piave-0.2.4/plugins/iostream/alsa' > make[4]: *** [alsastream.lo] Fehler 1 > make[3]: Leaving directory `/extern/piave-0.2.4/plugins/iostream' > make[3]: *** [all-recursive] Fehler 1 > make[2]: Leaving directory `/extern/piave-0.2.4/plugins' > make[2]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory `/extern/piave-0.2.4' > make[1]: *** [all-recursive] Fehler 1 > make: *** [all] Fehler 2 > > > > > Can You please help me to find the reason for this error-message and > eliminate it? An attachment to this mail are the files config.log and > config.status from compiling. > > Thanks very much. > Bye > Michael Izban -- contacts: http://www.physi.uni-heidelberg.de/~dubitzky
