主题 : 编译内核 错误讯息 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 7351
精华: 1
发帖: 58
金钱: 455 两
威望: 324 点
综合积分: 136 分
注册时间: 2009-07-11
最后登录: 2014-10-17
楼主  发表于: 2009-07-16 03:20

 编译内核 错误讯息

#sudo make zImage

复制代码
  1. make: arm-linux-gcc: Command not found
  2.   CHK     include/linux/version.h
  3. make[1]: `include/asm-arm/mach-types.h' is up to date.
  4.   CHK     include/linux/utsrelease.h
  5.   SYMLINK include/asm -> include/asm-arm
  6.   CC      kernel/bounds.s
  7. /bin/sh: arm-linux-gcc: command not found
  8. make[1]: *** [kernel/bounds.s] Error 127
  9. make: *** [prepare0] Error 2



請問這是什麼問題?

謝謝
[ 此帖被shihyu在2009-07-16 03:43重新编辑 ]
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-07-16 05:51
要么没有arm-linux-gcc,要么它不在PATH环境变量里
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 7351
精华: 1
发帖: 58
金钱: 455 两
威望: 324 点
综合积分: 136 分
注册时间: 2009-07-11
最后登录: 2014-10-17
2楼  发表于: 2009-07-16 14:26
問題解決是 PATH  問題
[ 此帖被shihyu在2009-07-16 17:00重新编辑 ]