<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've been having problems with mi-xmlrpc module in Kamailio 4.0.6 + Debian Wheezy (7.4)</div>
<div style="font-family:arial,sans-serif;font-size:13px">The error seems to be related with libxmlrpc-c3 version. </div><div style="font-family:arial,sans-serif;font-size:13px"><div><font size="1">root@debian:/usr/local/src/kamailio/modules/mi_xmlrpc# make</font></div>
<div><font size="1">Makefile:46: You are using an unsupported libxmlrpc-c3 version  (1.16.33), compile at your own risk!</font></div><div><font size="1">Makefile:46: You are using an unsupported libxmlrpc-c3 version  (1.16.33), compile at your own risk!</font></div>
<div><font size="1">CC (gcc) [M mi_xmlrpc.so]<span style="white-space:pre-wrap">          </span>abyss_conf.o</font></div><div><font size="1">CC (gcc) [M mi_xmlrpc.so]<span style="white-space:pre-wrap">                </span>abyss_conn.o</font></div>
<div><font size="1">CC (gcc) [M mi_xmlrpc.so]<span style="white-space:pre-wrap">          </span>abyss_data.o</font></div><div><font size="1">CC (gcc) [M mi_xmlrpc.so]<span style="white-space:pre-wrap">                </span>abyss_date.o</font></div>
<div><font size="1">CC (gcc) [M mi_xmlrpc.so]<span style="white-space:pre-wrap">          </span>abyss_file.o</font></div><div><font size="1">CC (gcc) [M mi_xmlrpc.so]<span style="white-space:pre-wrap">                </span>abyss_http.o</font></div>
<div><font size="1">abyss_http.c: In function ‘RequestInit’:</font></div><div><font size="1">abyss_http.c:105:5: warning: implicit declaration of function ‘StringAlloc’ [-Wimplicit-function-declaration]</font></div><div><font size="1">abyss_http.c: In function ‘RequestFree’:</font></div>
<div><font size="1">abyss_http.c:120:5: warning: implicit declaration of function ‘StringFree’ [-Wimplicit-function-declaration]</font></div><div><font size="1">CC (gcc) [M mi_xmlrpc.so]<span style="white-space:pre-wrap">               </span>abyss_response.o</font></div>
<div><font size="1">abyss_response.c:590:6: error: conflicting types for ‘Base64Encode’</font></div><div><font size="1">In file included from abyss_response.c:20:0:</font></div><div><font size="1">/usr/include/xmlrpc-c/abyss.h:513:1: note: previous declaration of ‘Base64Encode’ was here</font></div>
<div><font size="1">make: *** [abyss_response.o] Error 1</font></div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Some months ago was a commit related with that (I think so):</div>
<div style="font-family:arial,sans-serif;font-size:13px"><a href="http://lists.sip-router.org/pipermail/sr-dev/2013-October/021513.html" target="_blank">http://lists.sip-router.org/pipermail/sr-dev/2013-October/021513.html</a></div>
<div style="font-family:arial,sans-serif;font-size:13px">It was a patch witten by Muhammad Shahzad and was applied in 4.0.4 version, but seems to be incomplete.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I've solved the error, patching in the same way "abyss_response.c" (there are still some warnings)</div><div style="font-family:arial,sans-serif;font-size:13px">
<div><font size="1">--- abyss_response.c<span style="white-space:pre-wrap">       </span>2014-03-26 16:57:07.468091972 +0100</font></div><div><font size="1">+++ abyss_response.c<span style="white-space:pre-wrap">      </span>2014-03-06 16:40:16.000000000 +0100</font></div>
<div><font size="1">@@ -582,6 +582,8 @@</font></div><div><font size="1"> }</font></div><div><font size="1"> </font><span style="font-size:x-small">                                   </span></div><div><font size="1">+#ifdef XMLRPC_OLD_VERSION</font></div>
<div><font size="1"> /*********************************************************************</font></div><div><font size="1"> ** Base64</font></div><div><font size="1"> *********************************************************************/</font></div>
<div><font size="1">@@ -622,6 +624,7 @@</font></div><div><font size="1">     /* ...and zero-terminate it. */</font></div><div><font size="1">     *p = '\0';</font></div><div><font size="1"> }</font></div><div><font size="1">+#endif</font></div>
<div><font size="1"> </font></div><div><font size="1"> /******************************************************************************</font></div><div><font size="1"> **</font></div></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">In 4.1.2 version compiles OK (I've backported the fix from here)</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Cheers,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">P.D.: Kamailio 4.0 deb packages have same problem I guess, cause there is no mi_xmlrpc.so</div>
<div><br></div>-- <br>Andoni Izurza<br>You got it!! ;P
</div>