Re: [xml] libxml2 build fails on SVR 4.

On Tue, Dec 23, 2003 at 02:47:43PM -0600, Lev Dyadkin wrote:

I am trying to build libxml2-2.6.2 on the following system (an Intel 
Welcome to the NCR MP-RAS SVR4 UNIX System

UNIX System V Release 4.0 (svr4) (pts/2)

I set the following flag (for gcc compiler instead of the default 
MetaWare's one):

setenv CC gcc

My path looks like this:


The configuration command is as follows:

./configure -C --prefix=/usr/local/libxml9 --enable-ipv6=no 

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    -lm  -lsocket -lnsl
gcc -g -O2 -Wall -o .libs/xmllint xmllint.o  ./.libs/ -lm 
-lsocket -ln
UX:ld: ERROR: /usr/ccs/lib/ fatal error: symbol 
` multiply defined in two shared objects ./.libs/ size = 12; 
/lib/ 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

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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]