Hello,

On 3/12/12 10:55 PM, Krishna Kurapati wrote:
Hi,

git cloned main branch and tried to compile it on Cent OS 6.

The mi_xmlrpc module is failing to compile

make
Makefile:46: You are using an unsupported libxmlrpc-c3 version  (1.16.24), compile at your own risk!
Makefile:46: You are using an unsupported libxmlrpc-c3 version  (1.16.24), compile at your own risk!

as the above log message says, you compile against an unsupported lib version.

As a matter of fact, you should use xmlrpc module from modules/ folder instead of mi_xmlrpc which is going to be obsolete. With xmlrpc you can run any MI command via RPC command 'mi', with first parameter the MI command, and of course, any RPC command exported from modules.

xmlrpc does not use an external library for transport layer, but the tcp/tls from the core.

Cheers,
Daniel

CC (gcc) [M mi_xmlrpc.so] abyss_conf.o
CC (gcc) [M mi_xmlrpc.so] abyss_conn.o
CC (gcc) [M mi_xmlrpc.so] abyss_data.o
abyss_data.c:219: error: expected ‘)’ before ‘*’ token
abyss_data.c:236: error: expected ‘)’ before ‘*’ token
abyss_data.c:249: error: expected ‘)’ before ‘*’ token
abyss_data.c:287: error: expected ‘)’ before ‘*’ token
abyss_data.c:299: error: expected ‘)’ before ‘*’ token
abyss_data.c:312: error: expected ‘)’ before ‘*’ token
abyss_data.c:326: error: expected ‘)’ before ‘*’ token
abyss_data.c:332: error: expected ‘)’ before ‘*’ token
make: *** [abyss_data.o] Error 1


I have installed following rpms:

xmlrpc-c-devel-1.16.24-1200.1840.el6_1.4.x86_64
xmlrpc-c-client-1.16.24-1200.1840.el6_1.4.x86_64
xmlrpc-c-client++-1.16.24-1200.1840.el6_1.4.x86_64
xmlrpc-c-c++-1.16.24-1200.1840.el6_1.4.x86_64
xmlrpc-c-1.16.24-1200.1840.el6_1.4.x86_64

Can someone help with this? 

Thanks
Krish


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/