Hello,
On 2/17/12 7:23 AM, Nathaniel L Keeling wrote:
Hello,
I am trying to compile mi_xmlrpc on Solaris 10 64bit OS and I am
getting this error:
CC (gcc) [M mi_xmlrpc.so] abyss_xmlrpc_server.o
abyss_xmlrpc_server.c:948:1: error: conflicting types for 'shutdownAbyss'
abyss_xmlrpc_server.c:945:34: note: previous declaration of
'shutdownAbyss' was here
abyss_xmlrpc_server.c: In function 'normalLevelAbyssRun':
abyss_xmlrpc_server.c:1005:42: warning: passing argument 2 of
'xmlrpc_registry_set_shutdown' from incompatible pointer type [enabled
by default]
/opt/csw/include/xmlrpc-c/server.h:114:1: note: expected 'void (*
const)(struct xmlrpc_env * const, void * const, const char * const,
void * const)' but argument is of type 'void (*)(struct xmlrpc_env *
const, void * const, const char * const)'
gmake[1]: *** [abyss_xmlrpc_server.o] Error 1
gmake: *** [modules_k] Error 1
do you have any xmlrpc-c library installed? If yes, what version? For
some old versions the module uses an included version, since there were
bugs in the library.
You can try to remove the line 945 in the abyss_xmlrpc_server.c file
from the module for the error, but I see some other warnings that
indicate some mixage of libraries.
On the other hand, it is recommended to use xmlrpc module, it is located
in 'modules/' and can run mi and new-rpc commands. For running mi
commands, that use 'mi' as XMLRPC command, then the first parameter is
the name of MI command, followed by the rest of the parameters.
Btw, these are for v3.1+ of kamailio.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
http://www.asipto.com
http://linkedin.com/in/miconda --
http://twitter.com/miconda