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

Re: [linux-lvm] Problems compiling device-mapper 1.00.08 on RedHat7.2 with linux-2.4.22

Thanks for your quick reply, Alasdair. That allowed me to build device-mapper.

Now I'm having problems building LVM2. It's breaking on BLKBSZGET:
device/dev-io.c: In function `_get_block_size':
device/dev-io.c:112: `BLKBSZGET' undeclared (first use in this function)
device/dev-io.c:112: (Each undeclared identifier is reported only once
device/dev-io.c:112: for each function it appears in.)
device/dev-io.c: In function `dev_get_size':
device/dev-io.c:219: `BLKGETSIZE64' undeclared (first use in this function)
make[1]: *** [device/dev-io.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/dmurray/kernel/LVM2.2.00.08/lib'
make: *** [lib] Error 2
dmurray dmdev:/home/dmurray/kernel/LVM2.2.00.08> 

Any suggestions for this one?

On Mon, 8 Mar 2004 11:59:38 -0600
Alasdair G Kergon <agk redhat com> wrote:

> On Mon, Mar 08, 2004 at 10:43:49AM -0700, Donald Murray P.Eng. wrote:
> > Following the instructions in the device-mapper 1.00.08 INSTALL, I've
> > successfully completed the following steps:
> >     ./configure --with-kernel-dir=/home/dmurray/kernel/linux-2.4.22
> The workaround is to run ./configure again *without* the kernel-dir option.
> Then make install the userspace tools/library.
> You *don't* need to repatch/rebuild the kernel.
> Alasdair
> -- 
> agk redhat com
> _______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

 Donald Murray, P.Eng.
 Senior Software Engineer
 Pason Systems Corp.
 Direct: (403) 301-3473

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