[Olsr-dev] compile error on native ARMv7 / Ubuntu15.04
Henning Rogge
(spam-protected)
Mon Nov 9 10:15:50 CET 2015
On Mon, Nov 9, 2015 at 9:58 AM, Bastian Bittorf <(spam-protected)> wrote:
> * Ferry Huberts <(spam-protected)> [09.11.2015 08:34]:
>> 0.6 is no longer supported.
>> Use the 0.9 release train.
>
> good point! i just used an old internal "copy&paste" howto.
> can we please have a
>
> http://www.olsr.org/releases/0.9/latest.tar.bz2
> and
> http://www.olsr.org/releases/latest.tar.bz2
>
> because of the compile problem on Arm,
> this fixes it for me, hast someboy a better
> idea how to deal with it?:
>
> needs_pic := $(shell grep -s '^Features.* thumb ' /proc/cpuinfo)
> ifdef needs_pic
> CFLAGS += -fPIC
> endif
Hi Basti,
are you sure this is what you want? When you are doing
cross-compilation this script would decide to add the -fPIC flag based
on the cpuinfo of the HOST where you are compiling.
Henning
More information about the Olsr-dev
mailing list