[linux-lvm] Problems compiling 2.4.4

Heinz J. Mauelshagen Mauelshagen at sistina.com
Fri May 4 09:38:09 UTC 2001


Glenn is right.
I've already applied support for the changed symbol (get_hardsect_size rather
than get_hardblocksize) in recent LVM CVS.

Regards,
Heinz    -- The LVM Guy --


On Thu, May 03, 2001 at 08:06:25AM +0900, Glenn Shannon wrote:
> 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 at temic.com
> >
> > In a world without fences and walls,
> > who needs Windows and Gates?
> > ++++++++++++++++++++++++++++++++
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm at 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
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list