Bug 32039 - linux-2.2.16 kernel compilation problem
Summary: linux-2.2.16 kernel compilation problem
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-03-17 00:18 UTC by etaflin
Modified: 2007-04-18 16:32 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2001-03-17 00:18:14 UTC

Attachments (Terms of Use)

Description etaflin 2001-03-17 00:18:11 UTC
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,
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

/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

Actual Results:  same problem

Comment 1 Arjan van de Ven 2001-03-17 00:25:11 UTC
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

Note You need to log in before you can comment on or make changes to this bug.