yxr520wyt
2015-11-04 08:47 阅读 2.6k

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'

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • oyljerry oyljerry 2015-11-04 09:43

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

    点赞 评论 复制链接分享

相关推荐