[dm-devel] about cross compile for device mapper
安
koan_002 at qq.com
Wed Jul 10 11:29:27 UTC 2013
Hi all,
I need to use the dmsetup command in my embeded device, so I need to cross compile the dmsetup with arm-linux-gcc.
And I have downloaded the source code of device-mapper.1.02.28 in my host linux(Centos 5.5).
Then I make a configure script named "configure-mini2440.sh" in device-mapper.1.02.28/release/ :
#! /bin/sh
CC=arm-linux-gcc ../configure --enable-elf-shlibs --host=arm --prefix=/root/Desktop/common/device-mapper.1.02.28/release/
Then I do the configuration with "configure-mini2440.sh"
However when I do "make", some error occur.
Can anyone tell me a right way to do the cross compile?
Thank a lot.
------------------
--
Best Rgds,
Encore Deng
Mobile: 134 161 259 40
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20130710/536e03b4/attachment.htm>
More information about the dm-devel
mailing list