2009-10-29 20:54:32     There are some error when make the u-boot

Document created by Aaronwu Employee on Sep 24, 2013
Version 1Show Document
  • View in full screen mode

2009-10-29 20:54:32     There are some error when make the u-boot

zhang zhihua (CHINA)

Message: 81881   

 

when I use 'make' to complie the u-boot,printed like this:

 

root@ubuntu:/home/u-boot-2008.10-2009R1-rc3# make

/bin/bash: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc: No such file or directory

for dir in tools examples api_examples ; do make -C $dir _depend ; done

make[1]: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc: Command not found

make[1]: Entering directory `/home/u-boot-2008.10-2009R1-rc3/tools'

make[1]: Nothing to be done for `_depend'.

make[1]: Leaving directory `/home/u-boot-2008.10-2009R1-rc3/tools'

make[1]: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc: Command not found

make[1]: Entering directory `/home/u-boot-2008.10-2009R1-rc3/examples'

/bin/sh: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc: not found

dirname: missing operand

Try `dirname --help' for more information.

/bin/sh: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-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/u-boot-2008.10-2009R1-rc3/examples'

make[1]: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc: Command not found

make[1]: Entering directory `/home/u-boot-2008.10-2009R1-rc3/api_examples'

/bin/sh: /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-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/u-boot-2008.10-2009R1-rc3/api_examples'

make: *** No rule to make target `/opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stdarg.h', needed by `include/autoconf.mk'.  Stop.

TranslateQuoteReplyEditDelete

 

 

2009-10-29 20:59:47     Re: There are some error when make the u-boot

Mike Frysinger (UNITED STATES)

Message: 81882   

 

do not build things as root

 

otherwise your PATH/toolchain install is broken.  please review the toolchain install documentation:

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

Attachments

    Outcomes