kernel 2.2.1 compile problem on RH5.2

kernel 2.2.1 compile problem on RH5.2

Post by Partha Sr » Fri, 12 Feb 1999 04:00:00



Hi All:

I am having compile problems when I try to make my kernel. I have
upgraded all the necessary modules/tools as stated at linuxhq.com. I am
using gcc v2.7.2.3. And this is the error message i get:

when trying to compile checksum.c in /usr/src/linux/arch/i386/lib, the
compiler/assembler complains that csum_partial_copy has already been
declared, and that there is a redefinition. I checked the file and
couldn't see any redefinition.

Any suggestions will be greatly appreciated. Please help me out!!

thanks
Partha

 
 
 

1. Problems compiling kernel, RH5 2.0.31

Hi folks! I'm kinda new to Linux, and thought someone could help. I'm running
a Pentium box with 64MB EDO DRAM, and the kernel is compiled for a 386 out of
the box. I ran 'make xconfig' and set all the options as I like them, then
'make dep; make clean' (after saving the options). This was no problem.

However, when I 'make vmlinux' (to compile the final kernel), I get:

gcc -D__KERNEL__ -I/usr/sec/linux-2.0.31/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o panic.o panic.c
gcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [panic.o] Error 1
make[2]: Leaving directory '/usr/src/linux-2.0.31/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory '/usr/src/linux-2.0.31/kernel'
make: *** [linuxsubdirs] Error 2

It doesn't always fail on the same file (in this example it's panic.o) -- it
sometimes fails on other files. It always fails within the first 15 seconds of
starting make on some file (usually different each time). What seems to be my
problem, and how can I 'make vmlinux' without errors, or more specifically,
this error?

Thanks in advance.

-- Alex Burke
   Toronto, Ontario, Canada

2. Kernel compilation.. BLAGH

3. RH5 Kernel compiling problem

4. Which card for 1600x1280 under XFree86?

5. shell program for mail return.

6. Problems compiling kernel 2.0.34 on RH5, HELP!

7. Linux and Compaq DeskPro 486/33

8. Kernel won't compile (RH5)

9. Kernel compile sig 11 on RH5.0/Cyrix - SOLUTION!

10. Compiling kernel in RH5.0 alpha

11. RH5.2 / Upgrading compiler w/o breaking kernel compile

12. RH5 kernel compile? usr/src/linux not present