I did a fresh install of debian 7.1 and centos 6.4 minimal. Then compiled latest stable kamailio from git, including mi_xmlrpc, xmlrpc and db_mysql modules. I observed bunch of warnings and missing declarations, which i have fixed in attached patch.
Debian 7.1:
debian:/usr/src/svn-src/kamailio/modules/mi_xmlrpc# xmlrpc-c-config --version
1.16.33
debian:/usr/src/svn-src/kamailio/modules/mi_xmlrpc# make clean
debian:/usr/src/svn-src/kamailio/modules/mi_xmlrpc# make all
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
CC (gcc) [M mi_xmlrpc.so] abyss_date.o
CC (gcc) [M mi_xmlrpc.so] abyss_file.o
CC (gcc) [M mi_xmlrpc.so] abyss_http.o
CC (gcc) [M mi_xmlrpc.so] abyss_response.o
CC (gcc) [M mi_xmlrpc.so] abyss_server.o
CC (gcc) [M mi_xmlrpc.so] abyss_session.o
CC (gcc) [M mi_xmlrpc.so] abyss_socket.o
CC (gcc) [M mi_xmlrpc.so] abyss_socket_unix.o
CC (gcc) [M mi_xmlrpc.so] abyss_thread_fork.o
CC (gcc) [M mi_xmlrpc.so] abyss_token.o
CC (gcc) [M mi_xmlrpc.so] abyss_trace.o
CC (gcc) [M mi_xmlrpc.so] abyss_xmlrpc_server.o
CC (gcc) [M mi_xmlrpc.so] mi_xmlrpc.o
CC (gcc) [M mi_xmlrpc.so] xr_parser.o
CC (gcc) [M mi_xmlrpc.so] xr_server.o
CC (gcc) [M mi_xmlrpc.so] xr_writer.o
make[1]: `libkmi.so.1.0' is up to date.
LD (gcc) [M mi_xmlrpc.so] mi_xmlrpc.so
CentOS 6.4:
[root@localhost svn-src]# xmlrpc-c-config --version
1.16.24
[root@localhost mi_xmlrpc]# make clean
[root@localhost mi_xmlrpc]# make all
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
CC (gcc) [M mi_xmlrpc.so] abyss_date.o
CC (gcc) [M mi_xmlrpc.so] abyss_file.o
CC (gcc) [M mi_xmlrpc.so] abyss_http.o
CC (gcc) [M mi_xmlrpc.so] abyss_response.o
CC (gcc) [M mi_xmlrpc.so] abyss_server.o
CC (gcc) [M mi_xmlrpc.so] abyss_session.o
CC (gcc) [M mi_xmlrpc.so] abyss_socket.o
CC (gcc) [M mi_xmlrpc.so] abyss_socket_unix.o
CC (gcc) [M mi_xmlrpc.so] abyss_thread_fork.o
CC (gcc) [M mi_xmlrpc.so] abyss_token.o
CC (gcc) [M mi_xmlrpc.so] abyss_trace.o
CC (gcc) [M mi_xmlrpc.so] abyss_xmlrpc_server.o
CC (gcc) [M mi_xmlrpc.so] mi_xmlrpc.o
CC (gcc) [M mi_xmlrpc.so] xr_parser.o
CC (gcc) [M mi_xmlrpc.so] xr_server.o
CC (gcc) [M mi_xmlrpc.so] xr_writer.o
make[1]: `libkmi.so.1.0' is up to date.
LD (gcc) [M mi_xmlrpc.so] mi_xmlrpc.so
I will try out OpenSuse 12.3 and Fedora 19 later today and see if they are OK too with it. If there are any other distros i should test patch with, do let me know.
Thank you.