[Olsr-dev] OONF compilation fails on Debian

Henning Rogge (spam-protected)
Tue Apr 26 09:08:28 CEST 2016


Hi,

I have looked a bit more into your problem... could you test the
attached patch? I think its should solve your issue.

Henning

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip_tunnel.patch
Type: text/x-patch
Size: 1330 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20160426/5e73677d/attachment.bin>


More information about the Olsr-dev mailing list