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

Sang Kang (kernel@mocha.sarang.net)
Mon, 11 Jan 1999 02:47:49 -0800


On Sun, Jan 10, 1999 at 03:53:54PM +0100, Gregor J. Rothfuss wrote:
> Hello everybody,
>
> 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

Hmm.. there should't be checksum.c. why don't you
0) go to arch/i386/lib
1) remove checmsum.c
2) do 'gcc -c checksum.S' # this one is not necessary in your case.
3) go to ../../..
4) make <target>

HTH,

--
Sang Kang  "Look ma, I'm hacking!"

- 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/