Chinaunix首页 | 论坛 | 博客
  • 博客访问: 121160
  • 博文数量: 22
  • 博客积分: 145
  • 博客等级: 入伍新兵
  • 技术积分: 127
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-06 15:19
文章分类

全部博文(22)

文章存档

2015年(5)

2014年(2)

2013年(7)

2012年(9)

我的朋友

分类: LINUX

2012-12-07 19:22:40



````````````````````````````````````````````````````````````````````````````````````



````````````````````````````````````````````````````````````````````````````````````
misc
initrd: Bootloader initialized RAM disk

````````````````````````````````````````````````````````````````````````````````````
apt-cache search linux-source 
apt-get install linux-source-2.6.20

````````````````````````````````````````````````````````````````````````````````````
install grub 
sudo apt-get install grub
sudo grub-install sda

````````````````````````````````````````````````````````````````````````````````````
su: Authentication failure
solution: sudo passwd root
undo: sudo passwd root -l
````````````````````````````````````````````````````````````````````````````````````
````````````````````````````````````````````````````````````````````````````````````
kernel version 
uname -r
````````````````````````````````````````````````````````````````````````````````````
1 # make menuconfig
 HOSTCC  scripts/basic/fixdep
 HOSTCC  scripts/basic/docproc
 HOSTCC  scripts/kconfig/conf.o
 HOSTCC  scripts/kconfig/kxgettext.o
*** 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
needs libncurses5-dev
solution:   sudo apt-get install libncurses5-dev
___________________________________________________________________
2 # make xconfig
 CHECK   qt
* Unable to find the QT4 tool qmake. Trying to use QT3
*
* Unable to find any QT installation. Please make sure that
* the QT4 or QT3 development package is correctly installed and
* either qmake can be found or install pkg-config or set
* the QTDIR environment variable to the correct location.
*
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
 HOSTCC  scripts/kconfig/kconfig_load.o
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'.  Stop.
make: *** [xconfig] Error 2
needs qt develop environment
solution:    sudo apt-get install qt4-dev-tools
````````````````````````````````````````````````````````````````````````````````````

阅读(824) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~