Hi all,<br><br>I need to use the dmsetup command in my embeded device, so I need to cross compile the dmsetup with arm-linux-gcc.<br>And I have downloaded the source code of device-mapper.1.02.28 in my host linux(Centos 5.5).<br>Then I make a configure script named "configure-mini2440.sh" in device-mapper.1.02.28/release/ :<br><p>#! /bin/sh</p>  <p>CC=arm-linux-gcc ../configure --enable-elf-shlibs --host=arm --prefix=/root/Desktop/common/device-mapper.1.02.28/release/</p><p><br></p><p>Then I do the configuration with "configure-mini2440.sh"</p><p>However when I do "make", some error occur.</p><p><br></p><p>Can anyone tell me a right way to do the cross compile?</p><p>Thank a lot.</p><p><br></p><br><br><br><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><br>--<br>Best Rgds,<br>Encore Deng<br>Mobile: 134 161 259 40<br>--<br></div></div><div> </div>