本帖最后由 FSL_TICS_imx 于 2014-7-9 16:22 编辑
ocean@ubuntu:~/ltib/ltib/rpm/BUILD/u-boot-2009.08$ make ARCH=arm
/bin/bash: arm-linux-gcc: command not found
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
for dir in tools examples/standalone examples/api ; do make -C $dir _depend ; done
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/tools'
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/standalone'
/bin/sh: 1: arm-linux-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: 1: arm-linux-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/standalone'
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/api'
/bin/sh: 1: arm-linux-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/api'
make -C tools all
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/tools'
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/tools'
make -C examples/standalone all
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/standalone'
/bin/sh: 1: arm-linux-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: 1: arm-linux-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/standalone'
make -C examples/api all
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/api'
/bin/sh: 1: arm-linux-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/examples/api'
make -C cpu/arm_cortexa8 start.o
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/cpu/arm_cortexa8'
make[1]: `start.o' is up to date.
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/cpu/arm_cortexa8'
make -C lib_generic/
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/lib_generic'
make[1]: `libgeneric.a' is up to date.
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/lib_generic'
make -C lib_generic/lzma/
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/lib_generic/lzma'
arm-linux-ar crv liblzma.a
make[1]: arm-linux-ar: Command not found
make[1]: *** [liblzma.a] Error 127
make[1]: Leaving directory `/home/ocean/ltib/ltib/rpm/BUILD/u-boot-2009.08/lib_generic/lzma'
make: *** [lib_generic/lzma/liblzma.a] Error 2
ocean@ubuntu:~/ltib/ltib/rpm/BUILD/u-boot-2009.08$
=============
执行上述蓝字命令,提示上述错误。
然后,通过
ocean@ubuntu:/$ sudo find -name "arm-linux-gcc"
[sudo] password for ocean:
./opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-linux-gcc
接着执行
ocean@ubuntu:/$ cd
ocean@ubuntu:~$ export PATH=$PATH:/opt/arm/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/
上述错误问题依然存在,没有修正解决?
|