Kernel 配置问题集

来源:互联网 发布:50部网络禁书下载 编辑:程序博客网 时间:2024/05/29 11:34

转载地址http://blog.csdn.net/lyf_1203/article/details/7434256

下载的内容,转载上面的地址,里面写的两个问题,我都有遇到,并用下面的方法都解决了。

1.makes3c2410_defconfig

 

[plain] view plaincopy
  1. ***  
  2. *** Can't find default configuration "arch/i386/configs/s3c2410_defconfig"!  
  3. ***  
  4. make[1]: *** [s3c2410_defconfig] Error  
  5. make: *** [s3c2410_defconfig] Error  

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

 

 

[plain] view plaincopy
  1. ARCH        ?= $(SUBARCH)  
  2. CROSS_COMPILE   ?=  
改成:

 

 

[plain] view plaincopy
  1. ARCH        ?= arm  
  2. CROSS_COMPILE   ?= arm-linux-  
(注意:后面不要加空格,否则试一下就知道了,哈哈)

 

2.make menuconfig

 

[plain] view plaincopy
  1. Unable to find the ncurses libraries  
  2. *** Unable to find the ncurses libraries or the  
  3.  *** required header files.  
  4.  *** 'make menuconfig' requires the ncurses libraries.  
  5.  ***   
  6.  *** Install ncurses (ncurses-devel) and try again.  
  7.  ***   
  8. make[1]: *** [scripts/kconfig/dochecklxdialog] Error  
  9. make: *** [menuconfig] Error  
解决方法

 

 

[plain] view plaincopy
  1. sudo apt-get install ncurses-dev  

 


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