Re: Linux 2.0.36.22: compile failure in shaper.c

Charles Howes (croot@ics.bc.ca)
Sun, 15 Nov 1998 12:41:40 -0800 (PST)


On Sun, 15 Nov 1998, Charles Howes wrote:

> Date: Sun, 15 Nov 1998 12:37:42 -0800 (PST)
> From: Charles Howes <croot@ics.bc.ca>
> To: linux-kernel@vger.rutgers.edu
> Cc: alan@lxorguk.ukuu.org.uk
> Subject: Linux 2.0.36.22: compile failure in shaper.c
>
> Shaper compile problem:
>
> ] 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/linu
x-
> 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

Ooops.

The file 'shaper.c' has two copies of the same source code.

I blame my patch program. :-)

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