Ubantu下编译Linux Kernel
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.3.tar.gz
tar -xzf linux-3.9.3.tar.gz
cd linux-3.9.3
make menuconfig
这个时候会出现
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
你需要安装开发包libncurses5-dev,请执行下面的语句:
sudo apt-get install libncurses5-dev
make
make modules
make modules_install
make install