On Thu, 12 Feb 2015 10:23:31 +0000
Nick Pelling <nick.pell...@farncombe.com> wrote:

> Hi everyone!
> 
> I have a couple of questions which I couldn't find answered in the
> documentation or mailing list archives.
> 
> (1) Are there any useful tricks (or indeed nasty traps to avoid) when
> cross-compiling opennhrp to embedded platforms?

As long as your compiler is new enough, there should not be any issues.
I've cross-built it successfully to some embedded targets.

> (2) I'm aiming to cross-compile opennhrp for a Broadcom wireless
> gateway platform that uses Linux 3.4-rt: are there any kernel patches
> (e.g. to ip_gre.c :-) ) that would need to be back-ported from more
> recent Linux releases to make opennhrp interoperate properly with
> older versions of Linux?

IIRC, vanilla 3.4 should work relatively well. I did have few patches
on top of it:
http://git.alpinelinux.org/cgit/aports/tree/main/linux-grsec?h=2.4-stable

The following patches are relevant:
0001-Revert-ipv4-Don-t-use-the-cached-pmtu-informations-f.patch
0004-arp-flush-arp-cache-on-device-change.patch

Neither are critical if i recall right. The first one affects mostly
only netfilter clamp-mss-to-pmtu option, and the arp patch fixes some
issues if data is routed to gre tunnel before opennhrp is running.


Cheers,
Timo


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
opennhrp-devel mailing list
opennhrp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opennhrp-devel

Reply via email to