Re: Compiling stuff
On 12 Dec 2000, Eric G . Miller wrote:
> On Tue, Dec 12, 2000 at 01:34:41PM +0100, Peter Hugosson-Miller wrote:
> >
> > I've just put my brave hat on and compiled my kernel for the first
> > time. Thanks to Robert Guthrie and his tip to use kernel-package,
> > and KMDWAF, everything just worked first try!
> >
> > I do have a couple of questions, though.
> >
> > 1) There were many warnings during the compile, although no errors
> > that I noticed (bit difficult to be sure, as they flash by so
> > quickly). Is this normal, or should I be analysing this (this is
> > 2.2.17 from the source on the 2.2r0 CD BTW).
>
> I dunno if this is a problem. The kernel may do many things that the
> compiler interprets as "unsafe", or the compiler is unable to validate
> some variables/behaviors. I think the warning level is set pretty high
> for kernel compiles by default which will often generate many messages.
> Any definitive error would cause the compile to halt. 2.2.17 seems
> pretty stable though (although that's configuration dependent).
>
[snip]
I think I've seen warnings flashing by for every kernel I've ever
compiled, throughout the 2.0.x and 2.2.x series. They don't seem to do
any harm; at least, the resulting kernels always work.
Anthony
--
Anthony Campbell - running Linux Debian 2.2 (Windows-free zone)
Over 100 book reviews: http://www.cix.co.uk/~acampbell/bookreviews/
Skeptical essays: http://www.cix.co.uk/~acampbell/freethinker/
"Palo y tente tieso." (Spanish proverb)
Free translation: "Holdfast is your only dog."
Reply to: