i cant seem to compile SDL 1.2.6 for fedora core 1, i get the following
error:
SDL_alsa_audio.c -fPIC -DPIC -o .libs/SDL_alsa_audio.lo
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 make[3]: *** [SDL_alsa_audio.lo] Error 1 make[3]: Leaving directory/usr/src/redhat/BUILD/SDL-1.2.6/src/audio/alsa’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/src/redhat/BUILD/SDL-1.2.6/src/audio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/usr/src/redhat/BUILD/SDL-1.2.6/src’
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.42154 (%build)
i have checked and i have all the alsa stuff installed
Keir Lawson–
“My object in life is to dethrone God and destroy capitalism.” - Marx