[Olsr-dev] OONF compilation fails on Debian

Henning Rogge (spam-protected)
Fri Apr 22 10:19:36 CEST 2016


On Fri, Apr 22, 2016 at 8:01 AM, Henning Rogge <(spam-protected)> wrote:
> On Thu, Apr 21, 2016 at 8:51 PM, Gabriel <(spam-protected)> wrote:
>> Hi, I'm using OONF on Debian Wheezy. If i try to compile it using "make
>> all" the process terminate with this error:
>>
>> [ 57%] Built target oonf_static_layer2
>> [ 57%] Building C object
>> src-plugins/subsystems/CMakeFiles/oonf_static_os_tunnel.dir/os_linux/os_tunnel_linux.c.o
>> /opt/OONF/src-plugins/subsystems/os_linux/os_tunnel_linux.c: In function
>> '_handle_ipv6_tunnel':
>> /opt/OONF/src-plugins/subsystems/os_linux/os_tunnel_linux.c:222:24:
>> error: storage size of 'p' isn't known
>> /opt/OONF/src-plugins/subsystems/os_linux/os_tunnel_linux.c:222:24:
>> error: unused variable 'p' [-Werror=unused-variable]
>> cc1: all warnings being treated as errors
>> make[2]: ***
>> [src-plugins/subsystems/CMakeFiles/oonf_static_os_tunnel.dir/os_linux/os_tunnel_linux.c.o]
>> Error 1
>> make[1]: ***
>> [src-plugins/subsystems/CMakeFiles/oonf_static_os_tunnel.dir/all] Error 2
>> make: *** [all] Error 2

On the other hand, its most likely that the kernel version of Debian
Wheezy is just too old. *sigh*

If my search is correct it was introduced in Linux Kernel 3.7

Henning



More information about the Olsr-dev mailing list