public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Compile errors with devicemapper/2.5.46
@ 2002-11-06 17:16 Patrick Finnegan
  2002-11-06 18:07 ` Joe Thornber
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Finnegan @ 2002-11-06 17:16 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compile errors with devicemapper/2.5.46
  2002-11-06 17:16 Compile errors with devicemapper/2.5.46 Patrick Finnegan
@ 2002-11-06 18:07 ` Joe Thornber
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2002-11-06 18:07 UTC (permalink / raw)
  To: Patrick Finnegan; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-06 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-06 17:16 Compile errors with devicemapper/2.5.46 Patrick Finnegan
2002-11-06 18:07 ` Joe Thornber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox