Emerging of hydrogen-0.9.1 or 0.9.0 fails with ................................ ../lib/drivers/libdrivers.a(AlsaAudioDriver.o)(.text+0x3433): In function `alsa_xrun_recovery(_snd_pcm*, int)': : undefined reference to `snd_strerror' ../lib/drivers/libdrivers.a(AlsaAudioDriver.o)(.text+0x3474): In function `alsa_xrun_recovery(_snd_pcm*, int)': : undefined reference to `snd_pcm_prepare' collect2: ld returned 1 exit status make[2]: *** [hydrogenPlayer] Error 1 make[1]: *** [all-recursive] Error 1 There are more "undefined refercence"-s before that. Is that to do something with wrong alsa-headers? I have alas-headers-1.0.6a, development-sources-2.6.9 ,alsa-lib-1.0.6 . I've attached the emerge --info output Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 45197 [details] emerge --info output
you seem to have trouble linking to the alsa libraries; emerge alsa-lib might help. Did you get any other errors during the build? eg. in the configuration part? I just emerged hydrogen-0.9.0 to see if I can reproduce your problem, but it build without any trouble on my P4 and amd64 boxes (using alsa-lib-1.0.7 & alsa-header-1.0.7). I'm a bit surprised you mention that it fails on hydrogen-0.9.1, since there is no such ebuild in portage yet. I presume that was a typo :-)
after reemerging alsa-lib hydrogen compiled :) thanks a lot! when I was re-emerging alsa-lib I noticed that it has been compiled before with +static use flag. maybe this was the source of the problem, no idea. also, hydrogen-0.9.1 wasn't a typo. there is a new version and the ebuild is mostly the same as 0.9.0 . there is a bug report for that: #72986. thanks again for the quick help!
closing...