- 论坛徽章:
- 0
|
已装好gcc3.4.3, 并已编译好libiconv库,在编译libxml时报错,如下
In file included from trionan.c:46,
from xpath.c:84:
/var/opt/K/SCO/Unix/5.0.6Ga/usr/local/gcc-3.4.3/bin/../lib/gcc/i686-pc-sco3.2v5.
0.6/3.4.3/include/math.h:10:1: unterminated #ifndef
xpath.c: In function `xmlXPathRegisterFuncNS':
xpath.c:2834: warning: ISO C forbids passing arg 4 of `xmlHashAddEntry2' between
function pointer and `void *'
xpath.c: In function `xmlXPathFunctionLookupNS':
xpath.c:2915: warning: ISO C forbids assignment between function pointer and `vo
id *'
xpath.c: In function `xmlXPathCompOpEval':
xpath.c:10434: warning: ISO C forbids assignment between function pointer and `v
oid *'
xpath.c:10459: warning: ISO C forbids assignment between function pointer and `v
oid *'
xpath.c: At top level:
trionan.c:225: warning: 'trio_is_negative' defined but not used
make[2]: *** [xpath.lo] Error 1
make[2]: Leaving directory `/usr/bmp3/setup/libxml2-2.6.19'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/bmp3/setup/libxml2-2.6.19'
make: *** [all] Error 2
请问是何原因,libxml2的版本2.6.19和2.6.23都是这个错 |
|