[strongSwan] Error building 5.3.4

Tiago Vasconcelos tiago.o.vasconcelos at gmail.com
Wed Nov 18 18:25:03 CET 2015


When buidling strongSwan 5.3.4 on CentOS 5.11 it exits with:


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
kernel_netlink_ipsec.c: In function 'add_sa':
kernel_netlink_ipsec.c:1252: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
kernel_netlink_ipsec.c:1253: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
kernel_netlink_ipsec.c: In function 'add_policy_internal':
kernel_netlink_ipsec.c:2183: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
kernel_netlink_ipsec.c: In function 'add_policy':
kernel_netlink_ipsec.c:2352: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
kernel_netlink_ipsec.c: In function 'del_policy':
kernel_netlink_ipsec.c:2526: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
kernel_netlink_ipsec.c:2552: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
make[4]: *** [kernel_netlink_ipsec.lo] Error 1
make[4]: Leaving directory 
`/home/tiago/temp/strongswan-5.3.4/src/libhydra/plugins/kernel_netlink'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tiago/temp/strongswan-5.3.4/src/libhydra'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tiago/temp/strongswan-5.3.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tiago/temp/strongswan-5.3.4'
make: *** [all] Error 2


What's missing?


Tiago



More information about the Users mailing list