[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] LVM 0.8i non-SMP compile fails 2.3.3[345]



Compiling the latest dev kernels with LVM 0.8i fails when compiled for UP.
The same SMP kernels compile and run ok, ( using 2.3.35 smp now).
Unfortunately I don't have an smp box. But, I agree that the _obvious_ fix
would be for some generous soul to send a nice smp setup! :))

I have attached the output from make -s bzImage, if anyone is curious.

Season's Greetings and a HAPPY NEW YEAR!

Shane

In file included from /usr/src/linux-2.3.35/include/linux/lvm.h:92,
                 from ll_rw_blk.c:32:
/usr/src/linux-2.3.35/include/asm/spinlock.h:36: warning: `SPIN_LOCK_UNLOCKED' redefined
/usr/src/linux-2.3.35/include/linux/spinlock.h:48: warning: this is the location of the previous definition
/usr/src/linux-2.3.35/include/asm/spinlock.h:38: warning: `spin_lock_init' redefined
/usr/src/linux-2.3.35/include/linux/spinlock.h:54: warning: this is the location of the previous definition
/usr/src/linux-2.3.35/include/asm/spinlock.h:46: warning: `spin_unlock_wait' redefined
/usr/src/linux-2.3.35/include/linux/spinlock.h:57: warning: this is the location of the previous definition
/usr/src/linux-2.3.35/include/asm/spinlock.h:99: warning: `spin_trylock' redefined
/usr/src/linux-2.3.35/include/linux/spinlock.h:56: warning: this is the location of the previous definition
/usr/src/linux-2.3.35/include/asm/spinlock.h:126: warning: `RW_LOCK_UNLOCKED' redefined
/usr/src/linux-2.3.35/include/linux/spinlock.h:108: warning: this is the location of the previous definition
/usr/src/linux-2.3.35/include/asm/spinlock.h:157: warning: `read_unlock' redefined
/usr/src/linux-2.3.35/include/linux/spinlock.h:115: warning: this is the location of the previous definition
/usr/src/linux-2.3.35/include/asm/spinlock.h:158: warning: `write_unlock' redefined
/usr/src/linux-2.3.35/include/linux/spinlock.h:117: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.3.35/include/linux/lvm.h:92,
                 from ll_rw_blk.c:32:
/usr/src/linux-2.3.35/include/asm/spinlock.h:26: conflicting types for `spinlock_t'
/usr/src/linux-2.3.35/include/linux/spinlock.h:47: previous declaration of `spinlock_t'
/usr/src/linux-2.3.35/include/asm/spinlock.h:71: parse error before `void'
/usr/src/linux-2.3.35/include/asm/spinlock.h:86: parse error before `do'
/usr/src/linux-2.3.35/include/asm/spinlock.h:116: conflicting types for `rwlock_t'
/usr/src/linux-2.3.35/include/linux/spinlock.h:107: previous declaration of `rwlock_t'
/usr/src/linux-2.3.35/include/asm/spinlock.h:139: parse error before `void'
/usr/src/linux-2.3.35/include/asm/spinlock.h:148: parse error before `void'
ll_rw_blk.c:72: conflicting types for `io_request_lock'
/usr/src/linux-2.3.35/include/linux/blk.h:14: previous declaration of `io_request_lock'
ll_rw_blk.c:77: warning: missing braces around initializer for `wait_for_request.lock'
ll_rw_blk.c:77: warning: excess elements in struct initializer after `wait_for_request.lock'
make[3]: *** [ll_rw_blk.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [_subdir_block] Error 2
make: *** [_dir_drivers] Error 2

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]