小言_互联网的博客

Ubuntu系统 libgcc_s.so.1 must be installed for pthread_cancel to work

1065人阅读  评论(0)

make[3]:正在离开目录 `/home/ubuntu/work/test/LS360F_actroot_sdk/openwrt/actroot/build’
Pseudo file “/dev” exists in source filesystem “/home/ubuntu/work/test/LS360F_actroot_sdk/openwrt/actroot/build/…/out/rootfs-ats3605/dev”.
Ignoring, exclude it (-e/-ef) to override.
libgcc_s.so.1 must be installed for pthread_cancel to work
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/ubuntu/work/test/LS360F_actroot_sdk/openwrt/actroot/build/…/out/images/system.img, block size 131072.
make[2]: *** [all] 已放弃 (core dumped)
make[2]:正在离开目录 `/home/ubuntu/work/test/LS360F_actroot_sdk/openwrt/actroot/build’
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/ubuntu/work/test/LS360F_actroot_sdk/openwrt/actroot’
make: *** [rootfs-compile] 错误 2

遇到此问题:

libgcc_s.so.1 must be installed for pthread_cancel to work

记录一下,新项目编译出问题,暂未解决。
============== 分 割 线 ===================
已经解决,用如下方法:
把缺少的libgcc_s.so.1放到 /lib 目录下就OK了!
亲测OK。

没有该文件的可以在这里下载。
https://download.csdn.net/download/weixin_38890593/11813333


转载:https://blog.csdn.net/weixin_38890593/article/details/101309814
查看评论
* 以上用户言论只代表其个人观点,不代表本网站的观点或立场