Skip to contentSkip to conversation

2.2.14

linux-lvm Lars Segerlund 2 participants 2 messages Feb 21, 2000

lore
Share & tools
lore
#0 lore raw

Hmm, is there 0.7 or 0.8 patches against 2.2.14 ??

I'mgetting some compile errors.

/ Lars Segerlund.

#1 lore raw
Quoted 2 lines

Hmm, is there 0.7 or 0.8 patches against 2.2.14 ?? I'mgetting some compile errors.

No. But i don't remember any particular problem applying the 2.2.13 patch against 2.2.14 (besides the documented one).

You had a look at the known issues file?
ftp://linux.msede.com/lvm/v0.8pre/BUGS

--- snip ---

3. Compile with kernel 2.2.13 or 2.2.14 fails:

Quoted 2 lines

drivers/block/block.a(ll_rw_blk.o): In function `blk_dev_init':
ll_rw_blk.o(.text.init+0xb0): undefined reference to `lvm_init'

Terry Hardie ([email protected]) notes:

Quoted 3 lines

Actually, on line 362 of lvm.c in your kernel source, block/drivers, change the word "static" to "extern". The problem doesn't show up if you're compiling LVM as a module.

The line in question is:
__initfunc(static int lvm_init(void))

This should be changed to:
__initfunc(extern int lvm_init(void))

--- snip ---

Hope this helps
Michael

--

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