Re: [xml] libxml2 build fails on SVR 4.
- From: Daniel Veillard <veillard redhat com>
- To: Lev Dyadkin <l dyadkin liant com>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 build fails on SVR 4.
- Date: Tue, 23 Dec 2003 17:23:18 -0500
On Tue, Dec 23, 2003 at 02:47:43PM -0600, Lev Dyadkin wrote:
Hello:
I am trying to build libxml2-2.6.2 on the following system (an Intel
machine):
---------------------
Welcome to the NCR MP-RAS SVR4 UNIX System
UNIX System V Release 4.0 (svr4) (pts/2)
login:
---------------------
I set the following flag (for gcc compiler instead of the default
MetaWare's one):
setenv CC gcc
My path looks like this:
.:/usr/lev/bin:/usr/lev/xml:/usr/local/libxml/bin:/usr/local/libiconv/lib:/usr/gnu/bin:.:/usr/bin:/usr/sbin
The configuration command is as follows:
./configure -C --prefix=/usr/local/libxml9 --enable-ipv6=no
--without-threads
Attached is a config.log file.
The build fails in the following manner:
----------------------
Making all in .
make[2]: Entering directory `/usr/lev/dev/rmc85/lixml/libxml/libxml2-2.6.2'
source='xmllint.c' object='xmllint.o' libtool=no \
depfile='.deps/xmllint.Po' tmpdepfile='.deps/xmllint.TPo' \
depmode=gcc /bin/ksh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall
-c `t
est -f 'xmllint.c' || echo './'`xmllint.c
xmllint.c: In function `xmlHTMLPrintFileInfo':
xmllint.c:329: warning: implicit declaration of function `snprintf'
xmllint.c: In function `xmlHTMLError':
xmllint.c:415: warning: implicit declaration of function `vsnprintf'
/bin/ksh ./libtool --mode=link gcc -g -O2 -Wall -o xmllint xmllint.o
./libxm
l2.la -lm -lsocket -lnsl
gcc -g -O2 -Wall -o .libs/xmllint xmllint.o ./.libs/libxml2.so -lm
-lsocket -ln
sl
UX:ld: ERROR: /usr/ccs/lib/libc.so(libc.s5r4v0.1): fatal error: symbol
`_numeric
` multiply defined in two shared objects ./.libs/libxml2.so: size = 12;
/usr/ccs
/lib/libc.so(libc.s5r4v0.1): size = 2
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/usr/lev/dev/rmc85/lixml/libxml/libxml2-2.6.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lev/dev/rmc85/lixml/libxml/libxml2-2.6.2'
make: *** [all] Error 2
svr4%
----------------------
Any suggestions?
There is no symbol "_numeric" or "multiply" defined in the libxml2 C code ...
so I have no idea where this may come from. Check your system headers !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]