ALSA problem with CVS SDL

System: SuSE Linux version 6.4, ALSA 0.5.10

I’ve been getting the following error message during the last several days:

gcc -DPACKAGE=“SDL” -DVERSION=“1.1.7” -DHAVE_ALLOCA_H=1
-DHAVE_ALLOCA=1 -I. -I. -pipe -O2 -m486 -fno-strength-reduce
-fexpensive-optimizations -march=pentium -mcpu=pentiumpro -Wall
-DUSE_ASMBLIT -I./hermes -I…/…/…/src/hermes -DOSS_SUPPORT
-DALSA_SUPPORT -DESD_SUPPORT -I/usr/X11R6/include -DENABLE_X11
-DXFREE86_VM -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DENABLE_FBCON
-DHAVE_OPENGL -DUSE_INPUT_EVENTS -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: In function Audio_Available': SDL_alsa_audio.c:110: warning: implicit declaration of functionsnd_plugin_set_disable’
SDL_alsa_audio.c:110: PLUGIN_DISABLE_MMAP' undeclared (first use in this function) SDL_alsa_audio.c:110: (Each undeclared identifier is reported only once SDL_alsa_audio.c:110: for each function it appears in.) SDL_alsa_audio.c: In functionPCM_OpenAudio’:
SDL_alsa_audio.c:366: PLUGIN_DISABLE_MMAP' undeclared (first use in this function) make[3]: *** [SDL_alsa_audio.lo] Error 1 make[3]: Leaving directory/usr/src/packages/BUILD/SDL-1.1.7/src/audio/alsa’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/src/packages/BUILD/SDL-1.1.7/src/audio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/usr/src/packages/BUILD/SDL-1.1.7/src’
make: *** [all-recursive] Error 1

Any ideas?

-jrh

System: SuSE Linux version 6.4, ALSA 0.5.10

I’ve been getting the following error message during the last several days:

I fixed this in the latest CVS snapshot.

I haven’t been able to get the ALSA drivers working, so I haven’t been able
to actually test the code, but it compiles fine now. :slight_smile:

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software