LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   make bzImage problems (http://www.linuxquestions.org/questions/linux-general-1/make-bzimage-problems-190958/)

otciii 06-07-2004 11:49 PM

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 :confused:

Dark_Helmet 06-08-2004 12:34 AM

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.

motub 06-08-2004 01:45 AM

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.

adz 06-08-2004 02:23 AM

The command make bzImage will still work with 2.6 kernels. As will make modules.

otciii 06-08-2004 10:49 AM

Cool, thanks guys.


All times are GMT -5. The time now is 01:10 AM.