"mi_xmlrpc module" with "opensips 1.4.2-notls" (x86_64/linux) "undefined symbol": xmlrpc_array_size

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

"mi_xmlrpc module" with "opensips 1.4.2-notls" (x86_64/linux) "undefined symbol": xmlrpc_array_size

ollie eillo
Hi,
 
Centos 5.2
x86_64
opensips 1.4.2-notls
 
I have opensips compiled and running successfully on Centos 5.2 without the mi_xmplrpc module.
 
I followed this method:
 
I am trying to enable mi_xmlrpc so that openxcap can work with opensips.
 
The key problem arises with the dependency: xmlrpc-c.
 
The documentation says that version 0.9.10 should be used but this is a very old version and I cannot find a compiled 64bit version.
 
I have tried compiling the source version of 0.9.10 but .\configure fails because it has not been tested with 64bit and I don't know how to patch it!
 
In the end I tried installing newer tarball versions:
 
xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm
xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm
 
Success, Opensips then copiled with no errors.
 
However, it no longer starts.
 
opensips.log
 
Mar 24 10:09:43 opensips: ERROR:core:sr_load_module: could not open module </usr/local/lib64/opensips/modules/mi_xmlrpc.so>: /usr/local/lib64/opensips/modules/mi_xmlrpc.so: undefined symbol: xmlrpc_array_size
Mar 24 10:09:43 opensips: CRITICAL:core:yyerror: parse error in config file, line 95, column 13-14: failed to load module
Mar 24 10:09:43 opensips: ERROR:core:set_mod_param_regex: no module matching mi_xmlrpc found |
Mar 24 10:09:43 opensips: CRITICAL:core:yyerror: parse error in config file, line 153, column 21-22: Can't set module parameter
Mar 24 10:09:43 opensips: ERROR:core:main: bad config file (2 errors)
Mar 24 10:09:43 opensips: NOTICE:presence:destroy: destroy module ...

opensips.cfg
 
loadmodule "xcap_client.so"
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "mi_xmlrpc.so"
 
modparam("presence", "server_address", "sip:sa@private_nic_ip:5060" )
modparam("presence", "clean_period", 100)
modparam("presence", "max_expires", 3600)
modparam("presence_xml", "integrated_xcap_server", 1)
modparam("presence_xml", "pidf_manipulation", 1)
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "xcap_table", "xcap")
modparam("mi_xmlrpc","port", 8080)

find /usr/include/ | grep -i xmlrpc

/usr/include/xmlrpc_server_w32httpsys.h
/usr/include/xmlrpc_client.h
/usr/include/xmlrpc_server_abyss.h
/usr/include/xmlrpc_cgi.h
/usr/include/xmlrpc.h
/usr/include/XmlRpcCpp.h
/usr/include/xmlrpc_server.h
/usr/include/xmlrpc-c
/usr/include/xmlrpc-c/girerr.hpp
/usr/include/xmlrpc-c/server_abyss.h
/usr/include/xmlrpc-c/client.hpp
/usr/include/xmlrpc-c/server_w32httpsys.h
/usr/include/xmlrpc-c/server_abyss.hpp
/usr/include/xmlrpc-c/server_cgi.h
/usr/include/xmlrpc-c/girmem.hpp
/usr/include/xmlrpc-c/xml.hpp
/usr/include/xmlrpc-c/client.h
/usr/include/xmlrpc-c/registry.hpp
/usr/include/xmlrpc-c/transport.h
/usr/include/xmlrpc-c/oldxmlrpc.h
/usr/include/xmlrpc-c/base.hpp
/usr/include/xmlrpc-c/timeout.hpp
/usr/include/xmlrpc-c/client_transport.hpp
/usr/include/xmlrpc-c/util.h
/usr/include/xmlrpc-c/client_global.h
/usr/include/xmlrpc-c/client_simple.hpp
/usr/includ e/xmlrpc-c/base.h
/usr/include/xmlrpc-c/oldcppwrapper.hpp
/usr/include/xmlrpc-c/config.h
/usr/include/xmlrpc-c/server.h
/usr/include/xmlrpc-c/abyss.h

find /usr/local | grep -i mi_xmlrpc

/usr/local/lib64/opensips/modules/mi_xmlrpc.so

Please let me know how to work around this. Perhaps a way of compiling 0.9.10 with 64bit.
 
Thank you very much in advance,
 
Ollie

 

 

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSIPS-Devel] "mi_xmlrpc module" with "opensips 1.4.2-notls" (x86_64/linux) "undefined symbol": xmlrpc_array_size

Bogdan-Andrei Iancu
Hi Ollie,

be sure you do proper clean (do make proper) before recompiling - all
version 10310 - 10630 should work. maybe you just have mixed some
objects from the prev compiling.

Regards,
Bogdan

ollie eillo wrote:

> Hi,
>  
> /Centos 5.2
> x86_64/
> /opensips 1.4.2-notls/
>  
> I have opensips compiled and running successfully on Centos 5.2
> without the mi_xmplrpc module.
>  
> I followed this method:
> http://www.smartvox.co.uk/serfaq_install_opensips142.htm
>  
> I am trying to enable mi_xmlrpc so that openxcap can work with opensips.
>  
> The key problem arises with the dependency: xmlrpc-c.
>  
> The documentation says that version 0.9.10 should be used but this is
> a very old version and I cannot find a compiled 64bit version.
>  
> I have tried compiling the source version of 0.9.10 but .\configure
> fails because it has not been tested with 64bit and I don't know how
> to patch it!
>  
> In the end I tried installing newer tarball versions:
>  
> *xmlrpc-c-1.06.18-1.el5.kb.x86_64.rpm
> xmlrpc-c-devel-1.06.18-1.el5.kb.x86_64.rpm*
>  
> Success, Opensips then copiled with no errors.
>  
> *However, it no longer starts.*
>  
> _opensips.log_
>  
> Mar 24 10:09:43 opensips: ERROR:core:sr_load_module: could not open
> module </usr/local/lib64/opensips/modules/mi_xmlrpc.so>:
> */usr/local/lib64/opensips/modules/mi_xmlrpc.so: undefined symbol:
> xmlrpc_array_size
> *Mar 24 10:09:43 opensips: CRITICAL:core:yyerror: parse error in
> config file, line 95, column 13-14: failed to load module
> Mar 24 10:09:43 opensips: ERROR:core:set_mod_param_regex: no module
> matching mi_xmlrpc found |
> Mar 24 10:09:43 opensips: CRITICAL:core:yyerror: parse error in config
> file, line 153, column 21-22: Can't set module parameter
> Mar 24 10:09:43 opensips: ERROR:core:main: bad config file (2 errors)
> Mar 24 10:09:43 opensips: NOTICE:presence:destroy: destroy module ...
> ------------------------------------------------------------------------
> _opensips.cfg_
>  
> loadmodule "xcap_client.so"
> loadmodule "presence.so"
> loadmodule "presence_xml.so"
> loadmodule "mi_xmlrpc.so"
>  
> modparam("presence", "server_address", "sip:sa@private_nic_ip:5060" )
> modparam("presence", "clean_period", 100)
> modparam("presence", "max_expires", 3600)
> modparam("presence_xml", "integrated_xcap_server", 1)
> modparam("presence_xml", "pidf_manipulation", 1)
> modparam("presence_xml", "force_active", 0)
> modparam("presence_xml", "xcap_table", "xcap")
> modparam("mi_xmlrpc","port", 8080)
> ------------------------------------------------------------------------
> _find /usr/include/ | grep -i xmlrpc_
>
> /usr/include/xmlrpc_server_w32httpsys.h
> /usr/include/xmlrpc_client.h
> /usr/include/xmlrpc_server_abyss.h
> /usr/include/xmlrpc_cgi.h
> /usr/include/xmlrpc.h
> /usr/include/XmlRpcCpp.h
> /usr/include/xmlrpc_server.h
> /usr/include/xmlrpc-c
> /usr/include/xmlrpc-c/girerr.hpp
> /usr/include/xmlrpc-c/server_abyss.h
> /usr/include/xmlrpc-c/client.hpp
> /usr/include/xmlrpc-c/server_w32httpsys.h
> /usr/include/xmlrpc-c/server_abyss.hpp
> /usr/include/xmlrpc-c/server_cgi.h
> /usr/include/xmlrpc-c/girmem.hpp
> /usr/include/xmlrpc-c/xml.hpp
> /usr/include/xmlrpc-c/client.h
> /usr/include/xmlrpc-c/registry.hpp
> /usr/include/xmlrpc-c/transport.h
> /usr/include/xmlrpc-c/oldxmlrpc.h
> /usr/include/xmlrpc-c/base.hpp
> /usr/include/xmlrpc-c/timeout.hpp
> /usr/include/xmlrpc-c/client_transport.hpp
> /usr/include/xmlrpc-c/util.h
> /usr/include/xmlrpc-c/client_global.h
> /usr/include/xmlrpc-c/client_simple.hpp
> /usr/includ e/xmlrpc-c/base.h
> /usr/include/xmlrpc-c/oldcppwrapper.hpp
> /usr/include/xmlrpc-c/config.h
> /usr/include/xmlrpc-c/server.h
> /usr/include/xmlrpc-c/abyss.h
> ------------------------------------------------------------------------
> _find /usr/local | grep -i mi_xmlrpc_
>
> /usr/local/lib64/opensips/modules/mi_xmlrpc.so
> ------------------------------------------------------------------------
> Please let me know how to work around this. Perhaps a way of compiling
> 0.9.10 with 64bit.
>  
> Thank you very much in advance,
>  
> Ollie
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users