I’m not able to compile libsdl with alsa >= 1.0.0rc1
creating libaudio_dma.la
(cd .libs && rm -f libaudio_dma.la && ln -s …/libaudio_dma.la
libaudio_dma.la)
make[3]: Leaving directory
/var/tmp/portage/libsdl-1.2.6-r2/work/SDL-1.2.6/src/audio/dma' Making all in alsa make[3]: Entering directory
/var/tmp/portage/libsdl-1.2.6-r2/work/SDL-1.2.6/src/audio/alsa’
/bin/sh …/…/…/libtool --mode=compile gcc -DPACKAGE=“SDL”
-DVERSION=“1.2.6” -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I.
-march=i686 -O3 -pipe -ffast-math -fomit-frame-pointer -Wall
-DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT
-DALSA_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0
-I/usr/kde/3.1/include/artsc -DNAS_SUPPORT -I/usr/X11R6/include
-DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM
-DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL
-DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS
-DPTHREAD_NO_RECURSIVE_MUTEX -I…/…/…/include -I…/…/…/include/SDL
-I…/…/…/src -I…/…/…/src/linux -I…/…/…/src/main -I…/…/…/src/audio
-I…/…/…/src/video -I…/…/…/src/video/XFree86/extensions
-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
mkdir .libs
gcc -DPACKAGE=“SDL” -DVERSION=“1.2.6” -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-I. -I. -march=i686 -O3 -pipe -ffast-math -fomit-frame-pointer -Wall
-DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DOSS_SUPPORT
-DALSA_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0
-I/usr/kde/3.1/include/artsc -DNAS_SUPPORT -I/usr/X11R6/include -DENABLE_X11
-DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA
-DXFREE86_XV -DENABLE_SVGALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT
-DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I…/…/…/include
-I…/…/…/include/SDL -I…/…/…/src -I…/…/…/src/linux
-I…/…/…/src/main -I…/…/…/src/audio -I…/…/…/src/video
-I…/…/…/src/video/XFree86/extensions -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 ALSA_OpenAudio': SDL_alsa_audio.c:272: too few arguments to function
snd_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 of
snd_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
/var/tmp/portage/libsdl-1.2.6-r2/work/SDL-1.2.6/src/audio/alsa’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
/var/tmp/portage/libsdl-1.2.6-r2/work/SDL-1.2.6/src/audio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/var/tmp/portage/libsdl-1.2.6-r2/work/SDL-1.2.6/src’
make: *** [all-recursive] Error 1
Martin Holzer
sVrmARTY-/irc.freenode.net
Bug-Wrangler, Gentoo Linux