[Olsr-dev] android makefile

Hans-Christoph Steiner (spam-protected)
Sat Jul 28 17:42:22 CEST 2012


On Jul 24, 2012, at 10:07 AM, Ferry Huberts wrote:

> 
> 
> On 24-07-12 13:21, Ferry Huberts wrote:
>> Hans
>> 
>> can you please look into the android makefile?
>> when I do
>>> make NDK_BASE="/opt/android-ndk-r8" OS="android" DESTDIR="$(pwd)/dist"
>>> DEBUG=0 OPTIMIZE="-O2" build_all install_all
>> 
>> this fails with:
>>> [CC] src/olsrd_plugin.c
>>> [LD] olsrd_watchdog.so.0.1
>>> make[1]: Leaving directory
>>> `/var/lib/jenkins/workspace/olsrd_stable_android/lib/watchdog'
>>> mkdir -p /data/local/bin
>>> mkdir: cannot create directory `/data': Permission denied
>>> make: *** [install_bin] Error 1
>> 
> 
> fixed it already

The Android stuff does not use any install targets at all.  Running olsrd without the whole Android package is basically useless.  Check out the commotion-android project if you want to see the whole package for Android:

http://code.commotionwireless.net/projects/commotion-android/

.hc



More information about the Olsr-dev mailing list