SDL wont compile

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

i cant seem to compile SDL 1.2.6 for fedora core 1, i get the following
error:

Grab SDL from CVS:
http://www.libsdl.org/cvs.php

I’m waiting on some issues with compiling under Linux 2.6 before releasing
the new version.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

thanks…
however i was hoping to create an RPM, but the spec file isnt in the jan
13th .tar.gz from CVS, how do i get it?

Keir LawsonOn Sat, 2004-01-31 at 16:59, Sam Lantinga wrote:

i cant seem to compile SDL 1.2.6 for fedora core 1, i get the following
error:

Grab SDL from CVS:
http://www.libsdl.org/cvs.php

I’m waiting on some issues with compiling under Linux 2.6 before releasing
the new version.

“My object in life is to dethrone God and destroy capitalism.” - Marx

You need to run configure, which will generate the spec file.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment> On Sat, 2004-01-31 at 16:59, Sam Lantinga wrote:

i cant seem to compile SDL 1.2.6 for fedora core 1, i get the following
error:

Grab SDL from CVS:
http://www.libsdl.org/cvs.php

I’m waiting on some issues with compiling under Linux 2.6 before releasing
the new version.

thanks…
however i was hoping to create an RPM, but the spec file isnt in the jan
13th .tar.gz from CVS, how do i get it?