Hello Eric, this is a known problem with ALSA 1.0 incompatibility. Has been fixed in CVS. Solution (from an earlier posing on this list):
> Just make the beginning of alsa_driver.h look like this: > > #ifndef __ALSA_DRIVER_H > #define __ALSA_DRIVER_H > > #define ALSA_PCM_OLD_HW_PARAMS_API /* <-- These are the lines */ > #define ALSA_PCM_OLD_SW_PARAMS_API /* <-- you need to paste in*/ > > #include <alsa/asoundlib.h> Matthias On Sat, 3 Jan 2004, Eric Dantan Rzewnicki wrote: > I found and installed libqt3-compat-headers. The compile got much > further this time, but still no joy. There are a lot of compiler > warnings and errors. The errors would seem to indicate I'm using an > incompatible alsa version (or ams' alsa support is outdated ... ) I'm > working with the most recent tarball of ams-1.7.1 from sourceforge. > > My current settup: (tail end of compiler errors below) > PII 400 768MB > 6GB / /dev/hda2 > 60GB /mnt/audio/ /dev/hdc1 > drives tuned > 128MB swap /dev/hda1 > M-Audio Delta-66 w/omni i/o > > debian testing (sarge) > 2.4.22-box1-pell-1 > alsa-1.0.0rc2 > ./configure --with-isapnp=no --with-sequencer=yes --with-oss=no \ > --with-cards=dummy,virmidi,serial-u16550,mpu401,ice1712,ymfpci > libsndfile-1.0.5 > from tar.gz. debian only had 1.0.4 > jack-0.91.1 > ./configure --enable-optimize --with-default-tmpdir=/mnt/ramfs/ > --disable-portaudio > ecasound-2.3.2 > ./configure --enable-pyecasound --disable-oss --disable-arts > > > /usr/include/alsa/pcm.h:604: error: too few arguments to function `int > snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t*, unsigned > int*, > int*)' > alsa_driver.cc:150: error: at this point in file > /usr/include/alsa/pcm.h:539: error: too few arguments to function `int > snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t*, > snd_pcm_format_t*)' > alsa_driver.cc:151: error: at this point in file > /usr/include/alsa/pcm.h:531: error: too few arguments to function `int > snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t*, > snd_pcm_access_t*)' > alsa_driver.cc:152: error: at this point in file > alsa_driver.cc:157: error: invalid conversion from `int*' to ` > snd_pcm_uframes_t*' > /usr/include/alsa/pcm.h:591: error: too few arguments to function `int > snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t*, > snd_pcm_uframes_t*, int*)' > alsa_driver.cc:157: error: at this point in file > alsa_driver.cc:157: warning: comparison between signed and unsigned > integer > expressions > alsa_driver.cc:165: error: invalid conversion from `int*' to `unsigned > int*' > /usr/include/alsa/pcm.h:604: error: too few arguments to function `int > snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t*, unsigned > int*, > int*)' > alsa_driver.cc:165: error: at this point in file > alsa_driver.cc:165: warning: comparison between signed and unsigned > integer > expressions > /usr/include/alsa/pcm.h:539: error: too few arguments to function `int > snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t*, > snd_pcm_format_t*)' > alsa_driver.cc:170: error: at this point in file > /usr/include/alsa/pcm.h:531: error: too few arguments to function `int > snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t*, > snd_pcm_access_t*)' > alsa_driver.cc:175: error: at this point in file > alsa_driver.cc:183: error: invalid conversion from `int*' to `unsigned > int*' > /usr/include/alsa/pcm.h:604: error: too few arguments to function `int > snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t*, unsigned > int*, > int*)' > alsa_driver.cc:183: error: at this point in file > /usr/include/alsa/pcm.h:539: error: too few arguments to function `int > snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t*, > snd_pcm_format_t*)' > alsa_driver.cc:184: error: at this point in file > /usr/include/alsa/pcm.h:531: error: too few arguments to function `int > snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t*, > snd_pcm_access_t*)' > alsa_driver.cc:185: error: at this point in file > alsa_driver.cc: In member function `int Alsa_driver::pcm_start()': > alsa_driver.cc:304: warning: comparison between signed and unsigned > integer > expressions > alsa_driver.cc: In member function `int > Alsa_driver::set_hwpar(snd_pcm_t*, > snd_pcm_hw_params_t*, int*)': > alsa_driver.cc:547: error: invalid conversion from `long unsigned int' > to ` > unsigned int*' > /usr/include/alsa/pcm.h:557: error: too few arguments to function `int > snd_pcm_hw_params_get_channels_max(const snd_pcm_hw_params_t*, > unsigned > int*)' > alsa_driver.cc:553: error: at this point in file > make: *** [alsa_driver.o] Error 1 > > > > Frank Barknecht wrote: > > > > Hallo, > > Eric Dantan Rzewnicki hat gesagt: // Eric Dantan Rzewnicki wrote: > > > > > Well ... no luck. The compile will start, but fails with a lot of errors > > > -- see below ... I'm sending this to the alsamodular-devel list as well, > > > but that list seems to be pretty much inactive (only 6 posts in past 5 > > > months). I've heard great things about this synth, but have thus far > > > been unable to hear it for myself. > > > > > > Eric Dantan Rzewnicki wrote: > > > > When I get home I'll try this on my debian testing (sarge) audio box and > > > > see how far I get. Thanks. > > > > > > > > -Eric Rz. > > > > > > /usr/share/qt3/doc/html/qlist.html is the only file on my system that > > > comes up in a locate qlist ... it says: > > > "QList Class Reference (obsolete) > > > #include <qlist.h> > > > The QList class has been renamed QPtrList in Qt 3.0. " > > > > Hah, I stumbled over that on Debian, too, but I did find a solution. > > You're missing some old headers that aren't anymore in recent QTs > > unless you install a package that in D. unstable now is called > > libqt3-compat-headers. > > > > But IIRC it was named slightly else on older Debians, although very > > similar. Maybe qt3-compat? I'm not sure right now. > > > > ciao > > -- > > Frank Barknecht _ ______footils.org__ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Alsamodular-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsamodular-devel > -- Dr. Matthias Nagorni SuSE Linux AG Maxfeldstr. 5 phone: +49 911 74053375 D - 90409 Nuernberg fax : +49 911 74053483
