主要是编译2.6.29内核,按照友善之臂提供的内核源码包,make menuconfig选 Load an Alternate Configuration File
来load config_mini2440_n35,结果总是
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel .config file)
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] 错误 1
make[1]: *** [silentoldconfig] 错误 2
CHK include/linux/version.h
make[1]: “include/asm-arm/mach-types.h”是最新的。
make: *** 没有规则可以创建“include/config/kernel.release”需要的目标“include/config/auto.conf”。 停止。
这个也是编译内核常见的问题,因为没有在源码根目录下生成 .config 文件,通常使用
make oldconfig 或make menuconfig 配置内核就可以生成该文件,不知怎么这次就不行。
一生气直接把配置文件load config_mini2440_n35 的内容粘到自己建立的.config 文件里,
终于好使了。
编译Linux内核的时候,出现如下错误:
make ***No rule to make target 'uimage' .stop
错误原因:是执行make uimage 的这条命令错误了,"uimage"这个单词的i必须大写I
正确命令是:make uImage 或者是 make zImage