Re: pre7-4 compile error

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Thu May 04 2000 - 22:05:11 EST


Greg Hinton wrote:
> > gcc -D__KERNEL__ -I/usr/src/linux-2.3.99-pre7-4/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DMODULE -DMODVERSIONS -include /usr/src/linux-2.3.99-pre7-4/include/linux/modversions.h -c -o epic100.o epic100.c
> > In file included from epic100.c:89:
> > /usr/src/linux-2.3.99-pre7-4/include/asm/spinlock.h:36: warning: `SPIN_LOCK_UNLOCKED' redefined
> > /usr/src/linux-2.3.99-pre7-4/include/linux/spinlock.h:53: warning: this is the location of the previous definition

It needs to include linux/spinlock.h not asm/spinlock.h at the top.
Thanks, fixed.

-- 
Jeff Garzik              | ILOVEYOU, Linux.
Building 1024            |
MandrakeSoft, Inc.       |

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



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:16 EST