Kodi Community Forum
Error in building kodi - 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: Error in building kodi (/showthread.php?tid=282404)

Pages: 1 2


RE: Error in building kodi - delaroy - 2016-08-03

Here is the link to the make output
http://paste.ubuntu.com/22021600/
am practically new to Kodi and Linux pls bear


RE: Error in building kodi - wsnipex - 2016-08-03

it is once again only the config.log and not the make output.

Only thing that stands out is that you use ndk 12, which kodi does not yet support. We don't use it ourselves, so it might very well be your issue.


RE: Error in building kodi - delaroy - 2016-08-03

where do I find the make output


RE: Error in building kodi - Koying - 2016-08-03

do "make > make.log 2>&1", rather than "make", and publish make.log


RE: Error in building kodi - delaroy - 2016-08-04

REMOVED LOG


RE: Error in building kodi - Martijn - 2016-08-04

I said use pastebin.com


RE: Error in building kodi - delaroy - 2016-08-04

Sorry for that here is the link http://pastebin.com/KDTTHWK3


RE: Error in building kodi - Koying - 2016-08-04

Restart from a clean git checkout (or do a git clean), first.
Your build env is probably broken by now.


RE: Error in building kodi - delaroy - 2016-08-04

I get's error anytime it tries to download pcre-8.36.tar.gz in the tarballs i was able to resolve some tarballs error but this didn't move further. Pls help

make[2]: Entering directory `/home/delaroystudios/.local/share/Trash/files/xbmc-android1/tools/depends/target/pcre'
cd /home/delaroystudios/build-xbmc/xbmc-tarballs; /usr/bin/curl -Ls --create-dirs -f -O http://mirrors.kodi.tv/build-deps/sources/pcre-8.36.tar.gz
rm -rf i686-linux-android-android-17/*; mkdir -p i686-linux-android-android-17
cd i686-linux-android-android-17; /bin/tar --strip-components=1 -xf /home/delaroystudios/build-xbmc/xbmc-tarballs/pcre-8.36.tar.gz
cd i686-linux-android-android-17; patch -p1 < ../tvos-bitcode-fix.patch
patching file ltmain.sh
cd i686-linux-android-android-17; cp -f /home/delaroystudios/build-xbmc/xbmc-depends/i686-linux-gnu-native/share/automake-1.11/config.sub /home/delaroystudios/build-xbmc/xbmc-depends/i686-linux-gnu-native/share/automake-1.11/config.guess .; ./configure --prefix=/home/delaroystudios/build-xbmc/xbmc-depends/i686-linux-android-android-17 --disable-shared --disable-stack-for-recursion --enable-pcre8 --disable-pcre16 --disable-pcre32 --enable-jit --enable-utf --enable-unicode-properties --enable-newline-is-anycrlf
configure: loading site script /home/delaroystudios/build-xbmc/xbmc-depends/i686-linux-android-android-17/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for strip... /home/delaroystudios/opt/x86-linux-4.8-vanilla/android-17/bin/i686-linux-android-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 whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... /home/delaroystudios/opt/x86-linux-4.8-vanilla/android-17/bin/i686-linux-android-gcc
checking whether the C compiler works... no
configure: error: in `/home/delaroystudios/.local/share/Trash/files/xbmc-android1/tools/depends/target/pcre/i686-linux-android-android-17':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[2]: *** [i686-linux-android-android-17] Error 77
make[2]: Leaving directory `/home/delaroystudios/.local/share/Trash/files/xbmc-android1/tools/depends/target/pcre'
make[1]: *** [pcre] Error 2
make[1]: Leaving directory `/home/delaroystudios/.local/share/Trash/files/xbmc-android1/tools/depends/target'
make: *** [target/.installed-i686-linux-android-android-17] Error 2


RE: Error in building kodi - MrMC - 2016-08-04

seriously ?

"/home/delaroystudios/.local/share/Trash/files/"

a hidden dir along a path called 'Trash' Smile


checking for gcc... /home/delaroystudios/opt/x86-linux-4.8-vanilla/android-17/bin/i686-linux-android-gcc
checking whether the C compiler works... no

fix your android sdk/ndk


RE: Error in building kodi - deathMetal - 2016-10-18

even i am getting error for building kodi..
The last lines are something like this......
make[2]: Entering directory `/home/sridip/kodi-android/tools/depends/target/pcre'
rm -rf arm-linux-androidaebi-android-17/*; mkdir -p arm-linux-androidaebi-android-17
cd arm-linux-androidaebi-android-17; /bin/tar --strip-components=1 -xf /home/sridip/opt/xbmc-tarballs/pcre-8.36.tar.gz
cd arm-linux-androidaebi-android-17; patch -p1 < ../tvos-bitcode-fix.patch
patching file ltmain.sh
cd arm-linux-androidaebi-android-17; cp -f /home/sridip/opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.sub /home/sridip/opt/xbmc-depends/x86_64-linux-gnu-native/share/automake-1.11/config.guess .; ./configure --prefix=/home/sridip/opt/xbmc-depends/arm-linux-androidaebi-android-17 --disable-shared --disable-stack-for-recursion --enable-pcre8 --disable-pcre16 --disable-pcre32 --enable-jit --enable-utf --enable-unicode-properties --enable-newline-is-anycrlf
configure: loading site script /home/sridip/opt/xbmc-depends/arm-linux-androidaebi-android-17/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 whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in `/home/sridip/kodi-android/tools/depends/target/pcre/arm-linux-androidaebi-android-17':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[2]: *** [arm-linux-androidaebi-android-17] Error 77
make[2]: Leaving directory `/home/sridip/kodi-android/tools/depends/target/pcre'
make[1]: *** [pcre] Error 2
make[1]: Leaving directory `/home/sridip/kodi-android/tools/depends/target'
make: *** [target/.installed-arm-linux-androidaebi-android-17] Error 2