Summary: | media-plugins/alsa-plugins-1.0.19 - alsa-plugins-1.0.19/pph/resample.c:226: undefined reference to `floorf' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Morton <chromi> |
Component: | New packages | Assignee: | Gentoo ALSA team [DISABLED] <alsa-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ajftonner, alienpenguin, axiator, facorread, fauli, gentoo-bugs, russ, xmit |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jonathan Morton
2009-01-30 22:56:56 UTC
Ugh, that's too big. Figuring out how to edit the damn thing... If I say USE="-speex", it emerges correctly. The problem is thus isolated to the speex support. I see there's already a bug about a different aspect of that. (In reply to comment #2) > If I say USE="-speex", it emerges correctly. The problem is thus isolated to > the speex support. I see there's already a bug about a different aspect of > that. > Yep, that fixed the crash-problem for me. Hopefully next version will work with +speex :) Just from preliminarily looking at it, I think the cause is that resample.c is not being linked with -lm in a "works for me" kinda approach ( I use speex in my system, wanted my plugins to build with it ) I did the following: sed -i 's/speex_LIBS: $speex_LIBS/speex_LIBS: $speex_LIBS -lm/g' configure in the ebuild, in src_prepare section. This permits alsa-plugins 1.0.19 to build with USE=speex on. Probably NOT the best way to do this, and likely horribly b0rken, but works for me. 3rd "me too" - broke for me too, and "-speex" worked around the problem (In reply to comment #5) > in a "works for me" kinda approach ( I use speex in my system, wanted my > plugins to build with it ) I did the following: > > sed -i 's/speex_LIBS: $speex_LIBS/speex_LIBS: $speex_LIBS -lm/g' configure Yes, I suspected that something like that would help. Shouldn't this be sent upstream though? I reported this ages ago and there's been no concrete activity. A patch has been added to alsa 1.0.19, please remerge and test. 1.0.20 should be unaffected, too. |