[Swan-dev] testing: swan-update diagnostings
Paul Wouters
paul at nohats.ca
Tue Feb 25 05:25:14 EET 2014
On Mon, 24 Feb 2014, D. Hugh Redelmeier wrote:
> I did get a bit more output:
>
> make[3]: /usr/src/kernels/3.12.11-201.fc19.x86_64/Documentation/DocBook/Makefile: No such file or directory
> make[3]: *** No rule to make target `/usr/src/kernels/3.12.11-201.fc19.x86_64/Documentation/DocBook/Makefile'. Stop.
> make[2]: *** [help] Error 2
This one always happens. It's a 2.4 kernel leftover. Despite the "error"
it continues fine.
> + mkdir -p /lib/modules/3.12.11-201.fc19.x86_64/kernel/net/ipsec
> + cp /source/modobj/ipsec.ko /lib/modules/3.12.11-201.fc19.x86_64/kernel/net/ipsec
> cp: cannot stat ‘/source/modobj/ipsec.ko’: No such file or directory
This does seem that it failed to build your kernel. This I suspect is
due to a failure unrelated to the previous one. It is caused by Fedora
having backported some things in their 3.12 kernel.
I suspect this patch (specific to fedora) would fix it for you:
diff --git a/linux/include/libreswan/ipsec_kversion.h
b/linux/include/libreswan/ipsec_kversion.h
index ed40fc0..4b1726d 100644
--- a/linux/include/libreswan/ipsec_kversion.h
+++ b/linux/include/libreswan/ipsec_kversion.h
@@ -349,7 +349,8 @@
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
# define PDE_DATA(inode) PDE(inode)->data
-#else
+#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 10)
/*
* We do not use CONFIG_NAMSPACES due to a kernel bug
* that checks for namespaces in inet_add_protocol()
More information about the Swan-dev
mailing list