On Wed, Sep 06, 2000 at 10:05:46PM +0200, email@example.com wrote:
> I'm trying to compile 2.2.17 with gcc 2.96, and it shows a lot of
> warnings like this in several files.
First of all, you should not use gcc 2.96 for 2.2.x kernel compiles, only
2.4 should work.
> warning: pasting would not give a valid preprocessing token
I've fixed this recently. Some of these warnings were actually valid, I'll
post a kernel patch for these soon, but most of them were bogus warnings
when kernel was using GNU , ## restargs extension.
> And fails to compile with the error:
> checksum.S:231: badly punctuated parameter list in #define
One cannot preprocess with -traditional and use macros with variable
arguments in gcc 2.96. 2.4 does not use -traditional for this file.
> It's the update to gcc2.96 causing this problems?? How can i get to
> compile the kernel?
If you're using recent Red Hat distributions, use kgcc compiler instead of
gcc to compile the kernel.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:27 EST