Red Hat Bugzilla – Bug 47276
Conflicting types for xtime during make boot
Last modified: 2007-04-18 12:34:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.3-12 i686; en-US; rv:0.9.1)
Description of problem:
(N.B. This is a bug in kernel-source, which doesn't seem to be an option in
the packages list):
When I try to make boot in /usr/src/linux-2.4, I get the error:
timer.c:40: conflicting types for `xtime'
/usr/src/linux-2.4.3/include/linux/sched.h:548: previous declaration of `xtime'
Steps to Reproduce:
1.Install kernel-source 2.4.3-12
2.Configure the kernel
Actual Results: I get the error reported above.
I have the gcc-3.0 package installed. I understand this might not work for
building a kernel, but it doesn't seem to be the problem in this instance,
where the two declarations simply don't match (AFAICS).
Thanks for the report. This is a known point where gcc3 breaks the kernel, and
there are several others as well. This will be fixed for later kernels we put
out, but I'd strongly recommend not using gcc3 for a kernel for now, not until
there's been more testing.