Re: Linux 2.0.36.22: compile failure in shaper.c

Charles Howes (croot@ics.bc.ca)
Mon, 16 Nov 1998 06:26:49 -0800 (PST)


On Mon, 16 Nov 1998, Alan Cox wrote:

> Date: Mon, 16 Nov 1998 01:00:44 +0000 (GMT)
> From: Alan Cox <alan@lxorguk.ukuu.org.uk>
> To: Charles Howes <croot@ics.bc.ca>
> Cc: linux-kernel@vger.rutgers.edu, alan@lxorguk.ukuu.org.uk
> Subject: Re: Linux 2.0.36.22: compile failure in shaper.c
>
> > ] gcc -D__KERNEL__ -I/usr/depot/linux-2.0.36.22/src/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include /usr/depot/li
nux-
> > 2.0.36.22/src/include/linux/modversions.h -c -o shaper.o shaper.c
> > ] shaper.c:748: redefinition of `shaper_lock'
> > ] shaper.c:82: `shaper_lock' previously defined here
> > ] shaper.c:770: redefinition of `shaper_unlock'
>
> Well the file isnt that long. So I think you mashed up the patching somehow

Actually, here's a warning to everyone:

DON'T USE PATCH-2.1B TO DO THE 2.0.36-22 PATCH!

Yes, I *KNOW* that it's the version supplied with Slackware 3.5 and
3.6, but it's broken, because it causes some files to be doubled,
specifically files that didn't exist in 2.0.35 but did exist in
2.0.36-22. 'shaper.c' was just the first one that was encountered
during this compile.

--
Charles Howes -- chowes@ics.bc.ca

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