View Full Version : Compiling kernel

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

root@mahdi-laptop:/home/mahdi/Desktop/linux- make -j4/home/mahdi/Desktop/linux- 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

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

sudo apt-get install gcc

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

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

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