[Swan] KLIPS on CentOS 6.5 results in massive compile errors
Paul Wouters
paul at nohats.ca
Mon Jan 27 20:52:20 EET 2014
On Mon, 27 Jan 2014, Andreas Herz wrote:
> for some testing i tried to get libreswan 3.8 working on a CentOS 6.5
> system.
> NETKEY is working fine, but building KLIPS results in hundreds of
> errors:
>
> http://pastebin.com/vdjyfBLM
> Any idea how to get it working? Looks like something specific to this
> kernel and CentOS, since i have it running on other systems (but newer
> kernels).
Looks like redhat backported some kernel 3.9.x stuff to 2.6 kernels :/
This patch makes it compile for me - I did not test it. Let me know
if it works for you :)
Paul
--- ./linux/include/libreswan/ipsec_kversion.h.orig 2014-01-27
13:50:45.739303715 -0500
+++ ./linux/include/libreswan/ipsec_kversion.h 2014-01-27
13:49:44.087354547 -0500
@@ -348,7 +348,10 @@
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
+/* PAUL */
+#if 0
# define PDE_DATA(inode) PDE(inode)->data
+#endif
#else
/*
* We do not use CONFIG_NAMSPACES due to a kernel bug
More information about the Swan
mailing list