Hiya!
i'm working with the svn copy of boodler here, but also tried an older version:
i've got libasound2-dev installed (*buntu/Debian4 system) and using gcc 4.1.2:
stephan@ludo:~/src/boodler/core/trunk$ m
(cd cboodle; make cboodle.so)
make[1]: Entering directory `/home/stephan/src/boodler/core/trunk/cboodle'
cc -O2 -I/usr/include/python2.5 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-unused -c -o audev-alsa.o audev-alsa.c
In file included from audev-alsa.c:13:
/usr/include/sys/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.
audev-alsa.c: In function ‘audev_init_device’:
audev-alsa.c:55: warning: implicit declaration of function ‘snd_defaults_pcm_card’
audev-alsa.c:56: warning: implicit declaration of function ‘snd_defaults_pcm_device’
audev-alsa.c:59: error: ‘SND_PCM_OPEN_PLAYBACK’ undeclared (first use in this function)
audev-alsa.c:59: error: (Each undeclared identifier is reported only once
audev-alsa.c:59: error: for each function it appears in.)
audev-alsa.c:59: warning: passing argument 2 of ‘snd_pcm_open’ makes pointer from integer without a cast
audev-alsa.c:70: error: storage size of ‘info’ isn’t known
audev-alsa.c:85: error: ‘snd_pcm_channel_info_t’ undeclared (first use in this function)
audev-alsa.c:85: error: expected ‘;’ before ‘info’
audev-alsa.c:87: error: ‘info’ undeclared (first use in this function)
audev-alsa.c:87: error: ‘SND_PCM_CHANNEL_PLAYBACK’ undeclared (first use in this function)
audev-alsa.c:89: warning: implicit declaration of function ‘snd_pcm_channel_info’
audev-alsa.c:108: error: ‘SND_PCM_FMT_S16_BE’ undeclared (first use in this function)
audev-alsa.c:109: error: ‘SND_PCM_SFMT_S16_BE’ undeclared (first use in this function)
audev-alsa.c:111: error: ‘SND_PCM_FMT_S16_LE’ undeclared (first use in this function)
audev-alsa.c:112: error: ‘SND_PCM_SFMT_S16_LE’ undeclared (first use in this function)
audev-alsa.c:118: warning: implicit declaration of function ‘snd_pcm_get_format_name’
audev-alsa.c:118: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
audev-alsa.c:123: error: expected ‘;’ before ‘info’
audev-alsa.c:127: warning: implicit declaration of function ‘snd_pcm_plugin_info’
audev-alsa.c:152: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
audev-alsa.c:177: error: ‘snd_pcm_channel_params_t’ undeclared (first use in this function)
audev-alsa.c:177: error: expected ‘;’ before ‘params’
audev-alsa.c:179: error: ‘params’ undeclared (first use in this function)
audev-alsa.c:181: error: ‘SND_PCM_MODE_BLOCK’ undeclared (first use in this function)
audev-alsa.c:187: error: ‘SND_PCM_STOP_STOP’ undeclared (first use in this function)
audev-alsa.c:192: warning: implicit declaration of function ‘snd_pcm_plugin_params’
audev-alsa.c:199: warning: implicit declaration of function ‘snd_pcm_plugin_prepare’
audev-alsa.c: In function ‘audev_close_device’:
audev-alsa.c:243: warning: implicit declaration of function ‘snd_pcm_channel_flush’
audev-alsa.c:243: error: ‘SND_PCM_CHANNEL_PLAYBACK’ undeclared (first use in this function)
audev-alsa.c: In function ‘audev_loop’:
audev-alsa.c:290: error: ‘SND_PCM_SFMT_S16_BE’ undeclared (first use in this function)
audev-alsa.c:313: warning: implicit declaration of function ‘snd_pcm_plugin_write’
make[1]: *** [audev-alsa.o] Error 1
i had to recompile my (working) boodler because during system update my python API version changed and that broke the existing boodler plugin binary. When building with the OSS driver my sound system ignores the volume controls (i can only play at one volume!), so i'm trying to get back to the Alsa driver... but with no luck. :(