[asterisk-dev] res_smdi/chan_dahdi issues continued
Kevin P. Fleming
kpfleming at digium.com
Wed Feb 10 05:51:33 CST 2010
Olle E. Johansson wrote:
> I have now fixed 1.4 according to Russell's ideas, and confirmed that it works, I can now load res_smdi at the cli and it stays in memory.
>
> The interesting thing I notice is that I can't load chan_dahdi afterwards, still at the cli. It doesn't find the ast_smdi_interface_unref symbol, that's clearly defined in res_smdi.exports
>
> ------------
> res_smdi.so Simplified Message Desk Interface (SMDI) 0
> 96 modules loaded
> ci1*CLI>
> ci1*CLI> load chan_dahdi.so
> [Feb 10 09:19:17] WARNING[12869]: loader.c:438 load_dynamic_module: Error loading module 'chan_dahdi.so': /usr/local/clearit/lib/asterisk/modules/chan_dahdi.so: undefined symbol: ast_smdi_interface_unref
> [Feb 10 09:19:17] WARNING[12869]: loader.c:766 load_resource: Module 'chan_dahdi.so' could not be loaded. - Not required
> ----------------
>
> But if I restart Asterisk, both res_smdi and chan_dahdi gets loaded. Not using preload, just a normal load= statement in modules.conf.
This behavior has been noted by others recently in reference to other
modules; if the res_* module is loaded at startup time everything works
fine, but if it is loaded manually its symbols are not available to
other modules. Something is broken in loader.c, I think.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list