htjgdw 发表于 2008-1-15 20:40:52

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

我之前一直使用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: arm-linux-gcc:命令未找到
make: 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: Leaving directory `/usr/tmp/u-boot-1.1.6/tools'
make: arm-linux-gcc:命令未找到
make: Entering directory `/usr/tmp/u-boot-1.1.6/tools'
make: Nothing to be done for `_depend'.
make: Leaving directory `/usr/tmp/u-boot-1.1.6/tools'
make: arm-linux-gcc:命令未找到
make: 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: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make: Leaving directory `/usr/tmp/u-boot-1.1.6/examples'
make: arm-linux-gcc:命令未找到
make: 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: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make: Leaving directory `/usr/tmp/u-boot-1.1.6/post'
make: arm-linux-gcc:命令未找到
make: 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: *** 没有规则可以创建“_depend”需要的目标“.depend”。 停止。
make: Leaving directory `/usr/tmp/u-boot-1.1.6/post/cpu'
make: *** 错误 2
页: [1]
查看完整版本: Ubuntu下安装arm-linux-gcc的问题