From Bugzilla Helper: User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686) I have the same RH7.0 installation on a recent DELL Workstation PIII 800, 128M and on a old DELL Dimension PII 300, 64M All kernels with config files in /usr/src/linux compile on PIII However no one of them compiles on the PII where errors as follows are reported: cdrom.c:422:75: warning: pasting would not give a valid preprocessing token cdrom.c:480:88: warning: pasting would not give a valid preprocessing token etc etc /usr/src/linux/include/linux/sunrpc/debug.h:53:57: warning: nothing can be pasted after this token {standard input}:1299: Warning: indirect lcall without `*' make: *** [_dir_arch/i386/lib] Error 2 Reproducible: Always Steps to Reproduce: 1.compile with PIII 2.compile with PII 3. Actual Results: same problem
There are 2 things you must do: 1) Use kgcc to compile the 2.2 kernels, it's there because the 2.2 kernel makes some (invalid) assumptions about the compiler, and the default "gcc" compiler is newer and doesn't grant all the assumptions 2) Run up2date to update your gcc anyway; there was a bug in the gcc that originally shipped in Red Hat 7.0