Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Problem compiling LVM on 2.2.19
@ 2001-10-03 12:02 Jesus Manuel NAVARRO LOPEZ
  2001-10-03 15:55 ` Jesus Manuel NAVARRO LOPEZ
  0 siblings, 1 reply; 2+ messages in thread
From: Jesus Manuel NAVARRO LOPEZ @ 2001-10-03 12:02 UTC (permalink / raw)
  To: linux-lvm

Hi, list:

This is my first post, but I didn't see nothing regarding this issue at
the list digests, so I send here:
ENVIRONMENT:
Red Hat 6.2
Kernel 2.2.19 (stock, directly downloaded from linuxkernel.org)
LVM 1.0.1-rc3

I applied the LVM included patch for raw-io: linux-2.2.18-rawio.patch
(as suggested for 2.2.19 somewhere else)
	command I used to patch was `patch -s -p1 < linux-2.2.18-rawio.patch`
	It seemed to apply cleanly.
Then I run `./configure` from base directory for LVM 1.0.1-rc3, and
seemed to run properly (LVM 1.0.1-rc2 had an error on some keywork
substitution)
Then I run `make` from the PATCHES directory, and there appeared the
"lvm-1.0.1-rc3-2.2.19-LVM-Nav01.patch", which I applied to linux sources
the same way than the previous one.
I configured then the kernel, marking LVM support as a module (support
for /proc filesystem was already added to the kernel; the same goes with
linnear support).
Then I run:
make dep
make clean
make bzImage
This seemed to go all well and good
Then, when `make modules`, the compilation stops.  This seems to be the
relevant part:

lvm.c: In function `lvm_do_lv_create':
lvm.c:2192: structure has no member named `de'
lvm.c: In function `lvm_do_lv_remove':
lvm.c:2277: structure has no member named `de'
lvm.c: At top level:
lvm.c:326: warning: `__update_hardsectsize' declared `static' but never
defined
lvm.c:1891: warning: `__update_hardblocksize' defined but not used
make[2]: *** [lvm.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.19/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.19/drivers'
make: *** [_mod_drivers] Error 2

That line 2192, is this one:

lvm_gendisk.part[MINOR(lv_ptr->lv_dev)].de = lvm_fs_create_lv(vg_ptr,
lv_ptr);

So, it seems, lvm_gendisk.part structure array lacks of that member "de"
Any hints? Is this a known bug?
TIA
-- 
SALUD,
Jes�s
***
jesus_navarro@promofinarsa.es
***

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

* Re: [linux-lvm] Problem compiling LVM on 2.2.19
  2001-10-03 12:02 [linux-lvm] Problem compiling LVM on 2.2.19 Jesus Manuel NAVARRO LOPEZ
@ 2001-10-03 15:55 ` Jesus Manuel NAVARRO LOPEZ
  0 siblings, 0 replies; 2+ messages in thread
From: Jesus Manuel NAVARRO LOPEZ @ 2001-10-03 15:55 UTC (permalink / raw)
  To: linux-lvm

Hi again:

Jesus Manuel NAVARRO LOPEZ wrote:
> 
> Hi, list:
> 

[...]

> Then, when `make modules`, the compilation stops.  This seems to be the
> relevant part:
> 
> lvm.c: In function `lvm_do_lv_create':
> lvm.c:2192: structure has no member named `de'
> lvm.c: In function `lvm_do_lv_remove':
> lvm.c:2277: structure has no member named `de'
> lvm.c: At top level:
> lvm.c:326: warning: `__update_hardsectsize' declared `static' but never
> defined
> lvm.c:1891: warning: `__update_hardblocksize' defined but not used
> make[2]: *** [lvm.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.19/drivers/block'
> make[1]: *** [_modsubdir_block] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.19/drivers'
> make: *** [_mod_drivers] Error 2
> 

...Still exactly same problem with lvm-1.0.1-rc4
-- 
SALUD,
Jes�s
***
jesus_navarro@promofinarsa.es
***

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

end of thread, other threads:[~2001-10-03 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-03 12:02 [linux-lvm] Problem compiling LVM on 2.2.19 Jesus Manuel NAVARRO LOPEZ
2001-10-03 15:55 ` Jesus Manuel NAVARRO LOPEZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox