Linux应用程序编译报错

Qualcomm 9x15平台A5应用程序编译,出错信息如下:
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld: error: cannot open /lib/libpthread.so.0: No such file or directory
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld: error: cannot open /usr/lib/libpthread_nonshared.a: No such file or directory
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld: error: cannot open /lib/libpthread.so.0: No such file or directory
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld: error: cannot open /usr/lib/libpthread_nonshared.a: No such file or directory
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld: error: cannot open /lib/libc.so.6: No such file or directory
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld: error: cannot open /usr/lib/libc_nonshared.a: No such file or directory
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.3/ld: error: cannot open /lib/ld-linux.so.3: No such file or directory
| /home/nelson/qualcomm/Cersei/apps_proc/oe-core/build/tmp-eglibc/sysroots/9615-cdp/usr/lib/crt1.o(.text+0x28): error: undefined reference to '__libc_start_main'

0

1个回答

这个系统是不是没有libpthread这个类库

0
a373882405
六圈儿 回复密封线内不准答题: 你确定/lib/libpthread.so.0 /usr/lib/libc_nonshared.a 都存在?
3 年多之前 回复
yxr520wyt
密封线内不准答题 别的应用程序能够调用pthread类库,就这个程序不能运行,所以系统还是包含了这个类库的
3 年多之前 回复
yxr520wyt
密封线内不准答题 别的应用程序能够调用pthread类库,就这个程序不能运行,所以系统还是包含了这个类库的
3 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!