]> code.delx.au - pulseaudio/commit
build-sys: look for function 'backtrace' also in library 'ubacktrace'
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sun, 22 May 2011 21:02:44 +0000 (23:02 +0200)
committerColin Guthrie <colin@mageia.org>
Mon, 27 Jun 2011 08:56:25 +0000 (09:56 +0100)
commitad1e0431fb42086351ccc25b3af47e84604895a1
tree485243e1382cdd0d1907d0c198e1245d8c655d7e
parent90634d602811a74bca94f0c31e13c4841e027001
build-sys: look for function 'backtrace' also in library 'ubacktrace'

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
configure.ac