linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Problem with kernel 2.2.13
@ 2000-06-06  4:00 Cristina Bulfon
  2000-06-06  5:20 ` Michael Marxmeier
  0 siblings, 1 reply; 2+ messages in thread
From: Cristina Bulfon @ 2000-06-06  4:00 UTC (permalink / raw)
  To: linux-lvm


Hello,

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:

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'
make: *** [vmlinux] Error 1

Any suggestion ? 

Thanks Cristina

_____________________________________________________________________________

       Cristina Bulfon              E-mail Cristina.Bulfon@slac.stanford.edu
Stanford Linear Accelerator Center  Phone +1-650-926-5028
PO Box 4349, M/S 88		    Fax   +1-650-926-3329
Stanford, CA 94309, USA
_____________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] Problem with kernel 2.2.13
  2000-06-06  4:00 [linux-lvm] Problem with kernel 2.2.13 Cristina Bulfon
@ 2000-06-06  5:20 ` Michael Marxmeier
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Marxmeier @ 2000-06-06  5:20 UTC (permalink / raw)
  To: Cristina Bulfon; +Cc: linux-lvm

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@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@msede.com      Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.msede.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-06  5:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-06  4:00 [linux-lvm] Problem with kernel 2.2.13 Cristina Bulfon
2000-06-06  5:20 ` Michael Marxmeier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).