[OpenSIPS-Users] Regarding Enabling Openxcap

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Aug 6 19:50:29 CEST 2009


Hi Srikanth,

You need to install the libxmlrpc-c3-dev package

Regards,
Bogdan

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




More information about the Users mailing list