2014-02-21, 13:46
Hi,
I'm trying to build XBMC for Android x86. I'm using Ubuntu 12.04 64bits.
I have installed ndkr9 and latest sdk.
Have installed these libs:
sudo apt-get install build-essential default-jdk git curl autoconf unzip zip zlib1g-dev gawk gperf cmake
sudo apt-get install ia32-libs
Executed this command:
./make-standalone-toolchain.sh --ndk-dir=../../ --install-dir=${TOOL_CHAIN}android-14 --platform=android-14 --toolchain=x86-4.8 --arch=x86 --system=linux-x86_64
then boostrap in tools depends and configure:
sudo ./configure --with-tarballs=/opt/xbmc-tarballs --host=i686-linux-android --with-sdk-path=/home/phi_admin/android-sdk-linux --with-ndk=/home/phi_admin/android-ndk-r9/ --with-toolchain=/home/phi_admin/android-ndk-r9/platforms/android-14 --prefix=/opt/xbmc-depends
Here is the configure logs:
http://pastebin.com/yQphAzyq
then i'm calling make.
However make of dependency is failing. Here is the log for the make -j 20:
mpih-add1-asm.S: Assembler messages:
mpih-add1-asm.S:47: Error: invalid instruction suffix for `push'
mpih-add1-asm.S:48: Error: invalid instruction suffix for `push'
mpih-add1-asm.S:78: Error: operand type mismatch for `jmp'
mpih-add1-asm.S:113: Error: invalid instruction suffix for `pop'
mpih-add1-asm.S:114: Error: invalid instruction suffix for `pop'
make[5]: *** [mpih-add1-asm.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [i686-linux-android-android-14/src/.libs/libgcrypt.a] Error 2
make[1]: *** [libgcrypt] Error 2
make: *** [target/.installed-i686-linux-android-android-14] Error 2
The full logs are here:
http://pastebin.com/Bvz2eH2B
Any ideas what is wrong?
I'm trying to build XBMC for Android x86. I'm using Ubuntu 12.04 64bits.
I have installed ndkr9 and latest sdk.
Have installed these libs:
sudo apt-get install build-essential default-jdk git curl autoconf unzip zip zlib1g-dev gawk gperf cmake
sudo apt-get install ia32-libs
Executed this command:
./make-standalone-toolchain.sh --ndk-dir=../../ --install-dir=${TOOL_CHAIN}android-14 --platform=android-14 --toolchain=x86-4.8 --arch=x86 --system=linux-x86_64
then boostrap in tools depends and configure:
sudo ./configure --with-tarballs=/opt/xbmc-tarballs --host=i686-linux-android --with-sdk-path=/home/phi_admin/android-sdk-linux --with-ndk=/home/phi_admin/android-ndk-r9/ --with-toolchain=/home/phi_admin/android-ndk-r9/platforms/android-14 --prefix=/opt/xbmc-depends
Here is the configure logs:
http://pastebin.com/yQphAzyq
then i'm calling make.
However make of dependency is failing. Here is the log for the make -j 20:
mpih-add1-asm.S: Assembler messages:
mpih-add1-asm.S:47: Error: invalid instruction suffix for `push'
mpih-add1-asm.S:48: Error: invalid instruction suffix for `push'
mpih-add1-asm.S:78: Error: operand type mismatch for `jmp'
mpih-add1-asm.S:113: Error: invalid instruction suffix for `pop'
mpih-add1-asm.S:114: Error: invalid instruction suffix for `pop'
make[5]: *** [mpih-add1-asm.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [i686-linux-android-android-14/src/.libs/libgcrypt.a] Error 2
make[1]: *** [libgcrypt] Error 2
make: *** [target/.installed-i686-linux-android-android-14] Error 2
The full logs are here:
http://pastebin.com/Bvz2eH2B
Any ideas what is wrong?