QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1580|回复: 5

求救,为什么我运行make menuconfig时,提示错.

[复制链接]
发表于 2003-4-29 11:13:09 | 显示全部楼层 |阅读模式
我在配置内核时,用make menuconfig命令后,提示arm-linux-gcc找不到,我是想装一个arm的交叉开发环境,但只是刚进入配置内核阶段,还没到创建arm开发环境,为什么会出现这个error,请哪个大虾教教我,谢谢
发表于 2003-4-29 11:15:55 | 显示全部楼层
most of the time. u should install a cross compile toolchain before u do anything.
check u Makefile to see if cross-compile variable is set already.
回复

使用道具 举报

 楼主| 发表于 2003-4-29 12:42:19 | 显示全部楼层
cheungming,
   thank you,
   when source kernel is 2.5.68,it prompts error,can't run "make menconfig".and when source kernel is 2.5.59,now I can make menuconfig,but after configing(when entering into "System and processor type",I select pxa250.) I run "make dep",and then,it still prompted:arm-linux-gcc,command not  found.
   I have no idea why that,Is it still kernel source ver. problem?
   and may I have a question,how can I check cross-compile variable is set already,there are so many Makefile.
regards.
回复

使用道具 举报

发表于 2003-4-29 21:19:49 | 显示全部楼层
anyway, i recommend u to install the cross compile tool chain before u do anything. since u need it anyway.
2.5.x kernel needs not to do make dep;
check the Makefile in u kernel source code root dir. for example u uncompress u code to /linux-2.5.68. then check the makefile right under this dir. all other makefile are controled and embedded by it. the crosscompile variable is defined there.
btw, where u get this kernel for pxa250. it seems that 2.4.x kernel is more stable than 2.5 since many arm patches are still for 2.4.x.
回复

使用道具 举报

 楼主| 发表于 2003-5-5 19:25:59 | 显示全部楼层
thanks,and I have solved this problem accroding to your recomments.
回复

使用道具 举报

发表于 2003-5-5 22:02:35 | 显示全部楼层
welcome
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 02:30 , Processed in 0.152703 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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