Giter VIP home page Giter VIP logo

Comments (4)

KiriKira avatar KiriKira commented on August 16, 2024

安装了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.

nanqinlang avatar nanqinlang commented on August 16, 2024

内核的问题,必须使用脚本第一个选项 安装内核

from general.

KiriKira avatar KiriKira commented on August 16, 2024

咦,自己换的内核不能直接用2的嘛。好的解决了!谢谢!

from general.

nanqinlang avatar nanqinlang commented on August 16, 2024

对,因为不仅是内核版本号(3.16.0-4 其实是够的),是需要同时另外安装两个内核

from general.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.