Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4158442
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

分类: LINUX

2018-12-01 20:33:35

先安装必要的软件包
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
阅读(4374) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~