<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 6 11:34:05 localhost opensips: ERROR:core:sr_load_module: could not open module </usr/local/lib/opensips/modules/mi_xmlrpc.so>: libxmlrpc_server.so.3: cannot open shared object file: No such file or directory<br>Aug 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 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 <<a ymailto="mailto:bogdan@voice-system.ro" href="/mc/compose?to=bogdan@voice-system.ro">bogdan@voice-system.ro</a>><br>Subject: Re: [OpenSIPS-Users] Regarding Enabling Openxcap<br>To: Srikanth Rajagopalan <<a ymailto="mailto:srikanth_r17@yahoo.co.in" href="/mc/compose?to=srikanth_r17@yahoo.co.in">srikanth_r17@yahoo.co.in</a>><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: <<a ymailto="mailto:4A7B17E5.1060405@voice-system.ro" href="/mc/compose?to=4A7B17E5.1060405@voice-system.ro">4A7B17E5.1060405@voice-system.ro</a>><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>> Sorry for sending too many mails but I forgot to type in the subject.<br>><br>> I have an Opensips server with Presence enabled but with no Xcap<br>> capability, which I want to add now. I followed the example in the <br>> documentation to change the config file. As I saw that mi_xmlrpc <br>> module is also being loaded. I changed the Makefile by removing <br>> 'mi_xmlrpc' from the excluded modules.<br>> Now when I try to make, the make fails giving an error in the mi_xmlrpc<br>> module. I am not too sure how to proceed.<br>><br>> Could someone guide me please.<br>><br>> The error was<br>><br>> which:<br>> no xmlrpc-c-config in<br>> (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>> which: no xmlrpc-c-config in<br>>
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>> make[1]: Entering directory `/usr/src/opensips/modules/mi_xmlrpc'<br>> make[1]: Leaving directory `/usr/src/opensips/modules/mi_xmlrpc'<br>> which:<br>> no xmlrpc-c-config in<br>> (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>> which:<br>> no xmlrpc-c-config in<br>> (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)<br>> make[1]: Entering directory `/usr/src/opensips/modules/mi_xmlrpc'<br>> Compiling abyss_conf.c<br>> gcc<br>> -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall<br>> -minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott<br>> -Wold-style-definition -Wmissing-field-initializers
-Wredundant-decls<br>> -DMOD_NAME='"mi_xmlrpc"'??? -DNAME='"opensips"'<br>> -DVERSION='"1.5.1-notls"' -DARCH='"i386"' -DOS='"linux"'<br>> -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux -D__SMP_yes<br>> -DCFG_DIR='"/usr/local/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM?<br>> -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE<br>> -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC?<br>> -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024?<br>> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD<br>> -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H<br>> -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT<br>> -I/usr/local/include -I/usr/local/include/xmlrpc-c<br>> -I/usr/include/xmlrpc-c -D_UNIX -D_UNIX -c abyss_conf.c -o abyss_conf.o<br>> abyss_conf.c:47:29: error: xmlrpc-c/config.h: No such file or directory<br>> abyss_conf.c:49:28: error: xmlrpc-c/abyss.h: No
such file or directory<br>> In file included from abyss_server.h:8,<br>> ???????????????? from<br>> abyss_conf.c:51:<br>> abyss_file.h:70: error: expected specifier-qualifier-list before <br>> ?uint64_t?<br>> abyss_file.h:84: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?FileOpen?<br>> abyss_file.h:89: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?FileOpenCreate?<br>> abyss_file.h:94: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?FileClose?<br>> abyss_file.h:97: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?FileWrite?<br>> abyss_file.h:104: error: expected declaration specifiers or ?...? <br>> before ?uint32_t?<br>> abyss_file.h:107: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?FileSeek?<br>> abyss_file.h:112: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before
?FileSize?<br>> abyss_file.h:115: error: expected ?=?, ?,?,<br>> ?;?, ?asm? or ?__attribute__? before ?FileStat?<br>> abyss_file.h:119: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?FileFindFirst?<br>> abyss_file.h:124: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?FileFindNext?<br>> I<br>> abyss_socket.h:17: error: expected<br>> ?)? before ?*? token<br>> abyss_socket.h:19: error: expected ?)? before ?*? token<br>> abyss_socket.h:21: error: expected ?)? before ?*? token<br>> abyss_socket.h:26: error: expected ?)? before ?*? token<br>> abyss_socket.h:30: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?SocketConnectImpl?<br>> abyss_socket.h:34: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?SocketBindImpl?<br>> abyss_socket.h:38: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before
?SocketListenImpl?<br>><br>> abyss_conn.h:15: error: expected specifier-qualifier-list before ?TServer?<br>> abyss_conn.h:53: error: expected declaration specifiers or ?...? <br>> before ?TServer?<br>> abyss_conn.h:54: error: expected declaration specifiers or ?...? <br>> before ?TSocket?<br>> abyss_conn.h:58: error: expected declaration specifiers or ?...? <br>> before ?abyss_bool?<br>> abyss_conn.h:59: warning: ?enum<br>> abyss_foreback? declared inside parameter list<br>> abyss_conn.h:59: warning: its scope is only this definition or <br>> declaration, which is probably not what you want<br>> abyss_conn.h:62: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?ConnProcess?<br>> abyss_conn.h:65: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?ConnKill?<br>> abyss_conn.h:71: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before
?ConnWrite?<br>> abyss_conn.h:76: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?ConnRead?<br>> abyss_conn.h:83: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?ConnReadHeader?<br>><br>> abyss_http.h:33: error: expected ?=?, ?,?, ?;?,<br>> ?asm? or ?__attribute__? before ?HTTPWriteBodyChunk?<br>> abyss_http.h:38: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?HTTPWriteEndChunk?<br>> abyss_http.h:41: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?HTTPKeepalive?<br>> abyss_conf.c:61: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?ConfReadLine?<br>> abyss_conf.c:96: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before ?ConfNextToken?<br>> abyss_conf.c: In function ?ConfGetToken?:<br>><br>> abyss_conf.c:186: error: ?abyss_bool? undeclared (first use in this <br>>
function)<br>> abyss_conf.c:186: error: expected ?;? before ?success?<br>> abyss_conf.c:187: error: ?MIMEType? undeclared (first use in this <br>> function)<br>> abyss_conf.c:187: error: ?MIMETypeP? undeclared (first use in this <br>> function)<br>> abyss_conf.c:189: warning: implicit declaration of function <br>> ?MIMETypeCreate?<br>> abyss_conf.c:192: error: expected ?;? before ?fileOpened?<br>> abyss_conf.c:194: error: ?fileOpened? undeclared (first use in this <br>> function)<br>> abyss_conf.c:194: warning: implicit<br>> declaration of function ?FileOpen?<br>> abyss_conf.c:197: warning: implicit declaration of function ?ConfReadLine?<br>> abyss_conf.c:201: warning: implicit declaration of function <br>> ?ConfNextToken?<br>> abyss_conf.c:207: warning: implicit declaration of function ?MIMETypeAdd2?<br>> abyss_conf.c:214: warning: implicit declaration of function ?FileClose?<br>> abyss_conf.c:215:
error: ?success? undeclared (first use in this function)<br>> abyss_conf.c:215: error: ?TRUE? undeclared (first use in this function)<br>> abyss_conf.c:217: error: ?FALSE? undeclared (first use in this function)<br>> abyss_conf.c:219: warning: implicit declaration of function <br>> ?MIMETypeDestroy?<br>> abyss_conf.c:224: error: ?MIMETypePP? undeclared (first use in this <br>> function)<br>> abyss_conf.c: At top level:<br>> abyss_conf.c:235: error: expected declaration specifiers or ?...? <br>> before ?abyss_bool?<br>> abyss_conf.c: In function ?chdirx?:<br>> abyss_conf.c:240:<br>> error: ?successP? undeclared (first use in this function)<br>> abyss_conf.c: In function ?parseUser?:<br>> abyss_conf.c:253: warning: implicit declaration of function ?ConfReadInt?<br>> abyss_conf.c:256: error: ?struct _TServer? has no member named ?uid?<br>> abyss_conf.c:263: error: ?struct _TServer? has no member named
?uid?<br>> abyss_conf.c:264: error: ?struct _TServer? has no member named ?gid?<br>> abyss_conf.c:265: error: ?struct _TServer? has no member named ?gid?<br>><br>> abyss_conf.c: At top level:<br>> abyss_conf.c:290: error: expected ?=?, ?,?, ?;?, ?asm? or <br>> ?__attribute__? before<br>> ?ConfReadServerFile?<br>> make[1]: *** [abyss_conf.o] Error 1<br>> make[1]: Leaving directory `/usr/src/opensips/modules/mi_xmlrpc'<br>> make: *** [modules] Error 2<br>><br>> Thanks,<br>> Srikanth Rajagopalan<br>><br>><br>> ------------------------------------------------------------------------<br>> Looking for local information? Find it on Yahoo! Local <br>> <<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>><br>>
------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Users mailing list<br>> <a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a><br>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>> <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>.