rong 发表于 2003-4-29 11:13:09

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

我在配置内核时,用make menuconfig命令后,提示arm-linux-gcc找不到,我是想装一个arm的交叉开发环境,但只是刚进入配置内核阶段,还没到创建arm开发环境,为什么会出现这个error,请哪个大虾教教我,谢谢

Dragonfly 发表于 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.

rong 发表于 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 notfound.
   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.

Dragonfly 发表于 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.

rong 发表于 2003-5-5 19:25:59

thanks,and I have solved this problem accroding to your recomments.

Dragonfly 发表于 2003-5-5 22:02:35

welcome
页: [1]
查看完整版本: 求救,为什么我运行make menuconfig时,提示错.