[sr-dev] linking question

Konstantin M. evilzluk at gmail.com
Wed Dec 5 23:43:44 CET 2012


Sorry, it was my fault, looks like I've mixed stable and dev libs together,
after removing libs and make install - I don't see any undefined symbol's.


2012/12/5 Konstantin M. <evilzluk at gmail.com>

> Thank you, it helps.
> However while calling load_textops_api() I have no linking errors but
> have: app_python.so: undefined symbol: fm_malloc
>
>
>
> 2012/12/5 Ovidiu Sas <osas at voipembedded.com>
>
>> That is because the textops module doesn't export an api for other
>> modules.
>> Take a look at sl: bind_sl().  Here the sl module is exporting an api
>> to be used by other modules.
>> Then the sca module is binding to that api and to use it: sca_bind_sl().
>>
>> Something similar must be implemented by textops and app_python.
>> Hope this helps.  If you have any other questions, let us know.
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Wed, Dec 5, 2012 at 11:53 AM, Konstantin M. <evilzluk at gmail.com>
>> wrote:
>> > Hi dev team,
>> >
>> > I have a question, how to link to modules_k/textops ? Since it is not
>> static
>> > build and no libxxxxx.so, it can't link, and I'm getting:
>> >  0(16884) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not
>> > open module </opt/kamailio/lib/kamailio/modules/app_python.so>:
>> > /opt/kamailio/lib/kamailio/modules/app_python.so: undefined symbol:
>> > is_method_f
>> > Is there a way to trick that without changing a code of module(s) ?
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20121206/49f9c241/attachment.htm>


More information about the sr-dev mailing list