Page 1 of 1

Problem with grsecurity-2.1.11-2.6.23-200710121810

PostPosted: Sat Oct 20, 2007 7:19 am
by misho
I have problem with this gresecurity patch...

CC arch/i386/mm/boot_ioremap.o
arch/i386/mm/boot_ioremap.c: In function Б─≤__boot_ioremapБ─≥:
arch/i386/mm/boot_ioremap.c:32: error: Б─≤init_mmБ─≥ undeclared (first use in this function)
arch/i386/mm/boot_ioremap.c:32: error: (Each undeclared identifier is reported only once
arch/i386/mm/boot_ioremap.c:32: error: for each function it appears in.)
make[1]: *** [arch/i386/mm/boot_ioremap.o] Error 1
make: *** [arch/i386/mm] Error 2

This is error when i try to build kernel ...

Thanks in Advance !

Re: Problem with grsecurity-2.1.11-2.6.23-200710121810

PostPosted: Sun Oct 21, 2007 10:58 am
by PaX Team
misho wrote:I have problem with this gresecurity patch...

CC arch/i386/mm/boot_ioremap.o
arch/i386/mm/boot_ioremap.c: In function Б─≤__boot_ioremapБ─≥:
arch/i386/mm/boot_ioremap.c:32: error: Б─≤init_mmБ─≥ undeclared (first use in this function)
arch/i386/mm/boot_ioremap.c:32: error: (Each undeclared identifier is reported only once
arch/i386/mm/boot_ioremap.c:32: error: for each function it appears in.)
make[1]: *** [arch/i386/mm/boot_ioremap.o] Error 1
make: *** [arch/i386/mm] Error 2

This is error when i try to build kernel ...

Thanks in Advance !
does adding
Code: Select all
#include <linux/sched.h>
fix it?

Re: Problem with grsecurity-2.1.11-2.6.23-200710121810

PostPosted: Sun Oct 21, 2007 12:48 pm
by olrick2
PaX Team wrote:does adding
Code: Select all
#include <linux/sched.h>
fix it?


I had the same compilation problem. Adding the include line fixes it. Thanks :D

PostPosted: Sun Oct 21, 2007 4:27 pm
by misho
Thanks !!! Now all is OK :) :D