[Openswan Users] KLIPS (2.4.11) & Kernel make issues

Toby Heywood theywood at alaric.com
Sun Feb 24 20:05:49 EST 2008


I have been experiencing difficulties in patch the 2.6 kernel with KLIPS.

Initially I tried to create a custom kernel rpm which included klips as 
default (I followed the instructions here: 
http://fedoraproject.org/wiki/Docs/CustomKernel).  Due to the number of 
issues I experienced whilst trying to create the custom rpm, I gave up 
and decided to look at creating a custom kernel the normal way.

I downloaded kernel 2.6.22 source and the OpenSwan KLIPS patch 
(2.4.12rc3), patched the kernel and ran make.  I then received the 
following error message;

  CC      net/ipsec/ipsec_init.o
  CC      net/ipsec/ipsec_sa.o
  CC      net/ipsec/ipsec_radij.o
  CC      net/ipsec/radij.o
  CC      net/ipsec/ipsec_life.o
  CC      net/ipsec/ipsec_proc.o
  CC      net/ipsec/ipsec_tunnel.o
  CC      net/ipsec/ipsec_xmit.o
net/ipsec/ipsec_xmit.c: In function ‘ipsec_xmit_encap_bundle’:
net/ipsec/ipsec_xmit.c:1343: error: ‘ixt_e’ undeclared (first use in 
this function)
net/ipsec/ipsec_xmit.c:1343: error: (Each undeclared identifier is 
reported only once
net/ipsec/ipsec_xmit.c:1343: error: for each function it appears in.)
net/ipsec/ipsec_xmit.c:1345: error: ‘blocksize’ undeclared (first use in 
this function)
net/ipsec/ipsec_xmit.c:1354: error: ‘ixt_a’ undeclared (first use in 
this function)
make[2]: *** [net/ipsec/ipsec_xmit.o] Error 1
make[1]: *** [net/ipsec] Error 2
make: *** [net] Error 2

I assumed (a result of past experience) that maybe the 2.6.22 kernel was 
a bit new, so I downloaded a kernel version  I knew I had previously got 
working Applied the patch and ended up with the same result. I 
have also tried 2.4.11 version of KLIPS patch.

Could someone please advise on what steps I can take? I have googled 
this and seen reference to changing the KLIPSCOMPILE= in Makefile.inc 
(the change is already there as using 2.4.11).

I am using Fedora 7, but had originally started out with Fedora 8, and 
then downgrade as I believe there maybe issues with KLIPS/Fedora 8.



Alaric Systems Ltd. Registered in England No. 3314005 Registered Office:
108 Linton House, 164-180 Union Street, London SE1 0LH

This e-mail has been scanned for all known viruses by Star. The
service is powered by MessageLabs.

More information about the Users mailing list