[linux-lvm] Problem with kernel 2.2.13
Michael Marxmeier
mike at msede.com
Tue Jun 6 05:20:29 UTC 2000
Cristina Bulfon wrote:
> I'm trying to rebuild the kernel 2.2.13 with lvm patch
> "patch-2.2.13-LVM-0.8i.gz" and during the _make_bzImage_ I got the
> following error:
> ...
Please refer to
http://linux/lvm/doc/BUGS
for a list of kown problems and solutions.
--- snip ---
3. Compile with kernel 2.2.13 or 2.2.14 fails:
> 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 (terryh at orcas.net) notes:
> 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: mike at msede.com Besenbruchstrasse 9
Phone : +49 202 2431440 42285 Wuppertal, Germany
Fax : +49 202 2431420 http://www.msede.com/
More information about the linux-lvm
mailing list