[Olsr-dev] OONF compilation fails on Debian

Gabriel (spam-protected)
Tue Apr 26 21:17:29 CEST 2016


Henning Rogge:
> Hi,
> 
> I have looked a bit more into your problem... could you test the
> attached patch? I think its should solve your issue.
> 
> Henning

Yes, it works!

Thanks, Gabriel

> 
> On Fri, Apr 22, 2016 at 10:19 AM, Henning Rogge <(spam-protected)> wrote:
>> 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