Error while building Leia - 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) +--- Thread: Error while building Leia (/showthread.php?tid=354022) |
Error while building Leia - czjohny - 2020-04-30 Hi, I'm facing a issue when I'm trying to build Leia. The problem is with the part make in pcre folder: make for this folder /home/jan/kodi/tools/depends/target/pcre checking for gcc... checking whether the C compiler works... no configure: error: in `/home/jan/kodi/tools/depends/target/pcre/arm-linux-androideabi-21-debug': configure: error: C compiler cannot create executables Log from this part of make: https://pasteio.com/x6JJVrQbbbM0 Log from config.log https://pasteio.com/x2AURFwmz9Qj But when I change from Leia to master everything works. Work with: git clone https://github.com/xbmc/xbmc kodi Does NOT work with: git clone -b Leia https://github.com/xbmc/xbmc kodi Everything is same, only different git clone. Commands used for Leia https://pasteio.com/xN5T7whx8qmY Commands used for master https://pasteio.com/xkC3AYevqQ1C I've tried to figure it out for several hours, but with no luck RE: Error while building Leia - asavah - 2020-04-30 >Everything is same, only different git clone. Nope, pay more attention to the actual docs in Leia branch. The configure command for depends for Leia branch is different. https://github.com/xbmc/xbmc/blob/Leia/docs/README.Android.md You are missing --with-toolchain part RE: Error while building Leia - czjohny - 2020-05-01 (2020-04-30, 18:43)asavah Wrote: >Everything is same, only different git clone.Thank you, did not know, that the procedure is different for each build. I've made some progress, but now I'm stuck with toolchain create: jan@jan-VirtualBox:~/android-tools/android-ndk-r18/build/tools$ ./make-standalone-toolchain.sh --install-dir=$HOME/android-tools/arm-linux-androideabi-vanilla/android-21 --platform=android-21 --toolchain=arm-linux-androideabi --verbose HOST_OS=linux HOST_EXE= HOST_ARCH=x86_64 HOST_TAG=linux-x86_64 HOST_NUM_CPUS=4 BUILD_NUM_CPUS=8 Auto-config: --arch=arm ## COMMAND: python ./make_standalone_toolchain.py --arch arm --api 21 --stl gnustl --install-dir=/home/jan/android-tools/arm-linux-androideabi-vanilla/android-21 ./ndk-common.sh: line 122: python: command not found ERROR: Failed to create toolchain. Same with sudo Any suggestion? Thank you RE: Error while building Leia - czjohny - 2020-05-01 Problem solved... I've been missing python on Ubuntu RE: Error while building Leia - czjohny - 2020-05-01 So another errors in folder ~/kodi/tools/depends/target/pcre make has 9 errors use of undeclared identifier and cannot initialize return object of type 'lconv *' with an rvalue of type 'const struct lconv * https://pasteio.com/xJo7Efs8ZAsd |