Project

General

Profile

Bug #2490

StrongSwan 5.6.1 fails to compile on 2.6.18 Kernel

Added by Dan Cook about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Low
Category:
kernel-interface
Target version:
Start date:
Due date:
Estimated time:
Affected version:
5.6.1
Resolution:
Fixed

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

Revision 3c36c955 (diff)
Added by Tobias Brunner 12 months ago

kernel-netlink: Fix compilation on old kernels not defining IFA_F_NODAD

Fixes #2490.

History

#1 Updated by Tobias Brunner about 1 year 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 12 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF