3

libxmlには icu4c ヘッダーが必要なので、Android 用に libxml2 をクロス コンパイルしようとして います。
しかし、以下のエラーが発生しました。

      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 ライブラリのどのバージョンがこれらすべての機能を備えているかを誰かが提案できますか?

私の最終的な目標は、 Android 用に libxml2 をコンパイルすることです。

Pls は、さらに先に進むためにいくつかの光を通して誰か。

4

0 に答える 0