[Olsr-dev] Build error for Android OS
Ferry Huberts
(spam-protected)
Fri Jun 29 21:14:40 CEST 2012
On 29-06-12 20:53, Will Hawkins wrote:
> 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.
that version is 'quite old'.
the issue you're seeing was fixed in
15c123f22e78399e02311a476e8bd6d6e7b7b0c8
>
> 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
>
--
Ferry Huberts
More information about the Olsr-dev
mailing list