[linux-audio-dev] ams compile issues [was: qsynth configure script fails on debian [qt]]
Frank Neumann
Frank.Neumann at st.com
Wed Jan 7 12:40:32 UTC 2004
Hi list,
on Sunday eric at zhevny.com 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.
[..]
> 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*)'
To all those who do not read alsamodular-devel: The fix here is to add
two lines at the top of alsa_driver.h, just BEFORE the #include
<alsa/asoundlib.h> line:
#define ALSA_PCM_OLD_HW_PARAMS_API
#define ALSA_PCM_OLD_SW_PARAMS_API
That should compile and link ams-1.7.1 fine for you.
Frank
More information about the Linux-audio-dev
mailing list