<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Bogdan,<br><br>Thanks. I am using RHEL5. I installed this package<br><a href="http://archive.ubuntu.com/ubuntu/pool/universe/x/xmlrpc-c/xmlrpc-c_1.06.21.orig.tar.gz">xmlrpc-c_1.06.21</a><br>as I couldn't find any non debian package for libxmlrpc-c3-dev. <br><br>It compiled fine but still doesn't work when i try to load the module mi_xmlrpc.so . <br><br>The logs were like this <br><br>Aug&nbsp; 6 11:34:05 localhost opensips: ERROR:core:sr_load_module: could not open module &lt;/usr/local/lib/opensips/modules/mi_xmlrpc.so&gt;: libxmlrpc_server.so.3: cannot open shared object file: No such file or directory<br>Aug&nbsp; 6 11:34:05 localhost opensips: CRITICAL:core:yyerror: parse error in config file, line 81, column 13-14: failed to load module<br>Aug&nbsp; 6 11:34:05 localhost opensips: ERROR:core:main: bad config file (1 errors)<br><br>Thanks,<br>Srikanth
 Rajagopalan<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div class="plainMail">Message: 2<br>Date: Thu, 06 Aug 2009 20:50:29 +0300<br>From: Bogdan-Andrei Iancu &lt;<a ymailto="mailto:bogdan@voice-system.ro" href="/mc/compose?to=bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;<br>Subject: Re: [OpenSIPS-Users] Regarding Enabling Openxcap<br>To: Srikanth Rajagopalan &lt;<a ymailto="mailto:srikanth_r17@yahoo.co.in" href="/mc/compose?to=srikanth_r17@yahoo.co.in">srikanth_r17@yahoo.co.in</a>&gt;<br>Cc: <a ymailto="mailto:users@lists.opensips.org" href="/mc/compose?to=users@lists.opensips.org">users@lists.opensips.org</a><br>Message-ID: &lt;<a ymailto="mailto:4A7B17E5.1060405@voice-system.ro" href="/mc/compose?to=4A7B17E5.1060405@voice-system.ro">4A7B17E5.1060405@voice-system.ro</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Hi Srikanth,<br><br>You need to install
 the libxmlrpc-c3-dev package<br><br>Regards,<br>Bogdan<br><br>Srikanth Rajagopalan wrote:<br>&gt; Sorry for sending too many mails but I forgot to type in the subject.<br>&gt;<br>&gt; I have an Opensips server with Presence enabled but with no Xcap<br>&gt; capability, which I want to add now.&nbsp; I followed the example in the <br>&gt; documentation to change the config file. As I saw that mi_xmlrpc <br>&gt; module is also being loaded. I changed the Makefile by removing <br>&gt; 'mi_xmlrpc' from the excluded modules.<br>&gt; Now when I try to make, the make fails giving an error in the mi_xmlrpc<br>&gt; module. I am not too sure how to proceed.<br>&gt;<br>&gt; Could someone guide me please.<br>&gt;<br>&gt; The error was<br>&gt;<br>&gt; which:<br>&gt; no xmlrpc-c-config in<br>&gt; (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>&gt; which: no xmlrpc-c-config in<br>&gt;
 (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>&gt; make[1]: Entering directory `/usr/src/opensips/modules/mi_xmlrpc'<br>&gt; make[1]: Leaving directory `/usr/src/opensips/modules/mi_xmlrpc'<br>&gt; which:<br>&gt; no xmlrpc-c-config in<br>&gt; (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>&gt; which:<br>&gt; no xmlrpc-c-config in<br>&gt; (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>&gt; make[1]: Entering directory `/usr/src/opensips/modules/mi_xmlrpc'<br>&gt; Compiling abyss_conf.c<br>&gt; gcc<br>&gt; -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall<br>&gt; -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott<br>&gt; -Wold-style-definition -Wmissing-field-initializers
 -Wredundant-decls<br>&gt; -DMOD_NAME='"mi_xmlrpc"'??? -DNAME='"opensips"'<br>&gt; -DVERSION='"1.5.1-notls"' -DARCH='"i386"' -DOS='"linux"'<br>&gt; -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes<br>&gt; -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM?<br>&gt; -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE<br>&gt; -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC?<br>&gt; -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024?<br>&gt; -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD<br>&gt; -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H<br>&gt; -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT<br>&gt; -I/usr/local/include -I/usr/local/include/xmlrpc-c<br>&gt; -I/usr/include/xmlrpc-c -D_UNIX -D_UNIX -c abyss_conf.c -o abyss_conf.o<br>&gt; abyss_conf.c:47:29: error: xmlrpc-c/config.h: No such file or directory<br>&gt; abyss_conf.c:49:28: error: xmlrpc-c/abyss.h: No
 such file or directory<br>&gt; In file included from abyss_server.h:8,<br>&gt; ???????????????? from<br>&gt; abyss_conf.c:51:<br>&gt; abyss_file.h:70: error: expected specifier-qualifier-list before <br>&gt; ?uint64_t?<br>&gt; abyss_file.h:84: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?FileOpen?<br>&gt; abyss_file.h:89: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?FileOpenCreate?<br>&gt; abyss_file.h:94: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?FileClose?<br>&gt; abyss_file.h:97: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?FileWrite?<br>&gt; abyss_file.h:104: error: expected declaration specifiers or ?...? <br>&gt; before ?uint32_t?<br>&gt; abyss_file.h:107: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?FileSeek?<br>&gt; abyss_file.h:112: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before
 ?FileSize?<br>&gt; abyss_file.h:115: error: expected ?=?, ?,?,<br>&gt; ?;?, ?asm? or ?__attribute__? before ?FileStat?<br>&gt; abyss_file.h:119: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?FileFindFirst?<br>&gt; abyss_file.h:124: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?FileFindNext?<br>&gt; I<br>&gt; abyss_socket.h:17: error: expected<br>&gt; ?)? before ?*? token<br>&gt; abyss_socket.h:19: error: expected ?)? before ?*? token<br>&gt; abyss_socket.h:21: error: expected ?)? before ?*? token<br>&gt; abyss_socket.h:26: error: expected ?)? before ?*? token<br>&gt; abyss_socket.h:30: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?SocketConnectImpl?<br>&gt; abyss_socket.h:34: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?SocketBindImpl?<br>&gt; abyss_socket.h:38: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before
 ?SocketListenImpl?<br>&gt;<br>&gt; abyss_conn.h:15: error: expected specifier-qualifier-list before ?TServer?<br>&gt; abyss_conn.h:53: error: expected declaration specifiers or ?...? <br>&gt; before ?TServer?<br>&gt; abyss_conn.h:54: error: expected declaration specifiers or ?...? <br>&gt; before ?TSocket?<br>&gt; abyss_conn.h:58: error: expected declaration specifiers or ?...? <br>&gt; before ?abyss_bool?<br>&gt; abyss_conn.h:59: warning: ?enum<br>&gt; abyss_foreback? declared inside parameter list<br>&gt; abyss_conn.h:59: warning: its scope is only this definition or <br>&gt; declaration, which is probably not what you want<br>&gt; abyss_conn.h:62: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?ConnProcess?<br>&gt; abyss_conn.h:65: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?ConnKill?<br>&gt; abyss_conn.h:71: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before
 ?ConnWrite?<br>&gt; abyss_conn.h:76: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?ConnRead?<br>&gt; abyss_conn.h:83: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?ConnReadHeader?<br>&gt;<br>&gt; abyss_http.h:33: error: expected ?=?, ?,?, ?;?,<br>&gt; ?asm? or ?__attribute__? before ?HTTPWriteBodyChunk?<br>&gt; abyss_http.h:38: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?HTTPWriteEndChunk?<br>&gt; abyss_http.h:41: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?HTTPKeepalive?<br>&gt; abyss_conf.c:61: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?ConfReadLine?<br>&gt; abyss_conf.c:96: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before ?ConfNextToken?<br>&gt; abyss_conf.c: In function ?ConfGetToken?:<br>&gt;<br>&gt; abyss_conf.c:186: error: ?abyss_bool? undeclared (first use in this <br>&gt;
 function)<br>&gt; abyss_conf.c:186: error: expected ?;? before ?success?<br>&gt; abyss_conf.c:187: error: ?MIMEType? undeclared (first use in this <br>&gt; function)<br>&gt; abyss_conf.c:187: error: ?MIMETypeP? undeclared (first use in this <br>&gt; function)<br>&gt; abyss_conf.c:189: warning: implicit declaration of function <br>&gt; ?MIMETypeCreate?<br>&gt; abyss_conf.c:192: error: expected ?;? before ?fileOpened?<br>&gt; abyss_conf.c:194: error: ?fileOpened? undeclared (first use in this <br>&gt; function)<br>&gt; abyss_conf.c:194: warning: implicit<br>&gt; declaration of function ?FileOpen?<br>&gt; abyss_conf.c:197: warning: implicit declaration of function ?ConfReadLine?<br>&gt; abyss_conf.c:201: warning: implicit declaration of function <br>&gt; ?ConfNextToken?<br>&gt; abyss_conf.c:207: warning: implicit declaration of function ?MIMETypeAdd2?<br>&gt; abyss_conf.c:214: warning: implicit declaration of function ?FileClose?<br>&gt; abyss_conf.c:215:
 error: ?success? undeclared (first use in this function)<br>&gt; abyss_conf.c:215: error: ?TRUE? undeclared (first use in this function)<br>&gt; abyss_conf.c:217: error: ?FALSE? undeclared (first use in this function)<br>&gt; abyss_conf.c:219: warning: implicit declaration of function <br>&gt; ?MIMETypeDestroy?<br>&gt; abyss_conf.c:224: error: ?MIMETypePP? undeclared (first use in this <br>&gt; function)<br>&gt; abyss_conf.c: At top level:<br>&gt; abyss_conf.c:235: error: expected declaration specifiers or ?...? <br>&gt; before ?abyss_bool?<br>&gt; abyss_conf.c: In function ?chdirx?:<br>&gt; abyss_conf.c:240:<br>&gt; error: ?successP? undeclared (first use in this function)<br>&gt; abyss_conf.c: In function ?parseUser?:<br>&gt; abyss_conf.c:253: warning: implicit declaration of function ?ConfReadInt?<br>&gt; abyss_conf.c:256: error: ?struct _TServer? has no member named ?uid?<br>&gt; abyss_conf.c:263: error: ?struct _TServer? has no member named
 ?uid?<br>&gt; abyss_conf.c:264: error: ?struct _TServer? has no member named ?gid?<br>&gt; abyss_conf.c:265: error: ?struct _TServer? has no member named ?gid?<br>&gt;<br>&gt; abyss_conf.c: At top level:<br>&gt; abyss_conf.c:290: error: expected ?=?, ?,?, ?;?, ?asm? or <br>&gt; ?__attribute__? before<br>&gt; ?ConfReadServerFile?<br>&gt; make[1]: *** [abyss_conf.o] Error 1<br>&gt; make[1]: Leaving directory `/usr/src/opensips/modules/mi_xmlrpc'<br>&gt; make: *** [modules] Error 2<br>&gt;<br>&gt; Thanks,<br>&gt; Srikanth Rajagopalan<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt; Looking for local information? Find it on Yahoo! Local <br>&gt; &lt;<a href="http://in.rd.yahoo.com/tagline_local_1/*http://in.local.yahoo.com/" target="_blank">http://in.rd.yahoo.com/tagline_local_1/*http://in.local.yahoo.com/</a>&gt;<br>&gt;
 ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a><br>&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>&gt;&nbsp;&nbsp; <br></div></blockquote></td></tr></table><br>
      <!--3--><hr size=1></hr> Yahoo! recommends that you upgrade to the new and safer <a href="http://in.rd.yahoo.com/tagline_ie8_1/*http://downloads.yahoo.com/in/internetexplorer/" target="_blank"> Internet Explorer 8</a>.