Posts: 14
Joined: Jul 2016
Reputation:
0
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.
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Not possible if the make -C above worked...
Posts: 16
Joined: Aug 2016
Reputation:
0
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
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Where does the make -C come from?
Posts: 16
Joined: Aug 2016
Reputation:
0
2016-08-03, 07:27
(This post was last modified: 2016-08-03, 07:34 by delaroy.)
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
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
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?
Posts: 16
Joined: Aug 2016
Reputation:
0
2016-08-03, 10:25
(This post was last modified: 2016-08-03, 10:25 by delaroy.)
i never did it manually immidiately i finished configuring i ran a single thread make
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Then something else failed before and you didn't include enough of the build log...
Posts: 16
Joined: Aug 2016
Reputation:
0
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
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
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...
Posts: 17,859
Joined: Jul 2011
Reputation:
371
use pastebin.com for logs please