> I have a problem compiling 2.0.34. I get the following errors:
> /usr/src/linux-2.0.34/include/asm/string.h:443: warning: control
> reaches end of non-void function
To gcc, a warning is not the same as an error. It will normally continue
after warnings. They're just unusual conditions it's informing you about.
It will stop after errors, because it "doesn't know what to do".
> I had a system up and running before with 2.0.34 and DIDN'T have this
> problem compiling the kernel.
Most likely, you configured the other kernel in such a way that string.h
> I noticed comments in string.h for the
> above functions about the code looking ugly but the compiler shouldn't
> have a problem, but MINE does.
Most likely, execution the code always leaves a function call via a proper
return(), but gcc interprets it as continuing to the end, and the author
didn't feel like putting in an unnecessary return() at the end just to
fool gcc. There was a thread about this particular warning before. Just
check the archives.
> PLEASE help, I would like to recompile the kernel.
Just let it continue compiling. If it stops, there's almost certainly an
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org