[Olsr-dev] Build error for Android OS

Will Hawkins (spam-protected)
Fri Jun 29 21:29:59 CEST 2012


Thanks for your response Ferry. The repo that includes the olsr repo had
it pinned to an older revision. When I went into that repo and checked
out the stable branch everything worked fine.

Thanks again for your response!

Will

On 06/29/2012 03:14 PM, Ferry Huberts wrote:
> 
> 
> 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
>>
> 





More information about the Olsr-dev mailing list