<div dir="ltr"><div><div>fyi, I managed to start the android cross-compilation but I had to install manually the package android-ndk-r8b-linux-x86.tar.bz2 inside the cerbero directory. I modified my PATH in bashrc<br><br>I saw this python file : ./cerbero/bootstrap/android.py that seems to force installation of the r8b ndk at bootstrap. However it did not happen automatically for me, maybe because I had already the r8d package installed?<br>
<br></div>anyway, I can now compile the sdk for Android; sorry for bothering the mailing list with my specific issue<br><br></div>JMB<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/13 Jacques Bride <span dir="ltr"><<a href="mailto:jacques.bride@gmail.com" target="_blank">jacques.bride@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello<br><br>I am trying to cross compile a Gstreamer package for Android using the Cerbero build system but it fails because it cannot make the C compiler working.<br>
<br>I work on Ubuntu 12.04. I may have missed something with cerbero installation: does it require the android ndk (version r8b only) to be installed under its directory? not other version in no other place? Or maybe I incorrectly installed my NDK....<br>
<br>I have the Android NDK R8D installed in a separate directory <MYHOME>/Android/android-ndk-r8d<br><br>I added in the PATH :<br> <MYHOME>/Android/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin<br>
<br>I have exported SYSROOT=<MYHOME>/Android/android-ndk-r8d/platforms/android-9/arch-arm<br><br>when I try: arm-linux-androideabi-gcc --sysroot=$SYSROOT helloworld.c : it generates a.out<br><br>but cerbero complains: cerbero -c config/cross-android.cbc package gstreamer-sdk<br>
<br> checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc -fuse-ld=gold<br> checking whether the C compiler works... no<br> configure: error: in `<MYHOME>/cerbero/sources/android_arm/libffi-3.0.11/arm-unknown-linux-androideabi':<br>
configure: error: C compiler cannot create executables<br><br>and the file config.log shows that the sysroot variable is taken as:<br> --sysroot=<MYHOME>/cerbero/android-ndk-r8b/platforms/android-9/arch-arm<br><br>
How can I change the sysrrot variable used by cerbero?<br></div>Or is my problem not related?<br><br></div>Thanks<br></div>
</blockquote></div><br></div>