Find the answer to your Linux question:
Results 1 to 5 of 5
Hiya: When i was compiling the kernel, after ive made the .config file and type the command "make" i get the following: Code: sarge:/usr/src/kernel-source-2.6.9# make CHK include/linux/version.h make[1]: *** No ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2004
    Location
    spain/home/kurin/
    Posts
    6

    Error Compiling Kernel


    Hiya:

    When i was compiling the kernel, after ive made the .config file and type the command "make" i get the following:


    Code:
    sarge:/usr/src/kernel-source-2.6.9# make
      CHK     include/linux/version.h
    make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'.  Stop.
    make: *** [init] Error 2
    Even if i do bzimage or zimage it gives the same error. Anyone know why?

    -EDIT-Just realised theres a subforum for kernel. Moderators plz move it. Sry.
    Tnx!

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    how did you configure the kernel? (like a make menuconfig or did you manually create a .config file?)

  3. #3
    Just Joined!
    Join Date
    Feb 2004
    Location
    spain/home/kurin/
    Posts
    6
    Hi:

    I use menuconfig

    cya

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    **Moved to Linux Kernel as per user's request.
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  6. #5
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    Try "make bzImage" (note the I not i). May or may not work, but the docs say to do bzImage.

Posting Permissions

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