[Serusers] presence libs compiling error

zhangshuai zhangshuai at goldentek.biz
Mon Jun 5 12:26:44 CEST 2006


Dear All,

I checkout the ser source code from cvs:

cvs -d :pserver:anonymous at cvs.berlios.de:/cvsroot/ser checkout sip_router

And when I compiled the code as the presence handbook said:

#cd sip_router/lib
#make -f Makefile.ser install

Then I got the following errors:

cc  -DNAME='"ser"' -DVERSION='"0.10.99-dev41"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 3.2.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=10099 -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 -DDBG_QM_MALLOC  -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 -DSER -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -falign-loops -mcpu=athlon   -g -Wall  -I/usr/local/src/sip_router/lib -I/usr/local/src/sip_router/lib/.. -I/usr/include/libxml2 -c xml_utils.c
xml_utils.c:35: `XML_PARSE_NOERROR' undeclared here (not in a function)
xml_utils.c:35: `XML_PARSE_NOWARNING' undeclared here (not in a function)
make[1]: *** [xml_utils.o] Error 1
make[1]: Leaving directory `/usr/local/src/sip_router/lib/xcap'
make: [xcap] Error 2 (ignored)

......

cc  -DNAME='"ser"' -DVERSION='"0.10.99-dev41"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 3.2.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=10099 -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 -DDBG_QM_MALLOC  -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 -DSER -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -falign-loops -mcpu=athlon   -g -Wall  -I/usr/local/src/sip_router/lib -I/usr/local/src/sip_router/lib/.. -I/usr/include/libxml2 -c xml_utils.c
xml_utils.c:35: `XML_PARSE_NOERROR' undeclared here (not in a function)
xml_utils.c:35: `XML_PARSE_NOWARNING' undeclared here (not in a function)
make[1]: *** [xml_utils.o] Error 1
make[1]: Leaving directory `/usr/local/src/sip_router/lib/presence'
make: [presence] Error 2 (ignored)




I check my /usr/include/libxml2. There is only one directory: libxml. I wonder whether anything is wrong with my libxml2? And how to fix that?

Thanks a lot!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: em01(1).GIF
Type: image/gif
Size: 1411 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060605/20f1509f/attachment.gif>


More information about the sr-users mailing list