Fwd: Re: [linux-lvm] unresolved SYMBOL get_hardblocksize during modules generation

Joe Morris heartboy at nycap.rr.com
Tue Jul 24 16:00:43 UTC 2001


On Tuesday 24 July 2001 11:09 am, you wrote:
> Good afternoon,
>
> I am trying to build 2.4.7 kernel with lvm-0.9.1_beta7-2.4.7.patch and I
> have this error during modules build :
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.7/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
> -include /usr/src/linux-2.4.7/include/linux/modversions.h   -c -o lvm.o
> lvm.c
> lvm.c: In function `__update_hardblocksize':
> lvm.c:1794: warning: implicit declaration of function `get_hardblocksize'
>
> I don't find in the kernel tree directory this function, is it a problem
> with the LVM patch or the level of the kernel.
>
> Thanks by advance to help to achieve the build of this kernel.
>
> Regards.
>
> T. DANJEAN

Did you try replacing all the get_hardblocksize with get_hardsect_size?
Joe




More information about the linux-lvm mailing list