[xml] libxml2 build fails on SVR 4.


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)

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 --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
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

Any suggestions?


Lev Dyadkin

Attachment: config.log
Description: Text document

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