Find the answer to your Linux question:
Results 1 to 9 of 9
i downloaded the new kernel source and put it into my /usr/src dir. i do make config and i get this error: make: *** no rule to make target 'config'. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    PPX
    PPX is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    20

    problem with compiling kernel


    i downloaded the new kernel source and put it into my /usr/src dir. i do make config and i get this error: make: *** no rule to make target 'config'. stop.

    what am i doing wrong?

  2. #2
    PPX
    PPX is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    20
    i tried make clean and i get make: gcc: command not found

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Try "make menuconfig".

  4. $spacer_open
    $spacer_close
  5. #4
    PPX
    PPX is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    20
    i tried that as well. got the same error. im using the 2.6.26.2 kernel. does that make any difference?

  6. #5
    PPX
    PPX is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    20
    i moved the tar file of hte kernel into /usr/src and then tarred it out but there wasnt a linux dir inside /usr/src. when i do these commands do i need to be inside the kernel folder? or just in /usr/src

  7. #6
    PPX
    PPX is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    20
    problem solved. didnt have gcc installed

  8. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You need to be in the directory containing your linux kernel source e.g. /usr/src/linux-2.6.26.2.

    Edit: Glad you got it sorted.

  9. #8
    Just Joined!
    Join Date
    Aug 2008
    Posts
    3
    with out gcc how did u start compiling man ...

  10. #9
    PPX
    PPX is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    20
    the problem was i couldnt compile. easily fixed once i got gcc on my machine

Posting Permissions

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