kernel compilation Ubuntu Server 12.04 Error 2

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

kernel compilation Ubuntu Server 12.04 Error 2

Postby d80k » Tue Aug 28, 2012 5:05 pm

Hi
I'm fighting for a few days to compile the kernel in Ubuntu 12.04 and appending grsecurity patch. I tried a few instructions from the net.
I tried to download a new kernel from kernel.org and sources. Compilation always ends in the following error:

*** End of the configuration.
*** Execute ‘make’ to start the build Or try ‘make help’
dk@dk:~/linux-3.2.0$ sudo make
scripts/config/config –silentoldconfig Kconfig
make [1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CC init/main.o
In file included from init/main.c:40:0:
include/Linux/cpuset.h: In function put_mems_allowed:
include/Linux/cpuset.h:121:2: error: dekrement of read-only location *(const volatile
rrent()->mems_allowed_change_disable
init/main.c: At top level:
init/main.c:335:19: warning: pass_unknown_bootoptions defined but not used [-Wunused-
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

what is it? I do not understand what this error means?

please help

d80k
d80k
 
Posts: 1
Joined: Tue Aug 28, 2012 5:02 pm

Re: kernel compilation Ubuntu Server 12.04 Error 2

Postby PaX Team » Tue Aug 28, 2012 6:29 pm

d80k wrote:CC init/main.o
In file included from init/main.c:40:0:
include/Linux/cpuset.h: In function put_mems_allowed:
include/Linux/cpuset.h:121:2: error: dekrement of read-only location *(const volatile
rrent()->mems_allowed_change_disable
which kernel source is this exactly? i can't find mems_allowed_change_disable in 3.2.28...
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support