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
linux

这个时候会出现ui

*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
es5

你须要安装开发包libncurses5-dev,请执行下面的语句:code

sudo apt-get install libncurses5-dev开发


make
make modules
make modules_install
make install
get

相关文章
相关标签/搜索