with setting PKG_CONFIG it works. it was a layer-8 problem. still i don't understand why the linker finds symbols in "lib.so" but not in "lib.a".
-----Ursprüngliche Nachricht----- Von: openbsc-bounces@lists.gnumonks.org [mailto:openbsc-bounces@lists.gnumonks.org] Im Auftrag von Holger Hans Peter Freyther Gesendet: Freitag, 28. Mai 2010 10:45 An: openbsc@lists.gnumonks.org Betreff: Re: linking problems
On 05/28/2010 04:02 PM, Andreas.Eversberg wrote:
hi again,
libosmocore.a has a reference to 'log_init', but the linker will not find it somehow. any idea?
Yes, you attempt static linking... which appears to not work. Build the libosmocore as DSO and try linking again.
On 05/28/2010 07:40 PM, Andreas.Eversberg wrote:
with setting PKG_CONFIG it works. it was a layer-8 problem. still i don't understand why the linker finds symbols in "lib.so" but not in "lib.a"
Hi Andreas, I looked into our build howto and I try to understand how it failed for you. Have you passed a --prefix to the build of libosmocore?
regards holger