Comments (4)
安装了gcc-4.9之后重试了一次
make -C /lib/modules/`uname -r`/build M=`pwd` modules CC=/usr/bin/gcc-4.9
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
CC [M] /home/tcp_nanqinlang/make/tcp_nanqinlang.o
/home/tcp_nanqinlang/make/tcp_nanqinlang.c:45:30: fatal error: linux/win_minmax.h: No such file or directory
#include <linux/win_minmax.h>
^
compilation terminated.
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:268: recipe for target '/home/tcp_nanqinlang/make/tcp_nanqinlang.o' failed
make[4]: *** [/home/tcp_nanqinlang/make/tcp_nanqinlang.o] Error 1
/usr/src/linux-headers-3.16.0-4-common/Makefile:1354: recipe for target '_module_/home/tcp_nanqinlang/make' failed
make[3]: *** [_module_/home/tcp_nanqinlang/make] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
[Error] load mod failed, please check!
from general.
内核的问题,必须使用脚本第一个选项 安装内核
from general.
咦,自己换的内核不能直接用2的嘛。好的解决了!谢谢!
from general.
对,因为不仅是内核版本号(3.16.0-4 其实是够的),是需要同时另外安装两个内核
的
from general.
Related Issues (20)
- haproxy 未转发真实IP HOT 3
- centos 7 ovz开机不会自启动啊 HOT 2
- Fix the Meltdown on platform Debian HOT 3
- 魔改 BBR for Ubuntu-kernel-daily-20180105 HOT 8
- 魔改 BBR for Ubuntu-kernel-v4.15-rc8 HOT 1
- Closed HOT 1
- 安装LKL后frp无法正常运行 HOT 4
- 配置超过了40个端口就会报错 HOT 2
- 博客炸了~~~~ HOT 1
- 加一個判定 vmware 可以安裝
- check_ovz 出错 HOT 1
- OpenVZ安装完后ping是双返回吗?每次都多一个UDP! 返回 HOT 2
- 好像有个BUG ,前几天安装的好好的现在删掉重装 不行啊 HOT 1
- 网站挂了 HOT 2
- 大佬的脚本现在不支持VMWARE了吗?之前我用了还是可以的。 HOT 1
- 请问--(魔改 BBR 一键脚本,包含 Debian && CentOS 两个版本)支持ubuntu吗 HOT 1
- 【转载】LKL UML native 的比較: 有用嗎? (數據更新.... HOT 2
- 建议添加 License HOT 1
- get_url() 中 bit=`uname -m` 条件判断不全面 HOT 2
- 请问使用这个是几倍发包?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from general.