QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4951|回复: 0

Ubuntu下安装arm-linux-gcc的问题

[复制链接]
发表于 2008-1-15 20:40:52 | 显示全部楼层 |阅读模式
我之前一直使用FC4作为u-boot的编译环境。
最近操作系统换为Ubuntu7.10,还是按照以前的办法安装交叉编译工具,然后在.bashrc文件中添加交叉编译工具路径
export PATH=/usr/local/arm/3.3.2/bin:$PATH

可是在使用make命令编译u-boot时出现下面的错误,麻烦大家看看是怎么回事,百思不得其解

make: arm-linux-gcc:命令未找到
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: arm-linux-gcc:命令未找到
make[1]: Entering directory `/usr/tmp/u-boot-1.1.6/tools'
ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
make[1]: Leaving directory `/usr/tmp/u-boot-1.1.6/tools'
make[1]: arm-linux-gcc:命令未找到
make[1]: Entering directory `/usr/tmp/u-boot-1.1.6/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/usr/tmp/u-boot-1.1.6/tools'
make[1]: arm-linux-gcc:命令未找到
make[1]: Entering directory `/usr/tmp/u-boot-1.1.6/examples'
/bin/sh: arm-linux-gcc: not found
dirname: 缺少操作数
请尝试执行‘dirname --help’来获取更多信息。
/bin/sh: arm-linux-gcc: not found
dirname: 缺少操作数
请尝试执行‘dirname --help’来获取更多信息。
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
make[1]: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make[1]: Leaving directory `/usr/tmp/u-boot-1.1.6/examples'
make[1]: arm-linux-gcc:命令未找到
make[1]: Entering directory `/usr/tmp/u-boot-1.1.6/post'
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
make[1]: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make[1]: Leaving directory `/usr/tmp/u-boot-1.1.6/post'
make[1]: arm-linux-gcc:命令未找到
make[1]: Entering directory `/usr/tmp/u-boot-1.1.6/post/cpu'
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
/bin/sh: arm-linux-gcc: not found
make[1]: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make[1]: Leaving directory `/usr/tmp/u-boot-1.1.6/post/cpu'
make: *** [depend] 错误 2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-20 13:51 , Processed in 0.113187 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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