LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-07-2004, 11:49 PM   #1
otciii
LQ Newbie
 
Registered: Nov 2003
Location: Athens GA
Distribution: Mandrake 9.2
Posts: 10

Rep: Reputation: 0
make bzImage problems


Hello,

I am really new to this, but after running make xconfig in SuSe 9.1, I try to do the next step, make bzImage. I then get the following error.


make[1]: warning: Clock skew detected. Your build may be incomplete.
CC arch/i386/kernel/process.o
arch/i386/kernel/process.c:497: error: conflicting types for `__switch_to'
include/asm/system.h:13: error: previous declaration of `__switch_to'
make[1]: *** [arch/i386/kernel/process.o] Error 1
make: *** [arch/i386/kernel] Error 2



The only reason I am doing all of this kernel mess is to try to make my USB wireless adapter work. The DWL-122, and following
this guide, I have to re-compile. But sadly, I have failed.

PLEASE HELP
 
Old 06-08-2004, 12:34 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
This is the sequence I use to get to the "make bzImage" command:

cd /path/to/kernel/source
make mrproper
make XXXX (<= config, menuconfig, xconfig)
make dep
make bzImage

I'm assuming you forgot to issue the make dep command. It configures files based on the choices you made during configuration. Those files guide the compiler when you issue the make bzImage command. Give that command sequence a try, and then pick up on your instructions if successful.
 
Old 06-08-2004, 01:45 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
What kernel is this? The 2.6 series kernels do not use make bzImage; this command is folded into make (as is make dep). For a 2.6 series kernel, all you have to do is make, make install, and make modules_install.

Did you change anything else other than the USB stuff? Further, the walkthrough-- and possibly the drivers-- refers to the 2.4 series kernel, which is very different from the 2.6 series kernel that SuSE 9.1 uses by default.
 
Old 06-08-2004, 02:23 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
The command make bzImage will still work with 2.6 kernels. As will make modules.
 
Old 06-08-2004, 10:49 AM   #5
otciii
LQ Newbie
 
Registered: Nov 2003
Location: Athens GA
Distribution: Mandrake 9.2
Posts: 10

Original Poster
Rep: Reputation: 0
Cool, thanks guys.
 
  


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
Problems compiling kernel 2.6.8.1 (make bzImage) omegaworks Linux - General 3 08-18-2004 06:54 PM
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 08:41 PM
USB mouse problems - undefined reference when make bzImage?? Smerk Linux - General 7 10-07-2003 08:08 AM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM

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

All times are GMT -5. The time now is 10:38 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