[Scottish] Compiling and installing a second vanilla kernel

tam at linuxrulesthe.net tam at linuxrulesthe.net
Sun Aug 7 12:06:33 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-2.6.12.3/scripts/gcc-version.sh: line 11: gcc: command
>> not found
>> /usr/src/linux-2.6.12.3/scripts/gcc-version.sh: 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"
>
>
>
> _______________________________________________
> Scottish mailing list
> Scottish at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/scottish
>
>

Or it may not be in his path if he's changed it somehow...just a
suggestion. Check your PATH as root. It *may* be bacause of that.




More information about the Scottish mailing list