I need help compiling kernel-source-2.4.27 on Ubuntu 6.06

Discussion in 'Kernel Questions' started by Slyth100, Nov 16, 2006.

  1. Slyth100

    Slyth100 New Member

    I have followed the instructions in the readme and typed make oldconfig which worked fine. I then typed in "make dep" and got this error:

    gcc-3.3 -Wall -Wstrict-prtotoytpes -02 -fomit-frame-pointer -o scripts/mkdep scri pts/mkdep.c
    make: gcc-3.3:Command not found
    make: *** [scipts/mkdep] Error 127


    Is this becuase i have gcc 4 installed and not gcc 3.3? Do I need to change the make file in some way?

    I have been trying to figure this out but because i am a newbie to linux I don't know what this error means!!!

    Any help would be greatly appreciated!!!:eek:
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Yes. What's the output of
    Code:
    apt-cache search gcc
    ?
     
  3. Slyth100

    Slyth100 New Member

    I have typed in apt-cache search gcc and this is what happens:

    I have typed in apt-cache search gcc and this is what happens:

    cpp - The GNU C preprocessor (cpp)
    cpp-4.0 - The GNU C preprocessor
    dpkg-dev - package building tools for Debian
    gcc - The GNU C compiler
    gcc-4.0 - The GNU C compiler
    libgcj7-jar - Java runtime library for use with gcj (jar files)
    libgcc1 - GCC support library
    libgcj7 - Java runtime library for use with gcj
    gcc-4.0-base - The GNU Compiler Collection (base package)
    gcj-4.1-base - The GNU Compiler Collection (gcj base package)
    gcc-3.3-base - The GNU Compiler Collection (base package)

    So, what do I do now? :)
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I don't know if it's the right package, but you can try
    Code:
    apt-get install gcc-3.3-base
    But if it wants to remove other important packages, you should decide not to install it.
     

Share This Page