From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3AF092F1.4196DB9B@gecpalau.com> Date: Thu, 03 May 2001 08:06:25 +0900 From: Glenn Shannon MIME-Version: 1.0 Subject: Re: [linux-lvm] Problems compiling 2.4.4 References: <20010502182804.A6768@in-cadcae4.ing.temic.de> Content-Transfer-Encoding: 7bit Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-lvm@sistina.com 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