about cross compile for device mapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
 
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux