[Patch] tunnel: add a copy of include/linux/if_tunnel.h

Susant Sahani susant at redhat.com
Wed May 7 11:55:08 PDT 2014


On 05/08/2014 12:16 AM, Cong Wang wrote:
> On Wed, May 7, 2014 at 11:39 AM, Susant Sahani <susant at redhat.com> wrote:
>> On 05/07/2014 10:52 PM, Cong Wang wrote:
>>> This should fix the following compile error:
>>>
>>> route/link/ipip.c:52: error: ‘IFLA_IPTUN_MAX’ undeclared here (not in a
>>> function)
>>> route/link/ipip.c:53: error: ‘IFLA_IPTUN_LINK’ undeclared here (not in a
>>> function)
>>> route/link/ipip.c:53: error: array index in initializer not of integer
>>> type
>>> route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’)
>>> route/link/ipip.c:53: error: field name not in record or union initializer
>>> route/link/ipip.c:53: error: (near initialization for ‘ipip_policy’)
>> This smells like a older kernel ;). Could I know the version please ?
>>
> You don't need an old kernel to reproduce it, just get a dist tarball
> (make dist-bzip2) and compile it.

I downloaded the .zip file from github. Compiled on my f20. Can't 
reproduce . Must be missing something.


- S



More information about the libnl mailing list