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

Tiago Vasconcelos tiago.o.vasconcelos at gmail.com
Sun Nov 22 00:19:16 CET 2015


I'm no longer able to build strongSwan 5.3.3 and 5.3.4 together with the 
kernel 2.6.18 (which is the version that comes with RHEL/CentOS 5):


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?


Tiago



More information about the Dev mailing list