On Sun, Feb 17, 2013 at 08:42:55PM +0100, Jan Engelhardt wrote:
Hi,
The link stage fails at some point.
libosmogsm.so:lapd-core.c uses
talloc_free, but does not link to libtalloc.so. Correct this.
Disabling talloc is only supported for the OsmocomBB use case. I
understand that many distributions ship a standalone libtalloc by
now and we should find ways to support it but your patch doesn't
look like the solution to the problem.
E.g. a solution would include:
* Detecting the system talloc
* Not installing the osmocom/core/talloc.h or finding a header
file that will just include_next talloc.h for the real talloc. This
is important as there is no gurantee that osmocom/core/talloc.h and
talloc.h are compatible with each other.
thanks
holger