Error compiling xbmc for android
#16
Sleepy
Reply
#17
Did you do 2. from README.android?

You seem to miss autoconf, obviously.
Reply
#18
Undecided not appear any other error only what I said
Code:
sudo -s
sudo apt-get install build-essential default-jdk git curl autoconf \
   unzip zip zlib1g-dev gawk gperf

sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
sudo apt-get install libsdl1.2debian:i386
apt-get install ia32-libs

cd $HOME/xbmc/android-sdk/tools
./android update sdk -u -t platform,platform-tool

cd $HOME/xbmc/android-ndk
ls platforms
cd build/tools
./make-standalone-toolchain.sh --ndk-dir=../../ \
--install-dir=$HOME/xbmc/android-toolchain/android-9 --platform=android-9 --system=linux-x86_64

keytool -genkey -keystore ~/.android/debug.keystore -v -alias \
  androiddebugkey -dname "CN=Android Debug,O=Android,C=US" -keypass \
  android -storepass android -keyalg RSA -keysize 2048 -validity 10000

cd $HOME/xbmc/xbmc/tools/android/depends
./bootstrap
./configure --help
export XBMC_ANDROID_NDK=~/xbmc/android-ndk
export XBMC_ANDROID_SDK=~/xbmc/android-sdk
export XBMC_ANDROID_TARBALLS=~/xbmc/xbmc-tarballs
./configure --with-toolchain=$HOME/xbmc/android-toolchain/android-9
make -j4
Reply
#19
when i compile android for ARM following android.README there is error in libdvdread.

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -MT bitreader.lo -MD -MP -MF .deps/bitreader.Tpo -c -o bitreader.lo bitreader.c

each time it use gcc, not the cross compiler "arm-linux-androideabi-gcc" in my case. Is there anyone with same issue?
Reply
#20
just to make sure, you haven't fecked around manually and use 'configure' for some reason? there's a configure2 crappy wrapper for the cross compile of libdvd stuff.

in particular it has a lowercase --cc= with which you set the compiler.
Reply

Logout Mark Read Team Forum Stats Members Help
Error compiling xbmc for android2