````````````````````````````````````````````````````````````````````````````````````
````````````````````````````````````````````````````````````````````````````````````
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) |