Hi,
I apologize if this topic has been discussed already as
I have not been following this group for some time.
I'm unable to compile the new kernel (any 2.2.x) with egcs (version 1.1)
and the old libc. I get the following error while compiling
"checksum.c" in the arch/i386/lib subdirectory:
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=686 -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.
The function at line 105 is actually:
unsigned int csum_partial_copy_fromuser(const char *src, char *dst,
int len, int sum)
Perhaps the problem is the length of the function name? Does
anyone know how to remedy this short of upgrading the C library or
renaming the functions throughout the kernel code?
Any suggestions appreciated,
J.
--
Jeremy Schofield
Chemical Physics Theory Group telephone: 416-978-4376
Department of Chemistry fax: 416-978-8775
University of Toronto
Toronto, Ontario M5S 3H6