zoukankan      html  css  js  c++  java
  • 内核模块/lib/modules/2.6.2426server/build: No such file or directory. Stop.

    hello_内核模块示例.tar.gz 解压
    make 出现以下报错
    make: *** /lib/modules/2.6.24-26-server/build: No such file or directory.  Stop.

    解法:
    dpkg -i pool/main/l/linux/linux-headers-2.6.24-26_2.6.24-26.64_all.deb 
     

     
    加载,查看,移除ko 
    #insmod hello.ko
    # tail -f /var/log/messages
    Dec 21 12:34:00 ubuntu kernel: [75107.510354] hello: module license 'GPL' taints kernel.
    # lsmod | grep hello
    hello                   2432  0 
    # rmmod hello
    # lsmod | grep hello
     

  • 相关阅读:
    pycharm路径
    git常用命令
    分页
    router
    视图集
    Leanring TypeScript 中文版
    RXJS 系列 04
    RXJS 系列 03
    RXJS 系列 02
    RXJS 系列 01
  • 原文地址:https://www.cnblogs.com/mull/p/4477858.html
Copyright © 2011-2022 走看看