执行做jffs2的build.sh脚本错误————/usr/bin/ld: cannot find -lc
2015-10-30 10:12
405 查看
执行gcc静态编译程序时报错:
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [gcc_dry2] Error 1
原因:程序链接需要静态库,系统没有安装静态库导致报错
解决:安装静态库
#sudo yum install glibc-static
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [gcc_dry2] Error 1
原因:程序链接需要静态库,系统没有安装静态库导致报错
解决:安装静态库
#sudo yum install glibc-static
相关文章推荐
- Android Bluetooth蓝牙开发(三)
- iOS UILabel复制粘贴效果
- uitextfield 左侧图片
- easyui-tabs简单操作(随笔)
- iOS 7及以上,改变UIStatusBar颜色
- juery radio 选中/取消选中操作
- TestNG – Run multiple test classes (suite test)
- Number Sequence
- Do You Have Any Question for me
- 115. Distinct Subsequences (String; DP)
- Android UI的优化
- UIButton 的实现原理
- Android merge优化UI
- 理解UIImage 拉伸图片 resizableImageWithCapInsets
- UITextField,常见属性的罗列和用法
- 控制器:UITabBarController
- Qt Quick 图像处理实例之美图秀秀(附源码下载)
- 在android的spinner中,实现取VALUE值和TEXT值
- ueditor编辑器配置及使用介绍
- UI基础之 -------- 轮播图 UIScrollew UIPageControll NSTime