zoukankan      html  css  js  c++  java
  • Linux下安装网卡执行make install失败

    先安装的SuSE12系统,没有网卡驱动,试着自己安装

    在网上下载了tar安装包,加压后执行make编译,出现如下错误:

    [/usr/src/e1000e-1.9.5/src]# make
    Makefile:71: *** Kernel header files not in any of the expected locations.
    Makefile:72: *** Install the appropriate kernel development package, e.g.
    Makefile:73: *** kernel-devel, for building kernel modules and try again。 停止。
    [/usr/src/e1000e-1.9.5/src]# make install
    Makefile:71: *** Kernel header files not in any of the expected locations.
    Makefile:72: *** Install the appropriate kernel development package, e.g.
    Makefile:73: *** kernel-devel, for building kernel modules and try again。 停止。

    从错误信息来看是没装kernel header files,在网上搜到了如下解决方法:

    将之前的系统安装盘放入光驱,终端执行此命令zypper in kernel-source,安装ok~

    
    
    
  • 相关阅读:
    buuctf—web—高明的黑客
    buuctf—web—Easy Calc
    buuctf刷题之旅—web—EasySQL
    buuctf刷题之旅—web—随便注
    buuctf刷题之旅—web—WarmUp
    Dao
    Spring AOP配置
    分布式
    tomcat配置
    JVM知识
  • 原文地址:https://www.cnblogs.com/janik/p/5390489.html
Copyright © 2011-2022 走看看