[xml] failed to compile libxml2.6.7 on AIX



I've tried to compile libxml2-2.6.6, on AIX version 4.3,
gcc-2.9.aix51.020209-1, GNU make-3.79.1-3

./configure , without any parameter has succeded

gmake , failed and showed some warnings first such as

xpath.c: In function `xmlXPathDebugDumpNode':
xpath.c:648: warning: format not a string literal, argument types not
checked
xpath.c:656: warning: format not a string literal, argument types not
checked
xpath.c: In function `xmlXPathDebugDumpNodeList':
xpath.c:673: warning: format not a string literal, argument types not
checked
xpath.c: In function `xmlXPathDebugDumpNodeSet':
xpath.c:696: warning: format not a string literal, argument types not
checked
xpath.c:705: warning: format not a string literal, argument types not
checked
xpath.c: In function `xmlXPathDebugDumpValueTree':
xpath.c:722: warning: format not a string literal, argument types not
checked
xpath.c:728: warning: format not a string literal, argument types not
checked
xpath.c: In function `xmlXPathDebugDumpLocationSet':
xpath.c:743: warning: format not a string literal, argument types not
checked
xpath.c:750: warning: format not a string literal, argument types not
checked
xpath.c: In function `xmlXPathDebugDumpObject':
xpath.c:774: warning: format not a string literal, argument types not
checked
xpath.c:829: warning: format not a string literal, argument types not
checked
xpath.c:837: warning: format not a string literal, argument types not
checked
xpath.c:844: warning: format not a string literal, argument types not
checked
xpath.c: In function `xmlXPathDebugDumpStepOp':
xpath.c:877: warning: format not a string literal, argument types not
checked
xpath.c: In function `xmlXPathDebugDumpCompExpr':
xpath.c:1062: warning: format not a string literal, argument types not
checked
.....
.....

than stoped at:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include  -D_REENTRANT      -
g -O2 -Wall -c `test -f 'xmllint.c' || echo './'`xmllint.c
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall   -o xmllint  xmllint.o
./libxml2.la -lpthread  -liconv -lm
gcc -g -O2 -Wall -o .libs/xmllint
xmllint.o  -L./.libs -lxml2 -lpthread -liconv -lm -Wl,-blibpath:/usr/local/l
ib:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209:/usr/bin/
../lib/gcc-lib:/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-a
ix51-020209:/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/
../../..:/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-0
20209/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .xmlNewDoc
ld: 0711-317 ERROR: Undefined symbol: .xmlNewNode
ld: 0711-317 ERROR: Undefined symbol: .xmlNodeSetContent
ld: 0711-317 ERROR: Undefined symbol: .xmlDocSetRootElement
ld: 0711-317 ERROR: Undefined symbol: .xmlFreeDoc
ld: 0711-317 ERROR: Undefined symbol: .xmlGetIntSubset
ld: 0711-317 ERROR: Undefined symbol: .xmlUnlinkNode
ld: 0711-317 ERROR: Undefined symbol: .xmlFreeDtd
ld: 0711-317 ERROR: Undefined symbol: .xmlCopyDoc
ld: 0711-317 ERROR: Undefined symbol: .xmlDocDumpFormatMemoryEnc
ld: 0711-317 ERROR: Undefined symbol: .xmlDocDumpMemoryEnc
ld: 0711-317 ERROR: Undefined symbol: .xmlDocDumpFormatMemory
ld: 0711-317 ERROR: Undefined symbol: .xmlDocDumpMemory
ld: 0711-317 ERROR: Undefined symbol: .xmlSaveFile
ld: 0711-317 ERROR: Undefined symbol: .xmlSaveFormatFileEnc
ld: 0711-317 ERROR: Undefined symbol: .xmlSaveFileEnc
ld: 0711-317 ERROR: Undefined symbol: .xmlSaveFormatFile
ld: 0711-317 ERROR: Undefined symbol: .xmlDocDump
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
gmake[2]: *** [xmllint] Error 1
gmake[2]: Leaving directory `/sygreb-t2/credoc/libxml2-2.6.6'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/sygreb-t2/credoc/libxml2-2.6.6'
gmake: *** [all] Error 2
eva:product2-/sygreb-t2/credoc/libxml2-2.6.6>



Thank you for any suggestion or help

Rami




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