Re: building linux kernel

From: AmÃrico Wang
Date: Wed May 26 2010 - 01:51:41 EST


On Tue, May 25, 2010 at 04:50:31PM +0530, ranjith kumar wrote:
>Hi,
>
>I am using fedora11 on my PC. I downloaded the linux kernel souce code.
>I copied config file from /boot directory and tried to compile. I am
>getting some compilation errors.

Which version of kernel did you download?


>So I configured the kernel, with 'make defconfig', and it is
>compiling successfully.


This may be dangerous, because default config may not contain
the drivers needed by your machine.

You should copy the fedora config and then do 'make oldconfig',
or you can use 'make localmodconfig' if you are compiling
a recent kernel.

>
>Also, some time back when I was using fedora10, I configured linux
>kernel with /boot/ config file. I successfully compiled and run new
>linux kernel.

This is what supposed to be.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/