1、首先安装zlib
tar xzf zlib-1.2.3.tar.gz
cd zlib-1.2.3
./configure --shared --prefix=/usr/locd/arm/
make
sudo make install
2、然后编译mtd
tar xjf mtd-utils-05.07.23.tar.bz2
cd mtd-utils-05.07.23/util
make
sudo make install
具体远码可以下载:
ftp://ftp.infradead.org/pub/mtd-utils/
http://www.zlib.net/