When I try compiling the devicemapper as a module in 2.5.46, I get the
following error:
------------------------------------------------------------
make -f scripts/Makefile.build obj=drivers/md
gcc-3.2 -Wp,-MD,drivers/md/.dm-ioctl.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DMODULE -DKBUILD_BASENAME=dm_ioctl -c -o drivers/md/dm-ioctl.o
drivers/md/dm-ioctl.c
drivers/md/dm-ioctl.c: In function `create':
drivers/md/dm-ioctl.c:588: incompatible type for argument 1 of
`set_device_ro'
drivers/md/dm-ioctl.c: In function `reload':
drivers/md/dm-ioctl.c:874: incompatible type for argument 1 of
`set_device_ro'
make[2]: *** [drivers/md/dm-ioctl.o] Error 1
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
------------------------------------------------------------
I've tried with gcc 2.95.4, and have the same error, so I'm fairly sure
it's not gcc.
Here's the relevant part of .config:
------------------------------------------------------------
#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
# CONFIG_MD_MULTIPATH is not set
CONFIG_BLK_DEV_DM=m
------------------------------------------------------------
My entire .config file is up at:
http://purdueriots.com/linux-2.5.46.config
Pat
--
Purdue Universtiy ITAP/RCS
Information Technology at Purdue
Research Computing and Storage
http://www-rcd.cc.purdue.edu
http://dilbert.com/comics/dilbert/archive/images/dilbert2040637020924.gif
On Wed, Nov 06, 2002 at 12:16:36PM -0500, Patrick Finnegan wrote:
> When I try compiling the devicemapper as a module in 2.5.46, I get the
> following error:
Please apply the three little patches from:
http://people.sistina.com/~thornber/patches/2.5-stable/2.5.46-dm1.tar.bz2
I'll resend them to Linus/Dave and hope they get in this time.
- Joe