[Olsr-users] compile olsrd2 for anrdroid

Jan (spam-protected)
Tue Jan 19 12:33:12 CET 2016


There is one last thing still missing.
The ndk lacks  ifaddrs.h .
I wanted to add this implementation
https://github.com/morristech/android-ifaddrs .
Im not sure how to add it into the ndk.
I copied the .h file to sysroot/usr/include for my toolchain.
But what do i do with the .c file?

Am 19.01.2016 um 12:32 schrieb Henning Rogge:
> On Tue, Jan 19, 2016 at 11:40 AM, Jan <(spam-protected)> wrote:
>> No it doesnt seeem like those packets are available in the default ndk.
>> But there are some efforts to get them into android like
>> https://github.com/dschuermann/libnl-3-android
> Okay, that resolves the issue...
>
> the problem you are facing is that the default olsrd2 executable
> contains the "nl80211_listener" plugin to query wifi interfaces...
> which needs libnl-3.
>
> try to use the make command "make dlep_router_static" to only build an
> olsrd2 that does not contain the plugin.
>
> Henning




More information about the Olsr-users mailing list