* [linux-lvm] Compile problem - Linux 2.6.1 + LVM2.2.00.08
@ 2004-01-19 6:20 Dale Gallagher
2004-01-19 6:54 ` Luca Berra
0 siblings, 1 reply; 3+ messages in thread
From: Dale Gallagher @ 2004-01-19 6:20 UTC (permalink / raw)
To: linux-lvm
Hi there
I Cannot compile LVM2.2.00.08 on a system with the
following info. Compilation error output included too.
Help would be appreciated - this is my first attempt to
run a system with LVM and thought it best to get going with
the latest stable kernel and LVM to prevent migration
headaches at a later stage. Thanks.
Slackware 9.1
/ and /boot on ext3 paritions and swap separate
would like to use remaining disk space with LVM
kernel-headers-2.4.22-i386-1
gcc-3.2.3-i486-2
gcc-g++-3.2.3-i486-1
Successfully built and running Linux 2.6.1 with:
#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_DM=y
CONFIG_DM_IOCTL_V4=y
cd /usr/src/build/LVM2.2.00.08
./configure --enable-readline --with-lvm1=none
resulted in compilation failure... see below:
----- <snip> -----
In file included from activate/activate.c:9:
activate/activate.h:13:28: libdevmapper.h: No such file or
directory
activate/activate.c: In function `library_version':
activate/activate.c:119: warning: implicit declaration of
function `dm_get_library_version'
activate/activate.c: In function `driver_version':
activate/activate.c:133: warning: implicit declaration of
function `dm_task_create'
activate/activate.c:133: `DM_DEVICE_VERSION' undeclared
(first use in this function)
activate/activate.c:133: (Each undeclared identifier is
reported only once
activate/activate.c:133: for each function it appears in.)
activate/activate.c:133: warning: assignment makes pointer
from integer without a cast
activate/activate.c:138: warning: implicit declaration of
function `dm_task_run'
activate/activate.c:141: warning: implicit declaration of
function `dm_task_get_driver_version'
activate/activate.c:147: warning: implicit declaration of
function `dm_task_destroy'
activate/activate.c: In function `_lv_info':
activate/activate.c:160: storage size of `dminfo' isn't
known
activate/activate.c:160: warning: unused variable `dminfo'
make[1]: *** [activate/activate.o] Error 1
make[1]: *** Waiting for unfinished jobs....
commands/toolcontext.c: In function `_process_config':
commands/toolcontext.c:151: warning: implicit declaration
of function `dm_set_dev_dir'
make[1]: *** [commands/toolcontext.o] Error 1
make[1]: Leaving directory
`/mnt/stage/build/LVM2.2.00.08/lib'
make: *** [lib] Error 2
----- </snip> -----
Let me know if more details are required to track my issues
down.
Thanks
Dale
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Compile problem - Linux 2.6.1 + LVM2.2.00.08
2004-01-19 6:20 [linux-lvm] Compile problem - Linux 2.6.1 + LVM2.2.00.08 Dale Gallagher
@ 2004-01-19 6:54 ` Luca Berra
2004-01-19 9:33 ` Dale Gallagher
0 siblings, 1 reply; 3+ messages in thread
From: Luca Berra @ 2004-01-19 6:54 UTC (permalink / raw)
To: linux-lvm
On Mon, Jan 19, 2004 at 01:18:58PM +0200, Dale Gallagher wrote:
>Hi there
>
>I Cannot compile LVM2.2.00.08 on a system with the
>following info. Compilation error output included too.
...
>In file included from activate/activate.c:9:
>activate/activate.h:13:28: libdevmapper.h: No such file or
>directory
compile and install device mapper first
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Compile problem - Linux 2.6.1 + LVM2.2.00.08
2004-01-19 6:54 ` Luca Berra
@ 2004-01-19 9:33 ` Dale Gallagher
0 siblings, 0 replies; 3+ messages in thread
From: Dale Gallagher @ 2004-01-19 9:33 UTC (permalink / raw)
To: linux-lvm
> compile and install device mapper first
Tried that earlier and it failed too - after reading the
docs, wasn't certain if I had to do this, since 2.6.x has
device-mapper in the kernel....
Anyway, everything succeeded now - the problem was with my
kernel-headers. I'd been a twit and symlinked
/usr/include/linux to
/usr/src/linux-2.6.1/usr/include/linux and found Linus'
post regarding this, before rectifying my mistake:
http://www.ussg.iu.edu/hypermail/linux/kernel/0007.3/0587.html
So I removed my symlink madness and re-installed the
original kernel-headers package as per my original post and
then successfully installed both device-mapper and LVM!
Thanks
Dale
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-19 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-19 6:20 [linux-lvm] Compile problem - Linux 2.6.1 + LVM2.2.00.08 Dale Gallagher
2004-01-19 6:54 ` Luca Berra
2004-01-19 9:33 ` Dale Gallagher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.