Problem compiling SDL 1.2.2

Hi,
I have a little problem compiling SDL (specially the audio lib). I am using
the newest Alsa driver ver. 0.9beta7:

gcc -DPACKAGE=“SDL” -DVERSION=“1.2.2” -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-I. -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DOSS_SUPPORT
-DALSA_SUPPORT -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -DXFREE86_VM
-DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV
-DENABLE_DGA -DENABLE_FBCON -DHAVE_OPENGL -D_REENTRANT -DSDL_USE_PTHREADS
-I…/…/…/include -I…/…/…/include/SDL -I…/…/…/src -I…/…/…/src/linux
-I…/…/…/src/main -I…/…/…/src/audio -I…/…/…/src/video
-I…/…/…/src/events -I…/…/…/src/joystick -I…/…/…/src/cdrom
-I…/…/…/src/thread -I…/…/…/src/timer -I…/…/…/src/endian
-I…/…/…/src/file -c SDL_alsa_audio.c -fPIC -DPIC -o
.libs/SDL_alsa_audio.lo
SDL_alsa_audio.c:69: parse error before *' SDL_alsa_audio.c: In functioninit_pcm_cparams’:
SDL_alsa_audio.c:71: snd_pcm_channel_params_t' undeclared (first use in this function) SDL_alsa_audio.c:71: (Each undeclared identifier is reported only once SDL_alsa_audio.c:71: for each function it appears in.) SDL_alsa_audio.c:71:cparams’ undeclared (first use in this function)
SDL_alsa_audio.c:73: SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:74:SND_PCM_MODE_BLOCK’ undeclared (first use in this
function)
SDL_alsa_audio.c:76: SND_PCM_STOP_STOP' undeclared (first use in this function) SDL_alsa_audio.c:77:SND_PCM_SFMT_S16_LE’ undeclared (first use in this
function)
SDL_alsa_audio.c: In function Audio_Available': SDL_alsa_audio.c:98:snd_pcm_channel_params_t’ undeclared (first use in this
function)
SDL_alsa_audio.c:98: parse error before cparams' SDL_alsa_audio.c:106:cparams’ undeclared (first use in this function)
SDL_alsa_audio.c:108: SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:108:SND_PCM_OPEN_NONBLOCK’ undeclared (first use in this
function)
SDL_alsa_audio.c:108: warning: passing arg 2 of snd_pcm_open' makes pointer from integer without a cast SDL_alsa_audio.c:111: warning: implicit declaration of functionsnd_pcm_plugin_params’
SDL_alsa_audio.c: At top level:
SDL_alsa_audio.c:246: parse error before cstatus' SDL_alsa_audio.c:246: warning: type defaults toint’ in declaration of
cstatus' SDL_alsa_audio.c:246: warning: data definition has no type or storage class SDL_alsa_audio.c: In functionPCM_PlayAudio’:
SDL_alsa_audio.c:254: warning: implicit declaration of function
snd_pcm_plugin_write' SDL_alsa_audio.c:269: warning: implicit declaration of functionsnd_pcm_plugin_status’
SDL_alsa_audio.c:274: request for member status' in something not a structure or union SDL_alsa_audio.c:274:SND_PCM_STATUS_UNDERRUN’ undeclared (first use in this
function)
SDL_alsa_audio.c:275: request for member status' in something not a structure or union SDL_alsa_audio.c:275:SND_PCM_STATUS_READY’ undeclared (first use in this
function)
SDL_alsa_audio.c:280: warning: implicit declaration of function
snd_pcm_plugin_prepare' SDL_alsa_audio.c:280:SND_PCM_CHANNEL_PLAYBACK’ undeclared (first use in
this function)
SDL_alsa_audio.c: In function PCM_CloseAudio': SDL_alsa_audio.c:317: warning: implicit declaration of functionsnd_pcm_plugin_flush’
SDL_alsa_audio.c:317: SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c: In functionPCM_OpenAudio’:
SDL_alsa_audio.c:334: snd_pcm_channel_params_t' undeclared (first use in this function) SDL_alsa_audio.c:334: parse error beforecparams’
SDL_alsa_audio.c:335: snd_pcm_channel_setup_t' undeclared (first use in this function) SDL_alsa_audio.c:341:cparams’ undeclared (first use in this function)
SDL_alsa_audio.c:348: SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:348:SND_PCM_OPEN_NONBLOCK’ undeclared (first use in this
function)
SDL_alsa_audio.c:348: warning: passing arg 2 of snd_pcm_open' makes pointer from integer without a cast SDL_alsa_audio.c:376:SND_PCM_SFMT_U8’ undeclared (first use in this
function)
SDL_alsa_audio.c:380: SND_PCM_SFMT_S8' undeclared (first use in this function) SDL_alsa_audio.c:384:SND_PCM_SFMT_S16_LE’ undeclared (first use in this
function)
SDL_alsa_audio.c:388: SND_PCM_SFMT_S16_BE' undeclared (first use in this function) SDL_alsa_audio.c:392:SND_PCM_SFMT_U16_LE’ undeclared (first use in this
function)
SDL_alsa_audio.c:396: SND_PCM_SFMT_U16_BE' undeclared (first use in this function) SDL_alsa_audio.c:433:csetup’ undeclared (first use in this function)
SDL_alsa_audio.c:434: SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:435: warning: implicit declaration of functionsnd_pcm_plugin_setup’
SDL_alsa_audio.c:490: warning: implicit declaration of function
snd_pcm_file_descriptor' SDL_alsa_audio.c:501: warning: implicit declaration of functionsnd_pcm_playback_go’
make[3]: *** [SDL_alsa_audio.lo] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
?/root/SDL-1.2.2/src/audio/alsa?
make[2]: *** [install-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis ?/root/SDL-1.2.2/src/audio?
make[1]: *** [install-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis ?/root/SDL-1.2.2/src?
make: *** [install-recursive] Fehler 1

Can someone comment how to fix this problem ? Thanks,
David Weisgerber–
F?r Windows 98 sind die Systemvoraussetzungen: Pentium-Prozessor, 16MB
RAM und 1GB Festplatte. Um zum Mond zu fliegen, wurde die Leistung
von drei Commodore C64 ben?tigt.
Irgendetwas ist hier falsch - jedoch nicht beim Apollo.

Hi,
I have a little problem compiling SDL (specially the audio lib). I am using
the newest Alsa driver ver. 0.9beta7:

gcc -DPACKAGE=“SDL” -DVERSION=“1.2.2” -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-I. -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DOSS_SUPPORT
-DALSA_SUPPORT -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11 -DXFREE86_VM
-DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV
-DENABLE_DGA -DENABLE_FBCON -DHAVE_OPENGL -D_REENTRANT -DSDL_USE_PTHREADS
-I…/…/…/include -I…/…/…/include/SDL -I…/…/…/src -I…/…/…/src/linux
-I…/…/…/src/main -I…/…/…/src/audio -I…/…/…/src/video
-I…/…/…/src/events -I…/…/…/src/joystick -I…/…/…/src/cdrom
-I…/…/…/src/thread -I…/…/…/src/timer -I…/…/…/src/endian
-I…/…/…/src/file -c SDL_alsa_audio.c -fPIC -DPIC -o
.libs/SDL_alsa_audio.lo
SDL_alsa_audio.c:69: parse error before *' SDL_alsa_audio.c: In functioninit_pcm_cparams’:
SDL_alsa_audio.c:71: snd_pcm_channel_params_t' undeclared (first use in this function) SDL_alsa_audio.c:71: (Each undeclared identifier is reported only once SDL_alsa_audio.c:71: for each function it appears in.) SDL_alsa_audio.c:71:cparams’ undeclared (first use in this function)
SDL_alsa_audio.c:73: SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:74:SND_PCM_MODE_BLOCK’ undeclared (first use in this
function)
SDL_alsa_audio.c:76: SND_PCM_STOP_STOP' undeclared (first use in this function) SDL_alsa_audio.c:77:SND_PCM_SFMT_S16_LE’ undeclared (first use in this
function)
SDL_alsa_audio.c: In function Audio_Available': SDL_alsa_audio.c:98:snd_pcm_channel_params_t’ undeclared (first use in this
function)
SDL_alsa_audio.c:98: parse error before cparams' SDL_alsa_audio.c:106:cparams’ undeclared (first use in this function)
SDL_alsa_audio.c:108: SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:108:SND_PCM_OPEN_NONBLOCK’ undeclared (first use in this
function)
SDL_alsa_audio.c:108: warning: passing arg 2 of snd_pcm_open' makes pointer from integer without a cast SDL_alsa_audio.c:111: warning: implicit declaration of functionsnd_pcm_plugin_params’
SDL_alsa_audio.c: At top level:
SDL_alsa_audio.c:246: parse error before cstatus' SDL_alsa_audio.c:246: warning: type defaults toint’ in declaration of
cstatus' SDL_alsa_audio.c:246: warning: data definition has no type or storage class SDL_alsa_audio.c: In functionPCM_PlayAudio’:
SDL_alsa_audio.c:254: warning: implicit declaration of function
snd_pcm_plugin_write' SDL_alsa_audio.c:269: warning: implicit declaration of functionsnd_pcm_plugin_status’
SDL_alsa_audio.c:274: request for member status' in something not a structure or union SDL_alsa_audio.c:274:SND_PCM_STATUS_UNDERRUN’ undeclared (first use in this
function)
SDL_alsa_audio.c:275: request for member status' in something not a structure or union SDL_alsa_audio.c:275:SND_PCM_STATUS_READY’ undeclared (first use in this
function)
SDL_alsa_audio.c:280: warning: implicit declaration of function
snd_pcm_plugin_prepare' SDL_alsa_audio.c:280:SND_PCM_CHANNEL_PLAYBACK’ undeclared (first use in
this function)
SDL_alsa_audio.c: In function PCM_CloseAudio': SDL_alsa_audio.c:317: warning: implicit declaration of functionsnd_pcm_plugin_flush’
SDL_alsa_audio.c:317: SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c: In functionPCM_OpenAudio’:
SDL_alsa_audio.c:334: snd_pcm_channel_params_t' undeclared (first use in this function) SDL_alsa_audio.c:334: parse error beforecparams’
SDL_alsa_audio.c:335: snd_pcm_channel_setup_t' undeclared (first use in this function) SDL_alsa_audio.c:341:cparams’ undeclared (first use in this function)
SDL_alsa_audio.c:348: SND_PCM_OPEN_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:348:SND_PCM_OPEN_NONBLOCK’ undeclared (first use in this
function)
SDL_alsa_audio.c:348: warning: passing arg 2 of snd_pcm_open' makes pointer from integer without a cast SDL_alsa_audio.c:376:SND_PCM_SFMT_U8’ undeclared (first use in this
function)
SDL_alsa_audio.c:380: SND_PCM_SFMT_S8' undeclared (first use in this function) SDL_alsa_audio.c:384:SND_PCM_SFMT_S16_LE’ undeclared (first use in this
function)
SDL_alsa_audio.c:388: SND_PCM_SFMT_S16_BE' undeclared (first use in this function) SDL_alsa_audio.c:392:SND_PCM_SFMT_U16_LE’ undeclared (first use in this
function)
SDL_alsa_audio.c:396: SND_PCM_SFMT_U16_BE' undeclared (first use in this function) SDL_alsa_audio.c:433:csetup’ undeclared (first use in this function)
SDL_alsa_audio.c:434: SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this function) SDL_alsa_audio.c:435: warning: implicit declaration of functionsnd_pcm_plugin_setup’
SDL_alsa_audio.c:490: warning: implicit declaration of function
snd_pcm_file_descriptor' SDL_alsa_audio.c:501: warning: implicit declaration of functionsnd_pcm_playback_go’
make[3]: *** [SDL_alsa_audio.lo] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
?/root/SDL-1.2.2/src/audio/alsa?
make[2]: *** [install-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis ?/root/SDL-1.2.2/src/audio?
make[1]: *** [install-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis ?/root/SDL-1.2.2/src?
make: *** [install-recursive] Fehler 1

Can someone comment how to fix this problem ? Thanks,
David Weisgerber–
F?r Windows 98 sind die Systemvoraussetzungen: Pentium-Prozessor, 16MB
RAM und 1GB Festplatte. Um zum Mond zu fliegen, wurde die Leistung
von drei Commodore C64 ben?tigt.
Irgendetwas ist hier falsch - jedoch nicht beim Apollo.