Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73212 - hydrogen fails to emerge - problems with alsa headers maybe?
Summary: hydrogen fails to emerge - problems with alsa headers maybe?
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Frank van de Pol (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 04:18 UTC by Rossen Apostolov
Modified: 2004-12-04 04:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge.info,5.49 KB, text/plain)
2004-12-03 04:18 UTC, Rossen Apostolov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rossen Apostolov 2004-12-03 04:18:01 UTC
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.
Comment 1 Rossen Apostolov 2004-12-03 04:18:51 UTC
Created attachment 45197 [details]
emerge --info output
Comment 2 Frank van de Pol (RETIRED) gentoo-dev 2004-12-03 09:49:41 UTC
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 :-)

Comment 3 Rossen Apostolov 2004-12-04 04:01:40 UTC
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!
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-04 04:17:46 UTC
closing...