Kodi Community Forum

Full Version: gconvert.c:66:2: error: #error GNU libiconv not in use but included iconv.h is f
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear all:

I can not build XBMC for android successfully,but I completely follow these instructions
https://github.com/xbmc/xbmc/blob/master...ME.android
the error log is as below:
failed to find the necessary bits to build these modules:
_bsddb _curses _curses_panel
_tkinter bsddb185 bz2
dbm dl gdbm

imageop linuxaudiodev ossaudiodev
readline sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
gconvert.c:66:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
make[3]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-

native/x86_64-linux-gnu-native'
make[2]: Leaving directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/python26-

native'
makemake[2]: Entering directory `/home/liuxiaoyao/xbmc-android/tools/depends/native/distribute

-native' -C distribute-native

cd /tmp/xbmc-android; /usr/bin/curl -Ls --create-dirs -f -O http://mirrors.xbmc.org/build-

deps/sources/distribute-0.6.21.tar.gz
make[9]: *** [gconvert.lo] Error 1

Any help would be much appreciated
Which SDK, which NDK, which toolchain? (gcc version)
this is NDK:android-ndk-r8-crystax-1-linux-x86_64.tar.bz2
use the one from the README.android. NDK r9 vanilla with the GCC 4.8 toolchain ...