Difference between revisions of "Kernel Build Problems"
(Solving kernel build problems) |
m (Add to Troubleshooting category) |
||
Line 18: | Line 18: | ||
I believe this problem is solved in the 049 version of the patch. | I believe this problem is solved in the 049 version of the patch. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Category: Troubleshooting]] |
Latest revision as of 00:36, 16 November 2007
Problem: OpenVZ 2.6.18 + patch-ovz028stab047.1 fails to build[edit]
Building a 2.6.18 kernel with patch-ovz028stab047.1 fails in Stage 2 with an error related to grsecurity.
Solution[edit]
Make the following 1-line patch to grsecurity/grsec_disabled.c, configure the kernel to disable grsecurity and build the kernel again.
--- ./grsecurity/grsec_disabled.c.ve9999 2007-10-29 20:51:17.000000000 +0300 +++ ./grsecurity/grsec_disabled.c 2007-11-02 15:20:00.000000000 +0300 @@ -1,5 +1,6 @@ #include <linux/kernel.h> #include <linux/sched.h> +#include <linux/module.h> void gr_copy_label(struct task_struct *tsk)
I believe this problem is solved in the 049 version of the patch.