PDA

View Full Version : Compiling kernel 2.6.37.2



yeketaz
March 4th, 2011, 11:03 AM
Hi
I want when I compile my kernel 2.6.37.2 when handling a make I see this error message please help :-(

root@mahdi-laptop:/home/mahdi/Desktop/linux-2.6.37.2# make -j4/home/mahdi/Desktop/linux-2.6.37.2/arch/x86/Makefile:81: stack protector enabled but no compiler support
gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
gcc: not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
CC kernel/bounds.s
gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2

ryezs
March 4th, 2011, 01:25 PM
You need to install gcc. Run

sudo apt-get install gcc

yeketaz
March 4th, 2011, 03:50 PM
gcc was already installed, which gives this error

wojox
March 4th, 2011, 04:02 PM
You have build-essentials installed?

You can also download the .debs amd64 build of linux-meta 2.6.37.2.4 in ubuntu (https://launchpad.net/ubuntu/+source/linux-meta/2.6.37.2.4/+buildjob/2041215)