kernel compilation Ubuntu Server 12.04 Error 2
Posted: 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
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