Bug #2490
StrongSwan 5.6.1 fails to compile on 2.6.18 Kernel
Description
Latest release of 5.6.1 fails to compile on Linux Kernel 2.6.18 (CentOS 5) with error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/include -I../../../../src/libstrongswan -I../../../../src/libcharon -DROUTING_TABLE=220 -DROUTING_TABLE_PRIO=220 -rdynamic -I/source/hawkeye-fossdev/foss/openssl/dist/include -I/source/hawkeye-fossdev/foss/include -include /source/hawkeye-fossdev/foss/strongswan-5.6.1/config.h -MT kernel_netlink_net.lo -MD -MP -MF .deps/kernel_netlink_net.Tpo -c kernel_netlink_net.c -fPIC -DPIC -o .libs/kernel_netlink_net.o
kernel_netlink_net.c: In function ‘manage_ipaddr’:
kernel_netlink_net.c:2336: error: ‘IFA_F_NODAD’ undeclared (first use in this function)
kernel_netlink_net.c:2336: error: (Each undeclared identifier is reported only once
kernel_netlink_net.c:2336: error: for each function it appears in.)
make6: *** [kernel_netlink_net.lo] Error 1
It looks like commit related to issue 2183 broke the 2.6 kernel build.
Associated revisions
History
#1 Updated by Tobias Brunner over 4 years ago
- Tracker changed from Issue to Bug
- Category set to kernel-interface
- Status changed from New to Feedback
- Assignee set to Tobias Brunner
- Priority changed from Urgent to Low
- Target version set to 5.6.2
- Resolution set to Fixed
Seems easy to "fix", see 2490-kernel-netlink-oldkernels branch.
#2 Updated by Tobias Brunner over 4 years ago
- Status changed from Feedback to Closed
kernel-netlink: Fix compilation on old kernels not defining IFA_F_NODAD
Fixes #2490.