[xml] compilation errors with libxml2-2.6.21



Hi,
We ported libxml 2.6.21 for our arm processor almost 7 months back every thing went fine, but recently I have been trying to bring down the size of most of the libs. For that effort I provided --with-minimum option to configure and I get following errors. If I don't give --with-minimum option to configure then everything compiles and installed properly. Any help would be appreciated.
P.S. Why do test API's get compiled for --with-minimum option, is it possible to remove their compilation.

if armv5b-softfloat-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -I/home/rsharma/xmlbr2/build/common/include -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT testapi.o -MD -MP -MF ".deps/testapi.Tpo" -c -o testapi.o testapi.c; \
then mv -f ".deps/testapi.Tpo" ".deps/testapi.Po"; else rm -f ".deps/testapi.Tpo"; exit 1; fi
cc1: warning: -Wuninitialized is not supported without -O
testapi.c: In function `gen_xmlSAXHandlerPtr':
testapi.c:445: warning: unused parameter `no'
testapi.c: In function `gen_xmlValidCtxtPtr':
testapi.c:455: warning: unused parameter `no'
testapi.c: In function `des_xmlValidCtxtPtr':
testapi.c:461: warning: unused parameter `val'
testapi.c: At top level:
testapi.c:17762: error: parse error before "gen_xmlSchematronPtr"
testapi.c:17762: warning: return type defaults to `int'
testapi.c:17762: warning: no previous prototype for `gen_xmlSchematronPtr'
testapi.c: In function `gen_xmlSchematronPtr':
testapi.c:17763: warning: return makes integer from pointer without a cast
testapi.c: At top level:
testapi.c:17765: error: parse error before "xmlSchematronPtr"
testapi.c:17779: error: parse error before "gen_xmlSchematronParserCtxtPtr"
testapi.c:17779: warning: return type defaults to `int'
testapi.c:17779: warning: no previous prototype for `gen_xmlSchematronParserCtxtPtr'
testapi.c: In function `gen_xmlSchematronParserCtxtPtr':
testapi.c:17780: warning: return makes integer from pointer without a cast
testapi.c: At top level:
testapi.c:17782: error: parse error before "xmlSchematronParserCtxtPtr"
testapi.c:17796: error: parse error before "gen_xmlSchematronValidCtxtPtr"
testapi.c:17796: warning: return type defaults to `int'
testapi.c:17796: warning: no previous prototype for `gen_xmlSchematronValidCtxtPtr'
testapi.c: In function `gen_xmlSchematronValidCtxtPtr':
testapi.c:17797: warning: return makes integer from pointer without a cast
testapi.c: At top level:
testapi.c:17799: error: parse error before "xmlSchematronValidCtxtPtr"
testapi.c:31941: error: parse error before "gen_xmlExpCtxtPtr"
testapi.c:31941: warning: return type defaults to `int'
testapi.c:31941: warning: no previous prototype for `gen_xmlExpCtxtPtr'
testapi.c: In function `gen_xmlExpCtxtPtr':
testapi.c:31942: warning: return makes integer from pointer without a cast
testapi.c: At top level:
testapi.c:31944: error: parse error before "xmlExpCtxtPtr"
testapi.c:32019: error: parse error before "gen_xmlExpNodePtr"
testapi.c:32019: warning: return type defaults to `int'
testapi.c:32019: warning: no previous prototype for `gen_xmlExpNodePtr'
testapi.c: In function `gen_xmlExpNodePtr':
testapi.c:32020: warning: return makes integer from pointer without a cast
testapi.c: At top level:
testapi.c:32022: error: parse error before "xmlExpNodePtr"
testapi.c:302: warning: `gen_unsigned_long' defined but not used
testapi.c:309: warning: `des_unsigned_long' defined but not used
testapi.c:314: warning: `gen_double' defined but not used
testapi.c:323: warning: `des_double' defined but not used
testapi.c:328: warning: `gen_unsigned_long_ptr' defined but not used
testapi.c:333: warning: `des_unsigned_long_ptr' defined but not used
testapi.c:377: warning: `gen_debug_FILE_ptr' defined but not used
testapi.c:380: warning: `des_debug_FILE_ptr' defined but not used
testapi.c:445: warning: `gen_xmlSAXHandlerPtr' defined but not used
testapi.c:451: warning: `des_xmlSAXHandlerPtr' defined but not used
testapi.c:713: warning: `desret_double' defined but not used
testapi.c:9133: warning: `gen_xmlEntitiesTablePtr' defined but not used
testapi.c:9136: warning: `des_xmlEntitiesTablePtr' defined but not used
testapi.c:12001: warning: `gen_char_ptr_ptr' defined but not used
testapi.c:12004: warning: `des_char_ptr_ptr' defined but not used
testapi.c:12939: warning: `gen_const_char_ptr_ptr' defined but not used
testapi.c:12942: warning: `des_const_char_ptr_ptr' defined but not used
testapi.c:24177: warning: `gen_xmlAttributeTablePtr' defined but not used
testapi.c:24180: warning: `des_xmlAttributeTablePtr' defined but not used
testapi.c:24265: warning: `gen_xmlElementTablePtr' defined but not used
testapi.c:24268: warning: `des_xmlElementTablePtr' defined but not used
testapi.c:24292: warning: `gen_xmlNotationTablePtr' defined but not used
testapi.c:24295: warning: `des_xmlNotationTablePtr' defined but not used
testapi.c:24319: warning: `gen_xmlAttributePtr' defined but not used
testapi.c:24322: warning: `des_xmlAttributePtr' defined but not used
testapi.c:24404: warning: `gen_xmlElementPtr' defined but not used
testapi.c:24407: warning: `des_xmlElementPtr' defined but not used
testapi.c:24489: warning: `gen_xmlNotationPtr' defined but not used
testapi.c:24492: warning: `des_xmlNotationPtr' defined but not used
testapi.c:25324: warning: `gen_xmlElementContent_ptr' defined but not used
testapi.c:25327: warning: `des_xmlElementContent_ptr' defined but not used
make[4]: *** [testapi.o] Error 1
make[4]: Leaving directory `/home/rsharma/xmlbr2/third-party/libxml2/src/build/libxml2-2.6.21.arm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rsharma/xmlbr2/third-party/libxml2/src/build/libxml2-2.6.21.arm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rsharma/xmlbr2/third-party/libxml2/src/build/libxml2-2.6.21.arm'
make[1]: *** [do-build] Error 2
make[1]: Leaving directory `/home/rsharma/xmlbr2/third-party/libxml2/src'



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