搜索

4

主题

12

帖子

40

积分

新手上路

Rank: 1

积分
40
发表于 2014-8-5 13:39:18 10298 浏览 8 回复

arm-none-linux-gnueabi-gcc: not found

root@ubuntu:/4412/iTop4412_uboot_scp# ./create_uboot.sh
make clean
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
COPYING     config.mk     lib_i386     nand_spl
CREDITS     cpu      lib_m68k     net
E4212     create_uboot.sh  lib_microblaze  onenand_ipl
E4412_N.bl1.bin    disk      lib_mips     paddingaa
MAINTAINERS    doc      lib_nios     post
MAKEALL     drivers     lib_nios2     readme.txt
Makefile    examples     lib_ppc     rules.mk
README     fs      lib_sh     sdfuse
all00_padding.bin  include     lib_sparc     sdfuse_q
api     lib_arm     libfdt     tc4_cmm.cmm
board     lib_avr32     mkbl2     tools
build_uboot.sh    lib_blackfin     mkconfig     uboot_readme.txt
common     lib_generic     mkuboot
Configuring for itop_4412_android board...
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
Generating include/autoconf.mk
/bin/bash: line 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
Generating include/autoconf.mk.dep
/bin/bash: line 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
for dir in  cpu/arm_cortexa9 /4412/iTop4412_uboot_scp/cpu/arm_cortexa9/ ; do \
   make -C $dir _depend ; done
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
make[1]: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/4412/iTop4412_uboot_scp/cpu/arm_cortexa9'
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/4412/iTop4412_uboot_scp/cpu/arm_cortexa9'
make[1]: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/4412/iTop4412_uboot_scp/cpu/arm_cortexa9'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/4412/iTop4412_uboot_scp/cpu/arm_cortexa9'
make -C cpu/arm_cortexa9 start.o
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
make -C lib_generic/
make[1]: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/4412/iTop4412_uboot_scp/cpu/arm_cortexa9'
/bin/bash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
make -C lib_generic/lzma/
/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc   -D__ASSEMBLY__ -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0xc3e00000 -I/4412/iTop4412_uboot_scp/include -fno-builtin -ffreestanding -nostdinc -isystem  -pipe  -DCONFIG_ARM -D__ARM__         -march=armv7-a   -o start.o start.S -c
make[1]: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
make[1]: Entering directory `/4412/iTop4412_uboot_scp/lib_generic'
make[1]: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: Command not found
make[1]: *** [start.o] Error 127
make[1]: Leaving directory `/4412/iTop4412_uboot_scp/cpu/arm_cortexa9'
make: *** [cpu/arm_cortexa9/start.o] Error 2
make: *** Waiting for unfinished jobs....
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
/bin/sh: 3: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
make[1]: *** No rule to make target `.depend', needed by `libgeneric.a'.  Stop.
make[1]: Leaving directory `/4412/iTop4412_uboot_scp/lib_generic'
make: *** [lib_generic/libgeneric.a] Error 2
make: *** wait: No child processes.  Stop.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There are some error(s) while building uboot, please use command make to check.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
COPYING     config.mk     lib_i386     nand_spl
CREDITS     cpu      lib_m68k     net
E4212     create_uboot.sh  lib_microblaze  onenand_ipl
E4412_N.bl1.bin    disk      lib_mips     paddingaa
MAINTAINERS    doc      lib_nios     post
MAKEALL     drivers     lib_nios2     readme.txt
Makefile    examples     lib_ppc     rules.mk
README     fs      lib_sh     sdfuse
all00_padding.bin  include     lib_sparc     sdfuse_q
api     lib_arm     libfdt     tc4_cmm.cmm
board     lib_avr32     mkbl2     tools
build_uboot.sh    lib_blackfin     mkconfig     uboot_readme.txt
common     lib_generic     mkuboot
root@ubuntu:/4412/iTop4412_uboot_scp#

回复

使用道具 举报

48

主题

598

帖子

1923

积分

版主

Rank: 7Rank: 7Rank: 7

积分
1923
发表于 2014-8-5 13:50:31
你在root权限下使用命令
#arm
然后按TAB会出现编译器

你这里报错是找不到编译器
回复 点赞

使用道具 举报

4

主题

12

帖子

40

积分

新手上路

Rank: 1

积分
40
 楼主| 发表于 2014-8-5 13:54:15
root@ubuntu:/4412/iTop4412_uboot_scp# arm
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.3.1 final 0
Distributor ID:        Ubuntu
Description:        Ubuntu 13.04
Release:        13.04
Codename:        raring
Exception information:

unsupported locale setting
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, in crash_guard
    callback()
  File "/usr/lib/command-not-found", line 69, in main
    enable_i18n()
  File "/usr/lib/command-not-found", line 40, in enable_i18n
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python3.3/locale.py", line 541, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
root@ubuntu:/4412/iTop4412_uboot_scp#
回复 点赞

使用道具 举报

48

主题

598

帖子

1923

积分

版主

Rank: 7Rank: 7Rank: 7

积分
1923
发表于 2014-8-5 14:07:05
有视频教你怎么搭建编译环境~在群共享里面有地址~

你修改环境变量的时候,要使用#vi 命令前。
确定你那个时候在root权限下,
还建议使用一下#cd命令
再使用#vi命令

在问下你使用的Ubuntu系统是从我们提供的百度网盘下载的么
回复 点赞

使用道具 举报

4

主题

12

帖子

40

积分

新手上路

Rank: 1

积分
40
 楼主| 发表于 2014-8-5 14:09:57
Ubuntu是以前装的 不是你们提供的
回复 点赞

使用道具 举报

4

主题

12

帖子

40

积分

新手上路

Rank: 1

积分
40
 楼主| 发表于 2014-8-5 14:13:50
有配制好的系统更好,址地发我
回复 点赞

使用道具 举报

48

主题

598

帖子

1923

积分

版主

Rank: 7Rank: 7Rank: 7

积分
1923
发表于 2014-8-5 14:15:51
加群了么~在群共享一个文本里面有地址~
还有教你自己搭建的编译系统的文件~
你这个Ubuntu版本和我们的不一样
回复 点赞

使用道具 举报

4

主题

12

帖子

40

积分

新手上路

Rank: 1

积分
40
 楼主| 发表于 2014-8-5 14:18:37
加盟了,我自己找一下
回复 点赞

使用道具 举报

1

主题

357

帖子

1111

积分

QQ游客

积分
1111
发表于 2014-8-5 18:01:39 来自手机
交叉编译环境搭建了那吗
回复 点赞

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

登录或注册

官方客服

QQ:2551456065

官方QQ群

195631883

扫一扫关注迅为公众号

群号652692981

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