/usr/bin/ld:-lc解决方法
来源:互联网 发布:抓取访客手机号源码 编辑:程序博客网 时间:2024/06/02 06:22
背景:
使用海思交叉编译器编译库文件中出现。
原因:
ld表示连接,-lc表示需要连接libc.a。出现这个,说明缺少需要的libc.a文件。
解决过程:
刚开始以为是海思交叉编译器的问题,便在安装目录find libc.a,找到很多个,排除这个原因;然后检查路径问题,发现路径也没问题。回想一下,虚拟机是mini安装,有可能没有安装libc.a,当前使用的虚拟机是centos mini6.6,于是使用命令yum install glibc-static libstdc++-static安装libc.a。重新编译,OK,问题解决。
0 0
- /usr/bin/ld:-lc解决方法
- /usr/bin/ld: /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc 解决
- 【解决】/usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc 解决
- /usr/bin/ld: cannot find -lstdc++ /usr/bin/ld: cannot find -lm /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lstdc++ /usr/bin/ld: cannot find -lm /usr/bin/ld: cannot find -lc
- Linux: /usr/bin/ld: cannot find -lc Error and Solution
- GCC 编译出错 /usr/bin/ld: cannot find -lc
- /usr/bin/ld: cannot find -lc 的解决办法
- 处理 /usr/bin/ld: cannot find -lc等编译问题
- 交叉编译时报错:/usr/bin/ld: cannot find -lc
- 处理 /usr/bin/ld: cannot find -lc等编译问题
- 图片预览功能的简单实现
- 用eclipse实现NDK调试常见问题总结
- 竞价推广哪家好?易商在线(武汉)网络技术有限公司
- Vivado自学笔记
- signal学习代码实例(sigaction/signalfd)
- /usr/bin/ld:-lc解决方法
- mysql外键索引
- hi3518e移植wifi模块注意事项
- 杭电(hdu)ACM 1003 Max Sum
- linux中线程如何退出
- 一点一点学架构(四)—Spring.NET错误Cannot Resolve Type……
- JSP基本语法
- 屏蔽用户输入查询通配符‘%’或‘_’
- 去除重复字符并排序