Bug #229

strongswan-5.0.0 and git HEAD fail to build when ./configure --enable-ikev1 --disable-ikev2

Added by Anthony Basile over 4 years ago. Updated over 4 years ago.

Status:ClosedStart date:22.09.2012
Priority:NormalDue date:
Assignee:Tobias Brunner
Target version:5.0.1
Affected version:5.0.0 Resolution:Fixed


When configured with IKEv1 but not IKEv2, the libraries charon links against lack symbol ike_auth_lifetime_create which is provided by ike_auth_lifetime.c. This patch makes sure ike_auth_lifetime.c is compiled and linked into libcharon.so.

This was hit in Gentoo. Downstream bug: https://bugs.gentoo.org/show_bug.cgi?id=435614

fix-build-ikve-wtihout-ivke2.patch Magnifier - Patch to fix build system. Applies cleanly against 5.0.0 and git HEAD. (1.06 KB) Anthony Basile, 22.09.2012 15:10

Associated revisions

Revision 2d39f79b
Added by Tobias Brunner over 4 years ago

IKE_AUTH_LIFETIME task is not defined if IKEv2 is disabled

Fixes #229.


#2 Updated by Tobias Brunner over 4 years ago

  • Category set to libcharon
  • Status changed from New to Closed
  • Assignee set to Tobias Brunner
  • Target version set to 5.0.1
  • Resolution set to Fixed

Fixed in master, thanks for the report.

Also available in: Atom PDF