2014-03-27, 19:55
r9! nothing newer man
(2014-03-27, 18:54)pazeto Wrote: I run these commands with yours tips:
This command i change the "install-dir" and download a new ndk, case i had corrupte my last ndk.
# sudo ./make-standalone-toolchain.sh --ndk-dir=../../ --install-dir=$HOME/toolchain/android-14 --platform=android-14 --toolchain=x86-4.8 --system=linux-x86
Now my configure run perfectly.
# sudo ./configure --with-tarballs=/opt/xbmc-tarballs --host=i686-linux-android --with-sdk-path=/home/pazeto/Android/android-sdks --with-ndk=/home/pazeto/Android/android-ndk-r9b1 --with-toolchain=/home/pazeto/toolchain/android-14 --prefix=/opt/xbmc-depends
then, i run this:
#sudo make -C tools/depends/target/xbmc
and after, this:
# make
then:
AR xbmc/commons/commons.a
CPP xbmc/android/activity/android_main.o
CPP xbmc/android/activity/AndroidFeatures.o
CPP xbmc/android/activity/AndroidKey.o
CPP xbmc/android/activity/AndroidTouch.o
CPP xbmc/android/activity/AndroidMouse.o
AndroidMouse.cpp: In member function 'bool CAndroidMouse::onMouseEvent(AInputEvent*)':
AndroidMouse.cpp:48:11: warning: unused variable 'mousePointerId' [-Wunused-variable]
int32_t mousePointerId = AMotionEvent_getPointerId(event, mousePointerIdx);
^
CPP xbmc/android/activity/AndroidJoyStick.o
In file included from AndroidJoyStick.cpp:22:0:
AndroidExtra.h:35:25: error: expected identifier before numeric constant
#define AKEYCODE_ESCAPE 111
^
AndroidExtra.h:35:25: error: expected '}' before numeric constant
AndroidExtra.h:35:25: error: expected unqualified-id before numeric constant
In file included from /home/pazeto/toolchain/android-14/sysroot/usr/include/android/input.h:45:0,
from /home/pazeto/toolchain/android-14/sysroot/usr/include/android/native_activity.h:27,
from XBMCApp.h:27,
from AndroidJoyStick.cpp:23:
/home/pazeto/toolchain/android-14/sysroot/usr/include/android/keycodes.h:259:1: error: expected declaration before '}' token
}
^
make[1]: *** [AndroidJoyStick.o] Error 1
Error log ( Last piece of terminal ):
http://pastebin.com/81tzWbGr
thanks for the replies, and you know about this error?