先安装必要的软件包
sudo apt-get install libncurses5-dev libssl-dev
sudo apt-get install build-essential openssl
sudo apt-get install zlibc minizip
sudo apt-get install libidn11-dev libidn11
使用现在系统的.config
cp /boot/config-4.4.0-139-generic .config
make
出现
grep: /lib/modules/4.4.0-131-generic/build/include/linux/version.h: No such file or directory
grep: /lib/modules/4.4.0-131-generic/build/include/linux/version.h: No such file or directory
grep: /lib/modules/4.4.0-131-generic/build/include/linux/version.h: No such file or directory
删除旧的header,使用新的
sudo unlink /lib/modules/4.4.0-131-generic/build
sudo apt-get remove linux-headers-4.4.0-131-generic
安装bc
apt-get install bc
然后make
sudo make modules_install
sudo make install
阅读(4431) | 评论(0) | 转发(0) |