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
[email protected]:~/workspace/trunk-wr703$ 

 

 

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

发现编译还是:

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

于是在make menuconfig中选上

结果编译OK

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

时间: 2024-12-29 05:19:36

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

OpenWRT SDK Compile Package Error : Package hello is missing dependencies for the following libraries: libc.so.6

在OpenWRT SDK 编译 hello demo的时候出现错误: Package hello is missing dependencies for the following libraries: libc.so.6 发现以前可以编译通过,现在编不过了,奇怪. 后来在网上找原因,有的说改 libc.provides 添加  libc.so.6 这样把编译的ipk安装到openwrt里运行时出错. 最后,自己发现了问题 : 我在package/hello/src下make过一下检查代码有没有

解决 Package test is missing dependencies for the following libraries: libcrypto.so.1.0.0

根据项目要求需要用到openssl这个库,看了看编译环境幸好本身就集成了该库.但在编译openssl的功能时,碰到缺少类库的错误. Package test is missing dependencies for the following libraries: libcrypto.so.1.0.0 看了看 编译器路径 /home/sonny/Desktop/bitmain1/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib 这

Package helloworld is missing dependencies for the following libraries: libc.so.6

这个是在我在Openwrt的SDK下编译模块的时候碰到的问题. 缺少类库,然后其实我发现我的类库在系统里是存在的: locate libc.so.6 结果: /lib/i386-linux-gnu/libc.so.6 /lib64/libc.so.6 看~ 明显存在,我用的应该是上面的那个类库,然后我弄了一晚上没弄好,今天所有工作做完终于弄好了.我做的工作包括这些: 第一步: 把/lib/i386-linux-gnu/libc.so.6这个文件拷贝到/home/user/attitude/sta

解决 Magent 安装编译时出现错误和magent: error while loading shared libraries: libevent-2.0.so.5

一.背景 在 Linux上安装Magent代理服务器软件时,在后面的文章会介绍介绍了Magent解决Memcached服务的负载均衡和容错上.我这边先介绍安装Magent过程中出现的问题. 二.问题 安装Magent过程中出现问题 #tar zxvf magent-0.5.tar.gz #/sbin/ldconfig #sed -i "s#LIBS = -levent#LIBS = -levent -lm#g" Makefile #make 问题一:我在编译make Magent出现问

【转自】Missing artifact com.sun:tools:jar 1.5.0 终极解决方法

在使用m2eclipse插件时,在pom.xml中添加struts2-core.jar包后,需要依赖java运行时的tools.jar进行依赖.但是,此时eclipse无法读取tools包,出现如下错误: Missing artifact com.sun:tools:jar 1.5.0 解决办法一: 手动配置pom.xml,添加一个dependency如下: <dependency><groupId>com.sun</groupId><artifactId>

Missing artifact com.sun:tools:jar 1.5.0 终极解决方法

在使用m2eclipse插件时,在pom.xml中添加struts2-core.jar包后,需要依赖java运行时的tools.jar进行依赖.但是,此时eclipse无法读取tools包,出现如下错误: Missing artifact com.sun:tools:jar 1.5.0 解决办法一: 手动配置pom.xml,添加一个dependency如下: <dependency><groupId>com.sun</groupId><artifactId>

openwrt编译Build dependency: Please do not compile as root.错误解决

Checking 'working-make'... ok. Checking 'case-sensitive-fs'... ok. Checking 'getopt'... ok. Checking 'fileutils'... ok. Checking 'working-gcc'... ok. Checking 'working-g++'... ok. Checking 'ncurses'... ok. Checking 'zlib'... ok. Checking 'gawk'... ok

openwrt编译环境搭建

1,首先安装ubuntu系统,这里安装的是虚拟机 2,安装openwrt编译所需环境  apt-get install build-essential libncures5-dev gawk libssl-dev subversion git uzip    在安装之前运行了下 apt-get update 在安装时出现了“/var/lib/dpkg/local”的错误  rm了这个文件 3,在home目录下mkdir openwrt了一个文件目录,然后运行 git clone git://gi

OpenWRT 编译教程

1.安装Ubuntu 到 http://www.ubuntu.org.cn/desktop/get-ubuntu/download/ 下载,版本随便,我选的是10.10 32位版.安装过程就不说了,图形化安装,而且是中文版,连安装都搞不定的,可以关闭本页面了.可以安装在虚拟机里,也可以安装在物理机了,官方建议有条件的最好安装在物理机上,大概是说虚拟机有时会有不可预料的情况,但装在虚拟机里的人多得是了.题外话:安装过程中某一步设置用户名密码时,我是选择了自动登录,因为懒得每次都输密码登录,反正只是