2003-07-27 10:35:15

by Stoian Atanasov

[permalink] [raw]
Subject: Compiling problem with certain options

Hello, Im trying to compile a kernel with only a fiew options enabled, but
get very obscure errors! Can any one suggest sorce of information on this
subject, or how to proceed further!

Thanks in advance!




2003-07-27 10:41:17

by Sean Neakums

[permalink] [raw]
Subject: Re: Compiling problem with certain options

"Stoian Atanasov" <[email protected]> writes:

> Hello, Im trying to compile a kernel with only a fiew options enabled, but
> get very obscure errors! Can any one suggest sorce of information on this
> subject, or how to proceed further!

It may well be something simple, in which posting the errors you're
getting, as well as your .config, would be a solid first step.

2003-07-27 13:46:15

by Stoian Atanasov

[permalink] [raw]
Subject: Re: Compiling problem with certain options

Thank you very much for your answer mr Neakum,

Funny, but now i did the menuconfig again and clear, dep, bzImage, modules
and it is ok, maybe i missed removing some module before as i want to
compile a quite light kernel.
Many times i wanted to compile a kernel with just a fiew options and get
some errors, and when want to kompile with lot of options it's ok. I guess
there are some dependency problems, which are not handled properly by make
dep? And i heard somewhere that it is a common error.

Is there a dedicated site, forum about this problem?

Thanks again!



2003-07-27 14:04:23

by Sam Ravnborg

[permalink] [raw]
Subject: Re: Compiling problem with certain options

On Sun, Jul 27, 2003 at 05:01:18PM +0300, Stoian Atanasov wrote:
>
> Funny, but now i did the menuconfig again and clear, dep, bzImage, modules
> and it is ok, maybe i missed removing some module before as i want to
> compile a quite light kernel.

make dep is obsolete in 2.6

> Many times i wanted to compile a kernel with just a fiew options and get
> some errors, and when want to kompile with lot of options it's ok. I guess
> there are some dependency problems, which are not handled properly by make
> dep? And i heard somewhere that it is a common error.

When reconfiguring a 2.4 kernel it is adviced to do a:
cp .config ..
make mrproper
cp ../.config .
make oldconfig
make dep
etc.

For 2.6 you can just run make, without cleaning up before.
To get a resonable small configuration you can start out with
"make allnoconfig", which compiles ok in 2.6 for now.

> Is there a dedicated site, forum about this problem?

This is a good place - you can also try kernelnewbies.

Sam