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

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

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

发现编译还是:

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

于是在make menuconfig中选上

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

结果编译OK

你可能感兴趣的:(openwrt)