Me and other people have encountered this error when emerging wmmixer-alsa: /usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead. In file included from wmmixer-alsa.h:20, from wmmixer-alsa.c:1: /usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead. ..... ... ... wmmixer-alsa.c: In function `update': wmmixer-alsa.c:494: request for member `icon' in something not a structure or union make: *** [wmmixer-alsa.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 1, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/x11-misc/wmmixer-alsa/wmmixer-alsa-0.6.ebuild
the reason for this bug is that the mixer works with the old asoundlib.h. the new library changed some of the naming conventions and thus broke this program. some structs have changed from 'snd_mixer_element_t' to 'snd_mixer_elem_t' ... hence the problem with missing struct definitions. that first warning isnt sooooo bad, its just that the source needs to be recoded slightly.
spanky, any chance you can come up with a patch? It would really help a lot
ill see what i can do ... if anyone out there submits one before me, ill test theirs out
spankster?
heh, after playing with this damn program, i suggest you modify the ebuild to depend on the old asoundlib rather than the new one. the reason this is a pain to recode is that ive never done audio/sound coding, but its more of recoding the whole app rather than slight renaming of the structs like i thought originally ... biggest prob: the new alsa deals with elements diff than the old one. with the old alsa, structs were provided for groups of elements. thus you could walk through the elements as an array of sorts. the new alsa lib takes an iterative approach ... you dont know the underlying structure, but toolkit functions are provided ... so its up to you (im bailing on it), sorry for takin so long ;)
ok, it now depends specifically on alsa-0.5