kernel doesn't compile?

Andre Costa acosta at ar.microlink.com.br
Thu Jan 22 11:08:18 UTC 2004


On Wed, 21 Jan 2004 16:46:45 +0100
Emiliano Brunetti <emiliano_brunetti at idg.it> wrote:

> Installed kernel-sources from rpm. Make xconfig as usual, then make
> dep and make bzImage. When i try, however, to make modules, it doesn't
> compile. A few error messages that do not mean much to me
> unfortunately.
> 
> I can post error messages if needed, but now i wonder if everyboy out
> here could compile kernel from sources rpm fetched from fedora
> mirrors. 
> 
> E.

Hi Emiliano,

I had this same probl when I first tried to compile a kernel on FC1, and
the solution was to run 'make mrproper' right right before trying
anything with the fresh source tree. NOTE: it wipes out your .config
file, so make sure you have a copy of it somewhere, or be prepared to
configure it all over again.

Now, all I do when a new kernel comes out is:

1. cd [new kernel dir]; make mrproper
2. copy .config from previous kernel source tree
3. make oldconfig
4. make dep bzImage modules modules_install install

HTH

Andre

-- 
Andre Oliveira da Costa





More information about the fedora-list mailing list