Android ndk android的交叉编译libxml2有生成错误

Android ndk android的交叉编译libxml2有生成错误,android-ndk,libxml2,icu,Android Ndk,Libxml2,Icu,我正在尝试为android交叉编译libxml2,因为libxml需要icu4c头,从链接下载并包含unicode头,并尝试使用ndk构建进行编译。 但是得到了下面的错误 obj/local/armeabi/objs/xsml2/encoding.o: In function `xmlUconvWrapper': jni/encoding.c:1870: undefined reference to `ucnv_convertEx' jni/encoding.

我正在尝试为android交叉编译libxml2,因为libxml需要icu4c头,从链接下载并包含unicode头,并尝试使用ndk构建进行编译。
但是得到了下面的错误

      obj/local/armeabi/objs/xsml2/encoding.o: In function `xmlUconvWrapper':
      jni/encoding.c:1870: undefined reference to `ucnv_convertEx'
      jni/encoding.c:1865: undefined reference to `ucnv_convertEx'
      obj/local/armeabi/objs/xsml2/encoding.o: In function `closeIcuConverter':
      jni/encoding.c:141: undefined reference to `ucnv_close'
      jni/encoding.c:142: undefined reference to `ucnv_close'
      obj/local/armeabi/objs/xsml2/encoding.o: In function `openIcuConverter':
      jni/encoding.c:109: undefined reference to `ucnv_open'
      jni/encoding.c:119: undefined reference to `ucnv_setFromUCallBack'
      jni/encoding.c:126: undefined reference to `ucnv_open'
      jni/encoding.c:132: undefined reference to `ucnv_close'
      jni/encoding.c:115: undefined reference to `ucnv_setToUCallBack'
      jni/encoding.c:115: undefined reference to `UCNV_FROM_U_CALLBACK_STOP'
      jni/encoding.c:115: undefined reference to `UCNV_TO_U_CALLBACK_STOP'
对于这个错误,我在Android make文件中包含了-L/Android/Android-ndk-r8/external/libs-licui18n-licuuc,但是我得到了上面的错误。 有人能建议哪个版本的icu4c libs具有所有这些功能吗

我的最终目标是为android编译libxml2


请有人通过一些灯光继续。

你自己在建ICU吗?您正在针对ICU进行编译,但NDK不提供此类库(您需要自行构建并链接)