[Olsr-dev] [Commotion-dev] Can't talk between desktop OLSRd and Commotion OpenWRT boxes

Bastian Bittorf (spam-protected)
Thu Mar 14 16:38:03 CET 2013


* Mikael Nordfeldth <(spam-protected)> [14.03.2013 16:30]:
>  %.o: %.c
>         @echo "[CC] $<"
> -       $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
> +       $(CC) -O2 $(CFLAGS) $(CPPFLAGS) -fPIE -c -o $@ $<
> 
> 
> Reverting this (and even leaving the -fPIE there but removing -O2)
> makes
> the resulting binary functional.

we faced a similar problem with another architecture,
there exists even a testcase for this:

https://github.com/bittorf/kalua/blob/master/openwrt-patches/0001-package-olsr-time-a-simplified-olsr_time-test.patch

this is the thread:
https://lists.olsr.org/pipermail/olsr-dev/2012-September/006179.html

bye, bastian




More information about the Olsr-dev mailing list