天嵌 ARM开发社区

 找回密码
 注册
查看: 1401|回复: 5

镜像编译的时候出现这样的问题?各位高手,请问怎么解决

[复制链接]
yuxiuyu 发表于 2010-2-1 11:13:00 | 显示全部楼层 |阅读模式
[root@localhost linux-2.6.25.8]# make zImage
make: arm-linux-gcc: Command not found
鐱鐱  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CC      arch/arm/kernel/asm-offsets.s
/bin/sh: line 1: arm-linux-gcc: command not found
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127
make: *** [prepare0] Error 2
 楼主| yuxiuyu 发表于 2010-2-1 11:29:26 | 显示全部楼层
[root@localhost linux-2.6.25.8]# make zImage
make: arm-linux-gcc: Command not found
鐱鐱  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CC      arch/arm/kernel/asm-offsets.s
/bin/sh: line 1: arm-linux-gcc: command not found
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127
make: *** [prepare0] Error 2
tyblly 发表于 2010-2-1 11:57:05 | 显示全部楼层
交叉编译器 arm-linux-gcc 没有安装
 楼主| yuxiuyu 发表于 2010-2-1 13:28:49 | 显示全部楼层
修改了/etc/profile,然后source /etc/profile,但是之后输入命令arm-linux-gcc -v却输出-bash:arm-linux-gcc :command not found,这是什么原因啊
tyblly 发表于 2010-2-1 14:48:13 | 显示全部楼层
交叉编译器 arm-linux-gcc 没有安装
 楼主| yuxiuyu 发表于 2010-2-1 21:16:27 | 显示全部楼层
谢谢,明白了,原来是路径搞错了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-6 18:33 , Processed in 1.031184 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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