[linux-audio-dev] ams compile issues [was: qsynth configure script fails on debian [qt]]

Eric Dantan Rzewnicki eric at zhevny.com
Sun Jan 4 01:28:58 UTC 2004


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__



More information about the Linux-audio-dev mailing list