Dear All,
I checkout the ser source code from cvs:
cvs -d :pserver:anonymous@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!
Hi, this may be due to another version of libxml2. It is working with version 2.6.16-7 (from stable debian). Vaclav
On Mon, Jun 05, 2006 at 06:26:44PM +0800, zhangshuai wrote:
Dear All,
I checkout the ser source code from cvs:
cvs -d :pserver:anonymous@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!
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers