LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gcc not found error when trying to compile a new kernel (https://www.linuxquestions.org/questions/linux-software-2/gcc-not-found-error-when-trying-to-compile-a-new-kernel-515182/)

sofocle 12-31-2006 07:10 AM

Hi all,
I'm a real linux newbie and I have a problem upgrading the kernel.

At the moment I'm running SuSE 10.1 kernel Linux 2.6.16.21-0.25-smp #1 SMP Tue Sep 19 07:26:15 UTC 2006 i686 i686 i386 GNU/Linux

I've dwloaded kernel linux-2.6.19.tar.gz from http://www.kernel.org/pub/linux/kernel/v2.6/
I'm following the instructions according to http://www.linuxdocs.org/HOWTOs/Kern...O-4.html#ss4.3
but, when i try to make xconfig or make menuconfig this is the output:
make xconfig
/usr/src/linux-2.6.19/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-2.6.19/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

I don't really know what does this mean
Thanks for help

Nylex 12-31-2006 07:18 AM

You really should have made a separate thread for this problem (don't go and do this now, because a mod will split your post off this thread in due course), rather than posting on an unrelated thread. You need to install gcc to be able to compile the kernel (gcc is the C compiler), so do this via SuSE's package manager.

reddazz 12-31-2006 12:16 PM

I've moved the post into its own thread. The problem is not specifically related to the Linux kernel, so I have placed the thread in Linux Software.


All times are GMT -5. The time now is 08:08 AM.