![]() |
Android Got a error 'C compiler works... no' when Kodi build for android - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184) +---- Thread: Android Got a error 'C compiler works... no' when Kodi build for android (/showthread.php?tid=218239) |
Got a error 'C compiler works... no' when Kodi build for android - nuwan600 - 2015-02-13 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 ? RE: Got a error 'C compiler works... no' when Kodi build for android - voguemaster - 2015-02-15 If GGC exists but can't create executables then it probably is a permission problem. Also, you're trying to build XBMC itself so I'm assuming you already successfully compiled all dependencies (which should mean your GCC works). Can you check the owner and permissions for the targer directory? (/home/nuwan600/Downloads/xbmc-kodi-android) Should be owned by your user and not root. Perhaps you did something with sudo that you shouldn't have. RE: Got a error 'C compiler works... no' when Kodi build for android - nuwan600 - 2015-02-16 thanks i managed to build it without any error. RE: Got a error 'C compiler works... no' when Kodi build for android - Xeon33 - 2015-08-26 So cool when you search on Google and you find someone having the same problem as you and you see "Thanks everybody I solve the problem" without giving the solution or any explanation. Like you ask others to help you, but you don't need to help others :-) |