<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
I reported this some time ago to the list (I get no response from
anybody by the way :) ). <br>
Module loading is broken when trying to load manually a module that
exports symbols (typically res_* modules).<br>
<br>
Now I've found it, and attached a patch:<br>
<a class="moz-txt-link-freetext" href="https://issues.asterisk.org/jira/browse/ASTERISK-18227">https://issues.asterisk.org/jira/browse/ASTERISK-18227</a><br>
<br>
bye<br>
daniel<br>
<br>
-------- Mensaje original --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Asunto: </th>
<td>[asterisk-dev] Module dependency</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Fecha: </th>
<td>Thu, 14 Oct 2010 13:58:05 -0200</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">De: </th>
<td>Daniel Ferrer <a class="moz-txt-link-rfc2396E" href="mailto:daniel@ipcontact.com.uy"><daniel@ipcontact.com.uy></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Responder-a::
</th>
<td>Asterisk Developers Mailing List
<a class="moz-txt-link-rfc2396E" href="mailto:asterisk-dev@lists.digium.com"><asterisk-dev@lists.digium.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">A: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:asterisk-dev@lists.digium.com">asterisk-dev@lists.digium.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Hi, I've problems with module dependency, or there is something that I
don't understand properly.
For example, app_queue.so depends on res_monitor.so being loaded, and I
did the following test:
- I put in the sample modules.conf: noload => res_monitor.so
- I start asterisk, and try to load manually, first res_monitor and
then app_queue
- Module loading fails for app_queue:
*CLI> module load res_monitor.so
Loaded res_monitor.so => (Call Monitoring Resource)
*CLI> module load app_queue.so
[2010-10-14 13:09:20] WARNING[18751]: loader.c:434 load_dynamic_module:
Error loading module 'app_queue.so':
/usr/lib64/asterisk/modules/app_queue.so: undefined symbol:
ast_monitor_start
[2010-10-14 13:09:20] WARNING[18751]: loader.c:777 load_resource: Module
'app_queue.so' could not be loaded.
If I coment the "noload => app_queue" all is obviously ok.
I have the same problem in a custom module app_* developed by us, that
depends on a resource that must be loaded before: it is only loaded
correctly at asterisk startup, but I cannot load it manually.
This is normal? It's an asterisk 1.4 issue?
Thanks for your comments
regards,
--
Ing. Daniel Ferrer
Teledata Comunicaciones
Tel/Fax: (+598) 24013864
es que la
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a>
--
Ing. Daniel Ferrer - dCAP
Teledata Comunicaciones
Tel/Fax: (+598) 24013864
</pre>
</body>
</html>