LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-18-2004, 01:06 PM   #1
omegaworks
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Rep: Reputation: 0
Problems compiling kernel 2.6.8.1 (make bzImage)


Hello everyone. Im trying to follow DrOzz's excellant thread about compiling kernels. Im compiling the 2.6.8.1 kernel from source, all was well until I tryed executing "make bzImage"

Here's what the console gave me:
Code:
debian:/home/src/kernel/linux# make bzImage
  CHK     include/linux/version.h
scripts/kconfig/conf -s arch/i386/Kconfig
#
# using defaults found in .config
#
  SPLIT   include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
  CC      init/main.o
  CHK     include/linux/compile.h
  CC      init/do_mounts.o
  LD      init/mounts.o
  LD      init/built-in.o
scripts/Makefile.build:13: usr/Makefile: No such file or directory
make[1]: *** No rule to make target `usr/Makefile'.  Stop.
make: *** [usr] Error 2
Im not sure what to do from here.
Replies are appreciated
 
Old 08-18-2004, 01:30 PM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
I'm guessing here, but I suspect that imported a .config file without subsequently running make oldconfig (or menuconfig,or xconfig). The kernel compile does not directly use .config. .config is input to one of the config tools which creates Makefiles in accord with .config. The make bzImage (and make and make modules_install) use these created Makefiles directly.
 
Old 08-18-2004, 07:41 PM   #3
omegaworks
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by kevinalm
I'm guessing here, but I suspect that imported a .config file without subsequently running make oldconfig (or menuconfig,or xconfig). The kernel compile does not directly use .config. .config is input to one of the config tools which creates Makefiles in accord with .config. The make bzImage (and make and make modules_install) use these created Makefiles directly.
That's odd... I ran make xconfig and chose the options for my kernel. I then went to File > Save As in the xconfig menu, and saved the options as .config (the default, already-imputted, filename) in /home/src/kernel/linux-2.6.8.1 (the default, already-navagated-to directory).

Is there something else I have to do?
 
Old 08-18-2004, 07:54 PM   #4
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Well, that shoots down my idea. xconfig should take care of the problem I suggested. It's a rather strange error, not being able to find one of the recursive Makefiles. Something went very badly wrong. Maybe a corrupt download of the kernel source?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make bzImage - error with kernel 2.4.26 2mk-master Linux - Newbie 2 03-02-2005 04:28 PM
Kernel compiling process problem. make bzimage fails. RJARRRPCGP Linux - Newbie 2 08-24-2004 05:14 PM
Cannot cp the bzImage. Help plz first time compiling kernel sendas4 Linux - Newbie 6 07-20-2004 01:48 AM
make bzImage problems otciii Linux - General 4 06-08-2004 11:49 AM
Compiling the kernel...bzImage.. celtic32 Linux - General 11 08-28-2002 03:29 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration