2015-01-26, 13:27
Hi guys,
I've been meaning to test some PRs so I've setup Ubuntu (VMPlayer) and trying to compile. I can't seem to understand what's wrong. I have followed the android README
and did not forget any parts. I also made sure to be up to date with regards to the change with zipalign and all the build-tools.
Here's my configure command line:
As you can see, SDK is at /opt/android-sdk-linux (seems to be 21.1.2 or so..)
NDK is at /opt/android-ndk-r10d
I have created the toolchain like in the readme of course with relevant dirs.
Here's my config.log. There are two things that bug me. The first is that CC_FOR_BUILD is set to /usr/bin/gcc (while CC is the cross compiler in the toolchain).
The second thing is that when I run make I actually see it using /usr/bin/gcc which I believe is the wrong thing.
Also, sometimes running it with -j4 will not compile some dependencies. If I use make -C /native/<package> that one will compile.
Eventually I got to this point:
Note - I do have a Makefile under tools/depends/native/cmake-native which is also puzzling to me.
I'm currently stuck and don't know how to proceed. Any help would be very much appreciated. It's been awhile since i've used autotools.
BTW - I've checked out master and have updated everything on git so I believe my working copy is synced properly. I also checked
configure.in and Makefile.in to see if my version is the same as the latest in github.
Here is the config.log file on pastebin:
http://pastebin.com/EjnaTSYn
I've been meaning to test some PRs so I've setup Ubuntu (VMPlayer) and trying to compile. I can't seem to understand what's wrong. I have followed the android README
and did not forget any parts. I also made sure to be up to date with regards to the change with zipalign and all the build-tools.
Here's my configure command line:
Code:
sudo ./configure --with-tarballs=/opt/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=/opt/android-sdk-linux --with-ndk=/opt/android-ndk-r10d --with-toolchain=/opt/arm-linux-androideabi-4.8-vanilla/android-14 --prefix=/opt/xbmc-depends
NDK is at /opt/android-ndk-r10d
I have created the toolchain like in the readme of course with relevant dirs.
Here's my config.log. There are two things that bug me. The first is that CC_FOR_BUILD is set to /usr/bin/gcc (while CC is the cross compiler in the toolchain).
The second thing is that when I run make I actually see it using /usr/bin/gcc which I believe is the wrong thing.
Also, sometimes running it with -j4 will not compile some dependencies. If I use make -C /native/<package> that one will compile.
Eventually I got to this point:
Code:
vogue@ubuntu:~/xbmc/tools/depends$ sudo make
[sudo] password for vogue:
make -C native
make[1]: Entering directory `/home/vogue/xbmc/tools/depends/native'
make -C m4-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/m4-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/m4-native'
make -C gettext-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/gettext-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/gettext-native'
make -C autoconf-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/autoconf-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/autoconf-native'
make -C automake-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native'
make -C x86_64-linux-gnu-native
make[3]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native'
Making all in lib
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib'
Making all in Automake
make[5]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib/Automake'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib/Automake'
Making all in am
make[5]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib/am'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib/am'
make[5]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib'
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/lib'
Making all in .
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native'
Making all in contrib
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/contrib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/contrib'
Making all in doc
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/doc'
Making all in m4
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/m4'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/m4'
Making all in tests
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native/tests'
make[3]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native/x86_64-linux-gnu-native'
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/automake-native'
make -C libtool-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/libtool-native'
make -C x86_64-linux-gnu-native
make[3]: Entering directory `/home/vogue/xbmc/tools/depends/native/libtool-native/x86_64-linux-gnu-native'
make all-recursive
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/libtool-native/x86_64-linux-gnu-native'
make[5]: Entering directory `/home/vogue/xbmc/tools/depends/native/libtool-native/x86_64-linux-gnu-native'
make[5]: Leaving directory `/home/vogue/xbmc/tools/depends/native/libtool-native/x86_64-linux-gnu-native'
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/libtool-native/x86_64-linux-gnu-native'
make[3]: Leaving directory `/home/vogue/xbmc/tools/depends/native/libtool-native/x86_64-linux-gnu-native'
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/libtool-native'
make -C pkg-config-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/pkg-config-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/pkg-config-native'
make -C yasm-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/yasm-native'
make -C x86_64-linux-gnu-native
make[3]: Entering directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native'
make[3]: Circular x86insn_nasm.gperf <- x86insn_nasm.gperf dependency dropped.
make[3]: Circular x86insn_gas.gperf <- x86insn_gas.gperf dependency dropped.
make all-recursive
make[4]: Entering directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native'
Making all in po
make[5]: Entering directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native/po'
make[5]: Leaving directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native/po'
Making all in .
make[5]: Entering directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native'
make[5]: Circular x86insn_nasm.gperf <- x86insn_nasm.gperf dependency dropped.
make[5]: Circular x86insn_gas.gperf <- x86insn_gas.gperf dependency dropped.
make[5]: Leaving directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native'
make[4]: Leaving directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native'
make[3]: Leaving directory `/home/vogue/xbmc/tools/depends/native/yasm-native/x86_64-linux-gnu-native'
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/yasm-native'
make -C cmake-native
make[2]: Entering directory `/home/vogue/xbmc/tools/depends/native/cmake-native'
make -C x86_64-linux-gnu-native
make[3]: Entering directory `/home/vogue/xbmc/tools/depends/native/cmake-native/x86_64-linux-gnu-native'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory `/home/vogue/xbmc/tools/depends/native/cmake-native/x86_64-linux-gnu-native'
make[2]: *** [x86_64-linux-gnu-native/bin/cmake] Error 2
make[2]: Leaving directory `/home/vogue/xbmc/tools/depends/native/cmake-native'
make[1]: *** [cmake-native] Error 2
make[1]: Leaving directory `/home/vogue/xbmc/tools/depends/native'
make: *** [native/.installed-x86_64-linux-gnu-native] Error 2
vogue@ubuntu:~/xbmc/tools/depends$
Note - I do have a Makefile under tools/depends/native/cmake-native which is also puzzling to me.
I'm currently stuck and don't know how to proceed. Any help would be very much appreciated. It's been awhile since i've used autotools.
BTW - I've checked out master and have updated everything on git so I believe my working copy is synced properly. I also checked
configure.in and Makefile.in to see if my version is the same as the latest in github.
Here is the config.log file on pastebin:
http://pastebin.com/EjnaTSYn