[SuSE Linux] Problem compiling 2.2.7 under Suse 6.0
Hiya. Apologies if this mail is going to the wrong place, but I don't know where else to try!!! I cannot get the 2.2.7 kernel to compile correctly under SuSE 6.0. The code compiles and links fine under RedHat 5, so what am I doing wrong? (I am using different source disto's though - both from ftp.kernel.org - I am using the tarball for RedHat, and the BZIP file for SuSE, but both say the archive is valid.) As far as I can see, both distributions have the same checksum.c file. When I do a make zImage (or plain make), I get the error as shown in the attachment. Basically, it is picking up a redefinition in the file arch/i386/lib/checksum.c Any ideas??? Here's the versions of the files I am using :- Kernel 2.0.36 (both custom-built and default EIDE kernels) gcc 2.7.2.3 GNU make 3.76.1 I have a P166MMX, 48MB RAM, 96MB swap, circa 400MB free space HELP! Thanx Nellie</PRE> <PRE> make -C arch/i386/lib make[1]: Entering directory `/usr/src/linux-2.2.7.SuSE/arch/i386/lib' make all_targets make[2]: Entering directory `/usr/src/linux-2.2.7.SuSE/arch/i386/lib' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o checksum.o checksum.c checksum.c:200: redefinition of `csum_partial_copy' checksum.c:105: `csum_partial_copy' previously defined here {standard input}: Assembler messages: {standard input}:185: Fatal error: Symbol csum_partial_copy already defined. make[2]: *** [checksum.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.7.SuSE/arch/i386/lib' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.7.SuSE/arch/i386/lib' make: *** [_dir_arch/i386/lib] Error 2 src/linux#
participants (1)
-
Neil.C@coull.co.uk