[Olsr-users] for android system

Henning Rogge (spam-protected)
Tue May 24 08:31:34 CEST 2016

On Tue, May 24, 2016 at 8:28 AM, Teco Boot <(spam-protected)> wrote:
> Binaries, compiled for the right platform and statically linked libs will run on whatever distribution.
> No guarantee all will work (kernel options etc.).

The problem is that getifaddrs() is available in glibc, but not in libbionic...

unless you want to statically link glibc to the app (not sure this is
possible) the function is not available on Android.


> Teco
>> Op 24 mei 2016, om 07:57 heeft Henning Rogge <(spam-protected)> het volgende geschreven:
>> On Tue, May 24, 2016 at 4:39 AM, Quanxin <(spam-protected)> wrote:
>>> Hi ALL,
>>> I wonder if the oonf can work in android system.
>>> I just found a page:http://www.olsr.org/?q=node/58
>>> Is this the correct one?
>> This is for olsrd1... and it is quite old.
>> @Aaron: Can we add a warning to all this old pages that they might be
>> outdated and people should go to http://olsr.org to get to the new
>> wiki?
>>> Or, is there a newer release of oonf can be downloaded for the android
>>> version?
>> I think the newest master branch should be able to compile for
>> Android, I got rid of the "getifaddrs()" call and handle it directly
>> with netlink.
>> So you need to install an Android NDK toolchain and then compile OONF
>> with a crosscompilation template:
>> Look into the cmake/cross/android_on_linux.cmake file for some pointers.
>> If there are more compilation problems with OONF on Android, please
>> report them and I will try to remove them. Would be nice to have 0.12
>> be able to work on Android.
>> Henning
>> --
>> Olsr-users mailing list
>> (spam-protected)
>> https://lists.olsr.org/mailman/listinfo/olsr-users

More information about the Olsr-users mailing list