[Swan] KLIPS on CentOS 6.5 results in massive compile errors

Paul Wouters paul at nohats.ca
Wed Jan 7 05:43:16 EET 2015

On Tue, 6 Jan 2015, Steve Gaarder wrote:

> Trying to compile KLIPS on Red Hat's kernel versions 2.6.32-431 and newer 
> gives another error besides the conflicting types for ‘PDE’ that Andreas Herz 
> saw.  I also get:
> include/linux/proc_fs.h:120: error: conflicting types for ‘remove_proc_entry’
> I presume this is also because of something RH backported from version 3. It 
> may involve the define CONFIG_PROC_FS; that appears to be defined when 
> proc_fs.h is read on lower kernels but not on the newer ones.
> Anyone know what I need to patch?

Try the attached replacement of ipsec_kversion.h

Trying to juggle all these backported options is difficult and a web of
complicated #ifdef's.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipsec_kversion.h
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20150106/6f05b46b/attachment-0001.h>

More information about the Swan mailing list