[Olsr-dev] Building on Android

Charles Boyd (spam-protected)
Sat Jun 26 21:56:34 CEST 2010


Mitar,

I wonder if we could patch in the following without breaking anything. Since
patching in the Linux 2.6 headers works, then the official Android headers
should at least work the same.

http://android.git.kernel.org/?p=kernel/common.git;a=blob;f=include/linux/if_tunnel.h;h=d4efe40147056e6bc10bca8e1262bcfb569b68ee;hb=HEAD

http://android.git.kernel.org/?p=kernel/common.git;a=blob;f=include/linux/ip6_tunnel.h;h=1e7cc4af40deac588512e9715c77611c374b431c;hb=HEAD

Maybe we add a line in Makefile.android to compile these so everything works
for the time being, and hope that future releases of NDK will have include
these headers.

I will try this and reply with how it works out.

- Charles



On Fri, Jun 25, 2010 at 7:54 PM, Mitar <(spam-protected)> wrote:

> Hi!
>
> Is it possible to make tunnel code in olsrd optional as there is no
> "if_tunnel.h" and "ip6_tunnel.h" header files in Android NDK? On the
> other hand I manually added (current stable 2.6.34) "if_tunnel.h" and
> "ip6_tunnel.h" header files from official (not Android) Linux kernel
> source and it compiled. I do not know if tunnel features are working,
> but it compiled.
>
> So the question is how to tackle this? Optional feature? Or should we
> add those two files to olsrd codebase and use them when compiling for
> Android?
>
>
> Mitar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100626/5f5ad4dc/attachment.html>


More information about the Olsr-dev mailing list