[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Compiler warnings
On Wed, Sep 06, 2000 at 10:05:46PM +0200, 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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.077 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site