LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 12: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, 06: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, 06: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



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 03:28 PM
Kernel compiling process problem. make bzimage fails. RJARRRPCGP Linux - Newbie 2 08-24-2004 04:14 PM
Cannot cp the bzImage. Help plz first time compiling kernel sendas4 Linux - Newbie 6 07-20-2004 12:48 AM
make bzImage problems otciii Linux - General 4 06-08-2004 10:49 AM
Compiling the kernel...bzImage.. celtic32 Linux - General 11 08-28-2002 02:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:44 PM.

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
Open Source Consulting | Domain Registration