<br><div class="gmail_quote">2013/1/20 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Try to format the log message based on git recommendations, with first line descriptive as subject for email, empty line and then the rest of the message:<br>
- <a href="http://www.kamailio.org/wiki/devel/git-commit-guidelines#commit_message" target="_blank">http://www.kamailio.org/wiki/<u></u>devel/git-commit-guidelines#<u></u>commit_message</a><br>
<br>
The email notifications and commit logs will be better formatted.<br>
<br></blockquote><div><br>Ok, will follow these recommendations/<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Then, have you tested with the new module loading flags? As far as I know, RTLD_NOW | RTLD_GLOBAL are required for embedded interpreters. The warning you tried to fix is from the core at startup, suggesting an alternative to pass loading shared object file flags, but the flags should be the old ones.<br>


<br></blockquote><div><br>Yes, I tested this. All is working fine.<br>Also, RTLD_NOW, meaning &quot;resolve all undefined symbols before dlopen() returns and fail if this cannot be done&quot;. <br>RTLD_GLOBAL may be optionally or&#39;ed with either value in flag, meaning that the external symbols defined in the library will be made available to subsequently loaded libraries. <br>

If the first argument to `dlsym&#39; or `dlvsym&#39; is set to RTLD_DEFAULT the run-time address of the symbol called NAME in the global scope is returned.<br>All the symbols of the loaded object and its dependencies are made visible as if the object were linked directly into the program.<br>

<br>What is wrong here ?<br><br>Ok, will revert to RTLD_NOW | RTLD_GLOBAL.<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Cheers,<br>
Daniel<div class="HOEnZb"><div class="h5"><br>
<br>
On 1/20/13 4:37 PM, Konstantin Mosesov wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Module: sip-router<br>
Branch: master<br>
Commit: 4cc713182c4f5b53a00a8d2d6d3a21<u></u>afca589b77<br>
URL:    <a href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4cc713182c4f5b53a00a8d2d6d3a21afca589b77" target="_blank">http://git.sip-router.org/cgi-<u></u>bin/gitweb.cgi/sip-router/?a=<u></u>commit;h=<u></u>4cc713182c4f5b53a00a8d2d6d3a21<u></u>afca589b77</a><br>


<br>
Author: Konstantin Mosesov &lt;<a href="mailto:ez@voipgroup.org.ua" target="_blank">ez@voipgroup.org.ua</a>&gt;<br>
Committer: Konstantin Mosesov &lt;<a href="mailto:ez@voipgroup.org.ua" target="_blank">ez@voipgroup.org.ua</a>&gt;<br>
Date:   Sun Jan 20 17:38:06 2013 +0200<br>
<br>
app_python:<br>
     - fixed runtime warning: exports dlflags interface is deprecated and it will not be supported in newer versions; consider using mod_register() instead<br>
     - python routines can be called in any routes.<br>
<br>
---<br>
<br>
  modules/app_python/python_mod.<u></u>c |    6 +++---<br>
  1 files changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/modules/app_python/python_<u></u>mod.c b/modules/app_python/python_<u></u>mod.c<br>
index bfae63c..c5c60fc 100644<br>
--- a/modules/app_python/python_<u></u>mod.c<br>
+++ b/modules/app_python/python_<u></u>mod.c<br>
@@ -66,15 +66,15 @@ static param_export_t params[]={<br>
   * Exported functions<br>
   */<br>
  static cmd_export_t cmds[] = {<br>
-    { &quot;python_exec&quot;, (cmd_function)python_exec1, 1,  NULL, 0,  REQUEST_ROUTE | FAILURE_ROUTE  | ONREPLY_ROUTE | BRANCH_ROUTE },<br>
-    { &quot;python_exec&quot;, (cmd_function)python_exec2, 2,  NULL, 0,  REQUEST_ROUTE | FAILURE_ROUTE  | ONREPLY_ROUTE | BRANCH_ROUTE },<br>
+    { &quot;python_exec&quot;, (cmd_function)python_exec1, 1,  NULL, 0,  ANY_ROUTE },<br>
+    { &quot;python_exec&quot;, (cmd_function)python_exec2, 2,  NULL, 0,  ANY_ROUTE },<br>
      { 0, 0, 0, 0, 0, 0 }<br>
  };<br>
    /** module exports */<br>
  struct module_exports exports = {<br>
      &quot;app_python&quot;,                   /* module name */<br>
-    RTLD_NOW | RTLD_GLOBAL,         /* dlopen flags */<br>
+    DEFAULT_DLFLAGS,                /* dlopen flags */<br>
      cmds,                           /* exported functions */<br>
      params,                         /* exported parameters */<br>
      0,                              /* exported statistics */<br>
<br>
<br>
______________________________<u></u>_________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>dev</a><br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio World Conference, April 16-17, 2013, Berlin<br>
 - <a href="http://conference.kamailio.com" target="_blank">http://conference.kamailio.com</a> -</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<u></u>_________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>dev</a><br>
</div></div></blockquote></div><br>