Compilation issues

I have a similar issue to that spelled out here;

http://www.libsdl.org/pipermail/sdl/2003-December/058333.html

SDL_alsa_audio.c: In function ALSA_OpenAudio': SDL_alsa_audio.c:272: error: too few arguments to functionsnd_pcm_hw_params_get_channels’
SDL_alsa_audio.c:282: warning: passing arg 3 of
snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast SDL_alsa_audio.c:292: warning: passing arg 3 ofsnd_pcm_hw_params_set_period_size_near’ makes pointer from integer
without a cast
SDL_alsa_audio.c:294: warning: passing arg 3 of
`snd_pcm_hw_params_set_periods_near’ makes pointer from integer without
a cast

Was there a solution found ? what might I do to get past this issue ?

Regards,

Christian Bullow

Christian ‘Vic’ Bullow wrote:

I have a similar issue to that spelled out here;

http://www.libsdl.org/pipermail/sdl/2003-December/058333.html

SDL_alsa_audio.c: In function ALSA_OpenAudio': SDL_alsa_audio.c:272: error: too few arguments to functionsnd_pcm_hw_params_get_channels’
SDL_alsa_audio.c:282: warning: passing arg 3 of
snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast SDL_alsa_audio.c:292: warning: passing arg 3 ofsnd_pcm_hw_params_set_period_size_near’ makes pointer from integer
without a cast
SDL_alsa_audio.c:294: warning: passing arg 3 of
`snd_pcm_hw_params_set_periods_near’ makes pointer from integer
without a cast

Was there a solution found ? what might I do to get past this issue ?

This is fixed in SDL cvs so either use the cvs version, or wait for 1.2.7.

Stephane