Kernel 配置问题集-1

时间:2025-03-31 16:58:25

s3c2410_defconfig

***
*** Can't find default configuration "arch/i386/configs/s3c2410_defconfig"!
***
make[1]: *** [s3c2410_defconfig] Error 1
make: *** [s3c2410_defconfig] Error 2

解决方法:
修改顶层Makefile文件

ARCH		?= $(SUBARCH)
CROSS_COMPILE	?=
改成:

ARCH		?= arm
CROSS_COMPILE	?= arm-linux-
(注意:后面不要加空格,否则试一下就知道了,哈哈)

menuconfig

Unable to find the ncurses libraries
*** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
解决方法

sudo apt-get install ncurses-dev


里面的Snabshot 虽然用起来很方便,会加班系统启动速度,但是得慎用。其实功能和windows 里面的系统备份一样,每次执行都会恢复到上一次备份时的系统状态。