| Summary: | net-misc/asterisk-1.2.27 generates "undefined symbol: speex_preprocess_ctl" message with speex use flag and media-libs/speex-1.2_beta3_p2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Brendan Kirby <kirbstinator> |
| Component: | Current packages | Assignee: | voip herd (OBSOLETE) <voip+disabled> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | gentoo, rajiv, voip+disabled |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Brendan Kirby
2008-05-26 02:12:22 UTC
Reassigning back to herd since Stefan has been retired as a Gentoo developer (#27693). Since LIBSPEEX has that "+=" the following should work: emake LIBSPEEX=-lspeexdsp <blah> (In reply to comment #2) > Since LIBSPEEX has that "+=" the following should work: > > emake LIBSPEEX=-lspeexdsp <blah> > Anyone is patching the ebuild to make it working out-of-the-box? This problem is still present and should be corrected into the ebuild. I don't think I have enough skills on ebuild to do it myself. It would be greatly appreciated if someone would care about it. (In reply to comment #3) > (In reply to comment #2) > > Since LIBSPEEX has that "+=" the following should work: > > > > emake LIBSPEEX=-lspeexdsp <blah> > > > > Anyone is patching the ebuild to make it working out-of-the-box? This problem > is still present and should be corrected into the ebuild. I don't think I have > enough skills on ebuild to do it myself. It would be greatly appreciated if > someone would care about it. > Daniel, I don't know how to use emake either but I could figure out how to solve the problem from the first comment and the ebuild manual here: http://www.gentoo.org/doc/en/handbook/2004.2/handbook-sparc.xml?part=3&chap=6 These are the steps I took 0) find where the file asterisk-1.2.27.ebuild is in your system (usually is in usr/portage/net-misc/asterisk/ otherwise replace it's path below accordingly) 1) ebuild /usr/portage/net-misc/asterisk/asterisk-1.2.27.ebuild unpack 2) fix the file /var/tmp/portage/net-misc/asterisk-1.2.27/work/asterisk-1.2.27/codecs/Makefile by either applying the patch above or simply editing it and replacing each instance of the line LIBSPEEX+=-lspeex -lm with this line LIBSPEEX+=-lspeex -lspeexdsp -lm 3) ebuild /usr/portage/net-misc/asterisk/asterisk-1.2.27.ebuild compile 4) ebuild /usr/portage/net-misc/asterisk/asterisk-1.2.27.ebuild install 5) ebuild /usr/portage/net-misc/asterisk/asterisk-1.2.27.ebuild qmerge 6) ebuild /usr/portage/net-misc/asterisk/asterisk-1.2.27.ebuild clean After this 6 steps now asterisks starts. Hope that helps Francesc Simply use workaround from http://bugs.gentoo.org/show_bug.cgi?id=206463 Try: LIBSPEEX="-lspeexdsp" emerge -v asterisk (In reply to comment #5) > Simply use workaround from http://bugs.gentoo.org/show_bug.cgi?id=206463 > > Try: > > LIBSPEEX="-lspeexdsp" emerge -v asterisk > So this bug should be marked as duplicate of bug #206463 ;) *** This bug has been marked as a duplicate of bug 206463 *** |