u-boot-1.1.6编译过程中出现cannot find -lc
来源:互联网 发布:卡密软件下载 编辑:程序博客网 时间:2024/06/01 09:48
在尝试u-boot-1.1.6向mini2440移植的过程中,遇到下面的编译问题:
opt/FriendlyARM/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-ld: cannot find -lc
打开u-boot-1.1.6根目录下的Makefile,发现:第218行
PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc -lc -L/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/usr/lib
这一行是有问题的
检查一下arm-linux-gcc的目录,发现arm-none-linux-gnueabi目录下并没有libc这样的目录,因此推断问题是arm-linux-gcc带来的,将arm-linux-gcc换成4.3.2版本,检查libc目录存在,库文件完整后,重新调整环境变量,问题解决。
- u-boot-1.1.6编译过程中出现cannot find -lc
- u-boot-1.1.6编译过程中出现cannot find -lc
- u-boot编译过程中出现的问题
- U-Boot 1.1.6的编译过程
- Linux编译静态链接出现:/usr/bin/ld: cannot find -lc
- U-boot编译过程
- U-Boot编译过程
- u-boot编译过程
- U-Boot编译过程
- ld: cannot find -lc
- 解决汇编调用c库出现 ld: cannot find -lc
- u-boot-1.1.6的配置编译过程分析.doc
- 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等编译问题
- u-boot编译过程理解
- Android多点触控
- 调用百度地图实例
- uestc oj 1868 Condorcet Winners
- 【ios开发】xcode4.5应用程序本地化
- JTable 保存单元格内容
- u-boot-1.1.6编译过程中出现cannot find -lc
- 数据库表的缓存
- bat脚本编写要点
- jsp:useBean用法
- Leetcode: restore ipAddress 恢复ip地址,找出所有可能性
- 使用Tiled制作cocosd-x地图
- UVA11396 Claw Decomposition
- mysql 数据库多表更新语句
- jsp页面显示List中对象的属性三种方法