Problem with grsecurity-2.1.11-2.6.23-200710121810

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Problem with grsecurity-2.1.11-2.6.23-200710121810

Postby misho » Sat Oct 20, 2007 7:19 am

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 !
misho
 
Posts: 3
Joined: Sat Oct 20, 2007 7:15 am

Re: Problem with grsecurity-2.1.11-2.6.23-200710121810

Postby PaX Team » Sun Oct 21, 2007 10:58 am

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?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Problem with grsecurity-2.1.11-2.6.23-200710121810

Postby olrick2 » Sun Oct 21, 2007 12:48 pm

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
olrick2
 
Posts: 3
Joined: Tue Oct 02, 2007 2:02 pm

Postby misho » Sun Oct 21, 2007 4:27 pm

Thanks !!! Now all is OK :) :D
misho
 
Posts: 3
Joined: Sat Oct 20, 2007 7:15 am


Return to grsecurity support