This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem compiling Linux kernel (version 2.4.5) with gcc version 3.0
- To: gcc at gcc dot gnu dot org
- Subject: Problem compiling Linux kernel (version 2.4.5) with gcc version 3.0
- From: Ravindra Jaju <jaju at it dot iitb dot ac dot in>
- Date: Wed, 20 Jun 2001 15:26:54 +0530 (IST)
Hello.
Please ignore if this question is too naive or unimportant.
I have installed the new gcc (3.0) from source (for the first time
in my life).
Other programs have compiled fine till now, but my Linux kernel
(version 2.4.5, if that helps, but I doubt) won't build.
Following is the trail of error messages.
Since the kernel is too complex for me, I haven't tried changing
things here and there as I normally do (lest I blow up my computer!)
*******************************************************************
make[2]: Entering directory `/usr/src/v2.4/linux/kernel'
gcc -D__KERNEL__ -I/usr/src/v2.4/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o timer.o timer.c
timer.c:35: conflicting types for `xtime'
/usr/src/v2.4/linux/include/linux/sched.h:540: previous declaration of `xtime'
make[2]: *** [timer.o] Error 1
make[2]: Leaving directory `/usr/src/v2.4/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/v2.4/linux/kernel'
make: *** [_dir_kernel] Error 2
*******************************************************************
Please let me know if you can help. Do I need to provide any other information.
I use the default Redhat 7.1 installation (with my own compiled kernel).
Thank you very much for your valuable time. I really appreciate the
great work you guys do.
regards,
Ravindra Jaju