Re: Compile stops in checksum.c (2.2.0pre4-6)

Horst von Brand (vonbrand@inf.utfsm.cl)
Tue, 12 Jan 1999 11:06:20 -0300


Matthias Welwarsky <matze@stud.fbi.fh-darmstadt.de> said:
> Gregor J. Rothfuss wrote:

> I had quite a similar problem, just that the said symbols were undefined
> when it came to linking the kernel. In my case, the .config was screwed.
> Doing a "make mrproper" and completely reconfiguring the kernel solved
> it

That is always a good idea to check first.

> > My compile (gcc 2.7.2.3, Binutils 2.9.1.0.19, ld.so 1.9.9) always fails
> > with the following error message:
> >
> > [snip]
> >
> > make -C arch/i386/lib
> > make[1]: Entering directory `/usr/src/linux-2.2.0-pre6/arch/i386/lib'
> > make all_targets
> > make[2]: Entering directory `/usr/src/linux-2.2.0-pre6/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

This file should have gone away by now, replaced by checksum.s (or
.S?). Just delete it. Or get a full tarball, the broken patching might have
screwed your tree up.

Happy hacking!

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/