[Scottish] Compiling and installing a second vanilla kernel

William Anderson neuro at well.com
Sun Aug 7 11:29:48 BST 2005

Andrew Thomas wrote:
> Hello
> I'm a linux newbie, and I'm trying to compile and install a second vanilla kernel so I can use this to build some device driver code. The Linux device drivers book advises me to do this. 
> I am using SUSE 9.2 on my system. I have downloaded the latest kernel, but when I try to do a make menuconfig, or make XXXX I get the following error:
> /usr/src/linux- line 11: gcc: command not found
> /usr/src/linux- line 12: gcc: command not found
>   HOSTCC  scripts/basic/fixdep
> /bin/sh: gcc: command not found
> make[1]: *** [scripts/basic/fixdep] Error 127
> make: *** [scripts_basic] Error 2
> Can anyone tell me why this is?

At the risk of sounding either a) obvious or b) cheeky, you don't appear to
have gcc installed :)

_ __/|  William Anderson      | It's called a "changeover."  The movie
\`O_o'  neuro at well dot com | goes on, and nobody in the audience has
=(_ _)= http://neuro.me.uk/   | any idea.
   U  - Thhbt! GPG 0xFA5F1100 |   -- the Narrator, "Fight Club"

More information about the Scottish mailing list