openwrt 编译软件包出现错误(is missing dependencies for the following libraries: libpthread.so.0)

时间:2014-08-06 22:12:22   收藏:0   阅读:2659

install -m0755 /home/yanfa/workspace/trunk-wr703/build_dir/target-mips_r2_uClibc-0.9.33.2/lk_cnp_serial_eth/lk_cnp_serial_eth /home/yanfa/workspace/trunk-wr703/build_dir/target-mips_r2_uClibc-0.9.33.2/lk_cnp_serial_eth/ipkg-ar71xx/lk_cnp_serial_eth/bin/
find /home/yanfa/workspace/trunk-wr703/build_dir/target-mips_r2_uClibc-0.9.33.2/lk_cnp_serial_eth/ipkg-ar71xx/lk_cnp_serial_eth -name ‘CVS‘ -o -name ‘.svn‘ -o -name ‘.#*‘ -o -name ‘*~‘| xargs -r rm -rf
Package lk_cnp_serial_eth is missing dependencies for the following libraries:
libpthread.so.0
make[3]: *** [/home/yanfa/workspace/trunk-wr703/bin/ar71xx/packages/lk_cnp_serial_eth_1_ar71xx.ipk] Error 1
make[3]: Leaving directory `/home/yanfa/workspace/trunk-wr703/package/lk_cnp_serial_eth‘
make[2]: *** [package/lk_cnp_serial_eth/compile] Error 2
make[2]: Leaving directory `/home/yanfa/workspace/trunk-wr703‘
make[1]: *** [/home/yanfa/workspace/trunk-wr703/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/yanfa/workspace/trunk-wr703‘
make: *** [world] Error 2
yanfa@ubuntu:~/workspace/trunk-wr703$ 

 

 

加上这句话还是不行DEPENDS:=+libpthread

bubuko.com,布布扣

发现编译还是:

Package lk_cnp_serial_eth is missing dependencies for the following libraries:
libpthread.so.0

于是在make menuconfig中选上

bubuko.com,布布扣

结果编译OK

openwrt 编译软件包出现错误(is missing dependencies for the following libraries: libpthread.so.0),布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!