[strongSwan-dev] 5.3.2: the last version that can be built with kernel 2.6.18?

Tobias Brunner tobias at strongswan.org
Mon Nov 23 11:05:03 CET 2015


Hi Tiago,

> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. 
> -I../../../../src/include -I../../../../src/libstrongswan 
> -I../../../../src/libhydra -DROUTING_TABLE=220 -DROUTING_TABLE_PRIO=220 
> -rdynamic -g -O2 -Wall -Wno-format -Wno-format-security 
> -Wno-pointer-sign -include /home/tiago/temp/strongswan-5.3.4/config.h 
> -MT kernel_netlink_ipsec.lo -MD -MP -MF .deps/kernel_netlink_ipsec.Tpo 
> -c kernel_netlink_ipsec.c  -fPIC -DPIC -o .libs/kernel_netlink_ipsec.o
> In file included from kernel_netlink_ipsec.c:26:
> ../../../../src/include/linux/rtnetlink.h:5:27: error: linux/if_link.h: 
> No such file or directory
> ../../../../src/include/linux/rtnetlink.h:7:29: error: 
> linux/neighbour.h: No such file or directory
> 
> 
> It requires the 'if_link.h' header file, which did not exist in kernel 
> 2.6.18.
> 
> Is there any workaround to this? Or shall we assume strongSwan 5.3.3 and 
> later are no longer supported with older kernels?

Related to #1099 [1].  Either add the missing header (from newer kernel
sources) to src/include/linux or revert the commits that updated the
kernel headers we ship [2][3].

Regards,
Tobias

[1] https://wiki.strongswan.org/issues/1099
[2]
https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=e7143fe998f768732f65f3ce5225ace4a96ddd13
[3]
https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=7ff7ce3ed661c8e20ce6b0bee1df340a03b5a4da


More information about the Dev mailing list