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

相關文章
相關標籤/搜索