天嵌 ARM开发社区

 找回密码
 注册
查看: 2134|回复: 4

编译u-boot时出现问题

[复制链接]
xll 发表于 2015-3-6 11:45:30 | 显示全部楼层 |阅读模式
本帖最后由 xll 于 2015-3-6 11:53 编辑

错误提示是这个
arm-linux-ar/opt/EmbedSky/4.4.6/lib/gcc/arm-embedsky-linux-gnueabi/4.4.6/../../../../arm-embedsky-linux-gnueabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make[1]: *** [arch/arm/cpu/built-in.o] Error 127
make: *** [arch/arm/cpu] Error 2

u-boot的版本是2014.10的

什么原因?
是我的交叉编译器没有弄好的原因吗?

wbz073 发表于 2015-3-9 08:40:55 | 显示全部楼层
这是缺少libz的库,安装ubuntu_env_install.sh,具体看手册有讲到方法
 楼主| xll 发表于 2015-3-9 08:50:47 | 显示全部楼层
wbz073 发表于 2015-3-9 08:40
这是缺少libz的库,安装ubuntu_env_install.sh,具体看手册有讲到方法

好的,我再重装一下
 楼主| xll 发表于 2015-3-9 08:59:02 | 显示全部楼层
wbz073 发表于 2015-3-9 08:40
这是缺少libz的库,安装ubuntu_env_install.sh,具体看手册有讲到方法

有没有dnw_usb的源码包,我没找到
wbz073 发表于 2015-3-9 09:36:15 | 显示全部楼层
xll 发表于 2015-3-9 08:59
有没有dnw_usb的源码包,我没找到

这个我们没有提供
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-3-29 21:48 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表