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.eduhttp://dilbert.com/comics/dilbert/archive/images/dilbert2040637020924.gif
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:44 EST