What's new

GAP audio plugin and Gentoo 2006 won't compile

Small Frenchy

New member
Hi everybody,

I'm trying to compile the GAP audio plugin on my gentoo box. I use alsa sound system (not in the kernel) v1.0.11 (drivers, libs and headers) which is the "stable" release.

When I try to compile the GAP plugin, here what I have :

In file included from namespaces.h:32,
from audio.cpp:22:
/usr/include/alsa/mixer.h:86: error: `snd_hctl_elem_t' has not been declared
/usr/include/alsa/mixer.h:102: error: `snd_hctl_t' has not been declared
/usr/include/alsa/mixer.h:104: error: `snd_hctl_t' has not been declared
/usr/include/alsa/mixer.h:105: error: `snd_hctl_t' has not been declared
/usr/include/alsa/mixer.h:139: error: `snd_hctl_elem_t' has not been declared
/usr/include/alsa/mixer.h:140: error: `snd_hctl_elem_t' has not been declared
/usr/include/alsa/mixer.h:215: error: expected `;' before '*' token
/usr/include/alsa/mixer.h:217: error: expected `;' before '*' token
make: *** [audio.o] Error 1

I don't know really what is the prob. Maybe the plugin use a newer version of alsa... Any clue ?

(Sorry for my poor english)
 

Sri Narayan

New member
i think that the plugin won't compile on newer alsa versions(i think it was build able on alsa 0.99(don't know exactly). try sdl-sound or hacks sound plugin.

ciu
 
OP
S

Small Frenchy

New member
Oki, It works well with the SDL plugin (I only have to set the env variable, AUDIODEV, etc...)

I'll try to make the alsa plugin work with my version of alsa if I'm able to understand the code (I'm a win32 dev usually, but I'll try)

Thanks for your reply.
 

Top