All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Re: LVM 0.8 2.3.33 compile error
       [not found] ` <3860CF2B.615B86F7@xinit.se>
@ 1999-12-23  0:26   ` Michael Marxmeier
  0 siblings, 0 replies; only message in thread
From: Michael Marxmeier @ 1999-12-23  0:26 UTC (permalink / raw)
  To: Josef Höök
  Cc: Willy Tarreau, linux-kernel, Heinz Mauelshagen, linux-lvm

Josef H��k wrote:
> got this error when compiling 2.3.33-LVM
> 
> make[3]: Entering directory `/usr/src/linux/drivers/block'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
> -DCPU=686 -march=i686   -DEXPORT_SYMTAB -c ll_rw_blk.c
> In file included from /usr/src/linux/include/linux/lvm.h:92,
>                  from ll_rw_blk.c:32:
> /usr/src/linux/include/asm/spinlock.h:36: warning: `SPIN_LOCK_UNLOCKED'
> redefined
...
> is it me or is it a bug :)?

In include/linux/lvm.h please change the
#include <asm/spinlock.h>
against
#include <linux/spinlock.h>

This fixed it for me (lvm 0.8i)

Hope this helps
Michael

-- 
Michael Marxmeier           Marxmeier Software AG
E-Mail: mike@msede.com      Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-12-23  0:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <199912220022.BAA19406@novworld.Novecom.Fr>
     [not found] ` <3860CF2B.615B86F7@xinit.se>
1999-12-23  0:26   ` [linux-lvm] Re: LVM 0.8 2.3.33 compile error Michael Marxmeier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.