wget http://www.infradead.org/~tgr/libnl/files/libnl-3.2.24.tar.gz tar -xzf libnl-3.2.24.tar.gz cd libnl-3.2.24 ./configure --host=arm-linux-gnueabi --prefix=/usr/arm-linux-gnueabi make make install cd include make install
执行成功之后,交叉编译的 libnl 将安装在 –prefix 制定的目录中
2. 交叉编译 openssl
1 2 3 4 5 6 7 8
wget https://www.openssl.org/source/openssl-1.0.1h.tar.gz tar -xzf openssl-1.0.1h.tar.gz cd openssl-1.0.1h export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- ./Configure linux-generic32 --prefix=/usr/arm-linux-gnueabi make make install