[PATCH 2/5] build: resolve link failure in libosmogsm when --disable-talloc is used

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jan Engelhardt jengelh at inai.de
Fri Oct 3 09:11:55 UTC 2014


On Friday 2014-10-03 08:41, Holger Hans Peter Freyther wrote:
>On Thu, Oct 02, 2014 at 11:09:07PM +0200, Jan Engelhardt wrote:
>
>Good Morning Jan,
>
>> The link stage fails at some point. libosmogsm.so:lapd-core.c uses
>> talloc_free, but does not link to libtalloc.so. Correct this.
>
>my position has not changed. The --disable-talloc is an option for
>Embedded Firmware (e.g. OsmocomBB) that do not want to include talloc.
>It is not for people that want to use their distributions talloc.

The software does not fully build with --disable-talloc,
how could it be of use?
(It's possible yes, by sneaking in the talloc symbols in
another way, e.g. through a patched libc...)

>Using the osmocom/core/talloc.h and linking against another/unknown
>version of talloc is scraming for problems (API/ABI issues, etc.)

I am aware of this, and wrote this down in p 3/5 (replacing talloc.h
with a matching one).




More information about the OpenBSC mailing list