[pulseaudio-discuss] [PATCH] configure.ac: look for function `backtrace` also in library `ubacktrace`
Paul Menzel
paulepanter at users.sourceforge.net
Sun Jun 26 15:22:16 PDT 2011
From: Henning Heinold <heinold at inf.fu-berlin.de>
Date: Sun, 22 May 2011 23:02:44 +0200
Using OpenEmbedded with `minimal-uclibc` for `MACHINE = "beagleboard"` compilation fails with the following error [1].
[…]
CCLD pulseaudio
./.libs/libpulsecommon-0.9.22.so: undefined reference to `backtrace_symbols'
./.libs/libpulsecommon-0.9.22.so: undefined reference to `backtrace'
collect2: ld returned 1 exit status
make[3]: *** [pulseaudio] Error 1
Using uClibc `backtrace` is in the library `ubacktrace` and needs to be searched in there. This patch is used successfully in OpenEmbedded [2].
[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-May/032979.html
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=0086e0506eb4939150bb50ec337d7f6787b8ae8a
---
1. Please also apply this patch to the stable(?) branch.
2. I hope the commit message uses the correct terminology.
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8afb18c..7f7970b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -448,7 +448,7 @@ AC_SEARCH_LIBS([pthread_setname_np], [pthread])
# BSD
AC_SEARCH_LIBS([connect], [socket])
-AC_SEARCH_LIBS([backtrace], [execinfo])
+AC_SEARCH_LIBS([backtrace], [execinfo ubacktrace])
# Darwin/OS X
if test "x$os_is_darwin" = "x1" ; then
--
1.7.5.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110627/f56835da/attachment.pgp>
More information about the pulseaudio-discuss
mailing list