Find the answer to your Linux question:
Results 1 to 2 of 2
I have installed the new source code for linux-2.6.22 kernel, but I am having problems with the configuration process. Here is what I get Code: # cd /usr/src/linux /usr/src/linux# make ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    4

    Question Problems configuring the kernel

    I have installed the new source code for linux-2.6.22 kernel, but I am having problems with the configuration process. Here is what I get

    Code:
    # cd /usr/src/linux
    /usr/src/linux# make xconfig
    /usr/src/linux-2.6.22/scripts/gcc-version.sh: line 1: gcc: command not found
    /usr/src/linux-2.6.22/scripts/gcc-version.sh: line 1: gcc: command not found
      HOSTCC  scripts/basic/fixdep
    /bin/sh: line 1: gcc: command not found
    make[1]: *** [scripts/basic/fixdep] Error 127
    make: *** [scripts_basic] Error 2
    ewald2:/usr/src/linux#
    I also tried installing gcc since that

    Code:
    apt-get install gcc
    Reading Package Lists... Done
    Building Dependency Tree... Done
    You might want to run `apt-get -f install' to correct these:
    Sorry, but the following packages have unmet dependencies:
      gcc: Depends: cpp (>= 4:4.3.2-2) but 2:2.95.4-14 is to be installed
           Depends: gcc-4.3 (>= 4.3.2-1) but it is not going to be installed
      libgcc1: Depends: libc6 (>= 2.7-1) but 2.3.1-16 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    I also have tried apt-get -f install, but just run into more problems since the kernel is not current.

    Could someone point me in the right direction to fix this?

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    This looks like a lot of headaches. Perhaps a fresh new install of Debian might be in order?
    Linux Mint + IceWM Registered:#371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •