Re: Cross compile error :: libxml2 for android



I think you've sent your question to the wrong mailing list. libxmlplusplus-list is used for questions and discussion concerning libxml++, the C++ language binding of libxml2. The mailing list for libxml2 questions is xml gnome org.

Kjell

2013-04-05 19:20, Ranga ks skrev:

Hi,

I am trying to cross compile libxml2 for android and I have written the Android.mk file for the libxml source . I am using libxml2 to Validation,XMl Content Creation , parsing etc .

When I run the ndk-build script , I get the error :

libxml/encoding.h:31:26: error: unicode/ucnv.h: No such file or directory

so I disabled the macro LIBXML_ICU_ENABLED in Xmlversion.h , then I compiled but again I got the below new errors .

master/jni/encoding.c: In function 'xmlByteConsumed': master/jni/encoding.c:2486: error: invalid storage class for function 'UTF8ToISO8859x' master/jni/encoding.c:2600: error: invalid storage class for function 'ISO8859xToUTF8' master/jni/encoding.c:3388: error: invalid storage class for function 'ISO8859_2ToUTF8' master/jni/encoding.c:3392: error: invalid storage class for function 'UTF8ToISO8859_2' master/jni/encoding.c:3397: error: invalid storage class for function 'ISO8859_3ToUTF8'





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