[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Problems compiling 2.4.4



Emanuel Quass wrote:

> Hi,
>
> I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
> At the end of make bzImage an error occours:
>
> ld -m elf_i386 -T /mnt/kernel/linux/arch/i386/vmlinux.lds -e \
>  stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o \
>  init/main.o init/version.o \
>         --start-group \
>         arch/i386/kernel/kernel.o arch/i386/mm/mm.o \
> kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
>         drivers/block/block.o drivers/char/char.o \
> drivers/misc/misc.o drivers/net/net.o drivers/media/media.o \
> drivers/ide/idedriver.o drivers/scsi/scsidrv.o \
> drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o \
> drivers/md/mddev.o \
>         net/network.o \
>         /mnt/kernel/linux/arch/i386/lib/lib.a \
> /mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
>         --end-group \
>         -o vmlinux \
> drivers/md/mddev.o: In function `__update_hardblocksize':
> drivers/md/mddev.o(.text+0x2316): undefined reference to `get_hardblocksize'
> drivers/md/mddev.o(.text+0x2352): undefined reference to `get_hardblocksize'
> make: *** [vmlinux] Error 1
> Does anybody knwo where this comes from!
>
> Thanks in advance
>
>         Emanuel
>
> P.S. Please CC me because I am not in the list.
>
> --
>
> ++++++++++++++++++++++++++++++++
> Emanuel Quass
> email :  emanuel quass temic com
>
> In a world without fences and walls,
> who needs Windows and Gates?
> ++++++++++++++++++++++++++++++++
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

go to your /usr/src/linux directory.....go to drivers/md and edit lvm.c and
change the two entries of get_hardblocksize with get_hardsect_size

That should do the trick.

Glenn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]