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


Error in building kodi - jennifer_jiang - 2016-07-12

When I do
$ cd $HOME/kodi-android
$ make -C tools/depends/target/xbmc
$ make <--error: can not find makefile
$ make apk
I have succeed to build the dependencies.
Please help me.


RE: Error in building kodi - Koying - 2016-07-12

Not possible if the make -C above worked...


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

I keep getting this error after I ran make

make -C i686-linux-native
make[3]: Entering directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native/cmake-native/i686-linux-native'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native/cmake-native/i686-linux-native'
make[2]: *** [i686-linux-native/bin/cmake] Error 2
make[2]: Leaving directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native/cmake-native'
make[1]: *** [cmake-native] Error 2
make[1]: Leaving directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native'
make: *** [native/.installed-i686-linux-native] Error 2


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

Where does the make -C come from?


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

make -C cmake-native
make[2]: Entering directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native/cmake-native'
make -C i686-linux-native
make[3]: Entering directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native/cmake-native/i686-linux-native'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native/cmake-native/i686-linux-native'
make[2]: *** [i686-linux-native/bin/cmake] Error 2
make[2]: Leaving directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native/cmake-native'
make[1]: *** [cmake-native] Error 2
make[1]: Leaving directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/native'
make: *** [native/.installed-i686-linux-native] Error 2

I think it is trying to make a directory i686-linux-native in the cmake-native path but not building its makefile because makefile is present in cmake-native. Pls how can i generate it or get past it


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

That's not the point. Just do make distclean && make, not make -C, but why are you doing it manually rather than plain make in /tools/depends?


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

i never did it manually immidiately i finished configuring i ran a single thread make


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

Then something else failed before and you didn't include enough of the build log...


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

checking whether the C compiler works... no
configure: error: in `/home/delaroystudios/build-xbmc/xbmc-android/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/build-xbmc/xbmc-android/tools/depends/target/pcre'
make[1]: *** [pcre] Error 2
make[1]: Leaving directory `/home/delaroystudios/build-xbmc/xbmc-android/tools/depends/target'
make: *** [target/.installed-i686-linux-android-android-17] Error 2

I ran into this agian


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

Please provide a full step-by-step of what you're doing, including logs at each step.
It's very boring to try to guess what you did wrong before the small snippets you provide...


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

use pastebin.com for logs please


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

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

[Modedit]
Pasted to http://paste.ubuntu.com/22014606/


These are my logs details


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

Please use http://paste.ubuntu.com to provide you make log


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

Have done that


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

(2016-08-03, 13:13)delaroy Wrote: Have done that

Last try: You posted the config.log only. Where is the make output?