环境
ubuntu14.04(麒麟)
1. 下载源代码
apt-get source libnl-dev
2. 设置
export LD_LIBRARY_PATH=/home/netbox/QSDK-9563+9882+8033/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2/lib
./configure CC=mips-openwrt-linux-uclibc-gcc LDFLAGS=-L/home/netbox/QSDK-9563+9882+8033/build_dir/target-mips_r2_uClibc-0.9.33.2/OpenWrt-SDK-ar71xx-for-linux-i686-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib --host=mips
3.make
阅读(996) | 评论(0) | 转发(0) |