2015-02-13, 11:46
I'm trying to build apk for android-14 in Ubuntu 64bit system and for x86 architecture. I follow README.android in the Kodi doc. I'm stuck in step 5.2 that is Building kodi . When i run 'make -C tools/depends/target/xbmc' i got following error
checking whether the C compiler works... no
configure: error: in `/home/../Downloads/xbmc-kodi-android':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [../../../..//libkodi.so] Error 77
and this the full output that i got...
make: Entering directory `/home/../Downloads/xbmc-kodi-android/tools/depends/target/xbmc'
cd ../../../../; BOOTSTRAP_FROM_DEPENDS=yes ./bootstrap
make[1]: Entering directory `/home/nuwan600/Downloads/xbmc-kodi-android'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nuwan600/Downloads/xbmc-kodi-android'
make[1]: Entering directory `/home/nuwan600/Downloads/xbmc-kodi-android'
Warning: No doxygen installed. The Api will not have any docstrings.
mkdir -p xbmc/interfaces/python/generated/doxygenxml
make[1]: Leaving directory `/home/nuwan600/Downloads/xbmc-kodi-android'
cd ../../../../; echo cp -f /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.sub /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.guess build-aux/ ; ./configure --prefix=/opt/xbmc-depends/arm-linux-androideabi-android-14 --enable-codec=libstagefright,amcodec
cp -f /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.sub /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.guess build-aux/
configure: loading site script /opt/xbmc-depends/arm-linux-androideabi-android-14/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for strip... /usr/bin/strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for git... yes
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in `/home/nuwan600/Downloads/xbmc-kodi-android':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [../../../..//libkodi.so] Error 77
how can i fix this error ?
checking whether the C compiler works... no
configure: error: in `/home/../Downloads/xbmc-kodi-android':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [../../../..//libkodi.so] Error 77
and this the full output that i got...
make: Entering directory `/home/../Downloads/xbmc-kodi-android/tools/depends/target/xbmc'
cd ../../../../; BOOTSTRAP_FROM_DEPENDS=yes ./bootstrap
make[1]: Entering directory `/home/nuwan600/Downloads/xbmc-kodi-android'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nuwan600/Downloads/xbmc-kodi-android'
make[1]: Entering directory `/home/nuwan600/Downloads/xbmc-kodi-android'
Warning: No doxygen installed. The Api will not have any docstrings.
mkdir -p xbmc/interfaces/python/generated/doxygenxml
make[1]: Leaving directory `/home/nuwan600/Downloads/xbmc-kodi-android'
cd ../../../../; echo cp -f /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.sub /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.guess build-aux/ ; ./configure --prefix=/opt/xbmc-depends/arm-linux-androideabi-android-14 --enable-codec=libstagefright,amcodec
cp -f /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.sub /opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.guess build-aux/
configure: loading site script /opt/xbmc-depends/arm-linux-androideabi-android-14/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for strip... /usr/bin/strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for git... yes
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in `/home/nuwan600/Downloads/xbmc-kodi-android':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [../../../..//libkodi.so] Error 77
how can i fix this error ?