[Serusers] Unable to compile the xmlrpc module

Greger V. Teigre greger at teigre.com
Tue Mar 20 11:13:13 CET 2007


libxml-devel

Fabian Dedu wrote:
>
>     Hi and thanks for your answer,
>
> Do I need a newer version of libxml ?, below is what I have installed:
> [root at ims-server03 ser]# rpm -qa |grep libxml
> libxml-1.8.17-9.2
> perl-libxml-enno-1.02-29
> libxml2-2.5.10-7
> libxml2-devel-2.5.10-7
> perl-libxml-perl-0.07-28
> libxml2-python-2.5.10-7
>
> Thanks,
> Fabian.
>
>     On 3/20/07, *Greger V. Teigre* < greger at teigre.com
>     <mailto:greger at teigre.com>> wrote:
>
>         libxml is required.
>
>         Fabian Dedu wrote:
>>
>>         Hi all,
>>
>>         I'm trying to compile the  ser-2.0.0+cvs20070315_src.tar.gz
>>         version and I'm obtaining the following error when trying to
>>         compile with xmlrpc support:
>>         Input:   make include_modules="mysql xmlrpc" all
>>         ------------------------------------------------------------------------------------------------------------
>>         make[1]: Entering directory `/downloads/ser2.0/ser/modules/mysql'
>>         make[1]: `mysql.so' is up to date.
>>         make[1]: Leaving directory `/downloads/ser2.0/ser/modules/mysql'
>>
>>         make[1]: Entering directory
>>         `/downloads/ser2.0/ser/modules/xmlrpc'
>>         gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align 
>>         -minline-all-stringops -falign-loops -mcpu=athlon   -Wall    
>>         -DNAME='"ser"' -DVERSION='" 2.0.0+cvs20070309"'
>>         -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"'
>>         -DCOMPILER='"gcc 3.2.3"' -D__CPU_i386 -D__OS_linux
>>         -DSER_VER=2000000 -DCFG_DIR='"/usr/local/etc/ser/"'
>>         -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6
>>         -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
>>         -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
>>         -DDBG_QM_MALLOC  -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK
>>         -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DCC_GCC_LIKE_ASM
>>         -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
>>         -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
>>         -DHAVE_TIMEGM -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND
>>         -DHAVE_SELECT -I/usr/include/libxml2
>>         -I/usr/local/include/libxml2 -I/usr/local/include -c xmlrpc.c
>>         -o xmlrpc.o
>>         xmlrpc.c: In function `open_doc':
>>         xmlrpc.c:1159: warning: implicit declaration of function
>>         `xmlReadMemory'
>>         xmlrpc.c:1160: `XML_PARSE_NOBLANKS' undeclared (first use in
>>         this function)
>>         xmlrpc.c:1160: (Each undeclared identifier is reported only once
>>         xmlrpc.c:1160: for each function it appears in.)
>>         xmlrpc.c:1161: `XML_PARSE_NONET' undeclared (first use in
>>         this function)
>>         xmlrpc.c:1162: `XML_PARSE_NOCDATA' undeclared (first use in
>>         this function)
>>         xmlrpc.c:1162: warning: assignment makes pointer from integer
>>         without a cast
>>         xmlrpc.c: In function `select_method':
>>         xmlrpc.c:1505: `XML_PARSE_NOBLANKS' undeclared (first use in
>>         this function)
>>         xmlrpc.c :1505: `XML_PARSE_NONET' undeclared (first use in
>>         this function)
>>         xmlrpc.c:1505: `XML_PARSE_NOCDATA' undeclared (first use in
>>         this function)
>>         xmlrpc.c:1505: warning: assignment makes pointer from integer
>>         without a cast
>>         make[1]: *** [xmlrpc.o] Error 1
>>         make[1]: Leaving directory `/downloads/ser2.0/ser/modules/xmlrpc'
>>
>>         make[1]: Entering directory
>>         `/downloads/ser2.0/ser/modules/acc_db'
>>         make[1]: `acc_db.so' is up to date.
>>         make[1]: Leaving directory `/downloads/ser2.0/ser/modules/acc_db'
>>
>>         etc.... all the other modules are compiling okay
>>         ------------------------------------------------------------------------------------------------------------
>>
>>
>>         I'm using Red Hat Enterprise AS 3.0 with all updates included.
>>         Did anyone experiencing the above compile issue regarding
>>         this new xmlrpc module ?
>>
>>
>>         Thank you,
>>         Fabian.
>>
>>
>>
>>
>>         ------------------------------------------------------------------------
>>
>>         _______________________________________________
>>         Serusers mailing list
>>         Serusers at lists.iptel.org <mailto:Serusers at lists.iptel.org>
>>         http://lists.iptel.org/mailman/listinfo/serusers
>>           
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070320/181d00d8/attachment.htm>


More information about the sr-users mailing list