[xml] Failure compiling libxml2 under QNX 6.1

Hi there,

I want to compile the current libxml2 under QNX RTP 6.1, but I got an abort, that looks like this.

----- snip ----------
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c threads.c  -fPIC -DPIC -o 
threads.c:523: warning: `xmlOnceInit' defined but not used
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c threads.c -o threads.o >/dev/null 2>&1
mv -f .libs/threads.lo threads.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall 
-c c14n.c
rm -f .libs/c14n.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c c14n.c  -fPIC -DPIC -o .libs/c14n.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c c14n.c -o c14n.o >/dev/null 2>&1
mv -f .libs/c14n.lo c14n.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall 
-c xmlregexp.c
rm -f .libs/xmlregexp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlregexp.c  -fPIC -DPIC -o 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlregexp.c -o xmlregexp.o >/dev/null 
mv -f .libs/xmlregexp.lo xmlregexp.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall 
-c xmlschemas.c
rm -f .libs/xmlschemas.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlschemas.c  -fPIC -DPIC -o 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlschemas.c -o xmlschemas.o 
/dev/null 2>&1
mv -f .libs/xmlschemas.lo xmlschemas.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall 
-c xmlschemastypes.c
rm -f .libs/xmlschemastypes.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlschemastypes.c  -fPIC -DPIC -o 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlschemastypes.c -o 
xmlschemastypes.o >/dev/null 2>&1
mv -f .libs/xmlschemastypes.lo xmlschemastypes.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall 
-c xmlunicode.c
rm -f .libs/xmlunicode.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlunicode.c  -fPIC -DPIC -o 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c xmlunicode.c -o xmlunicode.o 
/dev/null 2>&1
mv -f .libs/xmlunicode.lo xmlunicode.lo
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -o libxml2.la -rpath /usr/local/lib -version-info 6:22:4 
SAX.lo entities.lo encoding.lo erro
r.lo parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo 
HTMLparser.lo HTMLtree.lo debugXML.l
o xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo DOCBparser.lo catalog.lo globals.lo threads.lo 
c14n.lo xmlregexp.lo xmlschemas.lo x
mlschemastypes.lo xmlunicode.lo -lz  -lm -lsocket
rm -fr .libs/libxml2.la .libs/libxml2.* .libs/libxml2.*

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
./libtool: shift: nothing to shift
make[2]: *** [libxml2.la] Error 1
make[2]: Leaving directory `/home/hoyer/libxml2-2.4.22'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hoyer/libxml2-2.4.22'
make: *** [all-recursive-am] Error 2

----- snip ----------

The error must be within the libtool. I've also tried to run the configuration script with --disable-share. 
But that wasn't the solution. Configuration script and make was running well. I'm using GNU compiler 2.95.2

Has anybody a solution on this problem.

Thanks for help.


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