[Olsr-dev] Build error for Android OS

Will Hawkins (spam-protected)
Fri Jun 29 20:53:16 CEST 2012


Hello everyone!

After consultation with Hans, I am posting this to the olsr-dev mailing
list.

I am attempting to compile dc1a2edd03f90e7bee8385241371544c3ad3bdab for
the Android platform. My ndk is version 8 and located at
/home/hawkinsw/android-ndk-r8/. This path is exported to my environment
in the NDK_BASE variable.

I get

[CC] src/common/autobuf.c
cc1: error: unrecognized command line option "-Wdouble-promotion"
cc1: error: unrecognized command line option "-Wjump-misses-init"
cc1: error: unrecognized command line option "-Wtrampolines"
make: *** [src/common/autobuf.o] Error 1

when I try to run any of the following:

make OS=android
make OS=android build_all
make OS=android DEBUG=0 build_all
make OS=android NDK_BASE=/home/hawkinsw/android-ndk-r8/ DEBUG=0 build_all

Thanks for everyone's hard work on getting a clean olsr compilation on
Android. You all have done a tremendous job on a task that is definitely
messy!

Will




More information about the Olsr-dev mailing list