• 解决Openwrt版本内核不兼容


     Configuring luci-i18n-firewall-zh-cn.
    Collected errors:
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-nfs:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) *  kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-fs-nfs.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-nfs-v3:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-fs-nfs-v3.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-leds-gpio:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-leds-gpio.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ledtrig-heartbeat:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-ledtrig-heartbeat.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ledtrig-timer:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-ledtrig-timer.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-lib-crc-ccitt:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-lib-crc-ccitt.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-reject:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nf-reject.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-reject6:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nf-reject6.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-ipt:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nf-ipt.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-ipt6:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nf-ipt6.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-core:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-ipt-core.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-conntrack:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nf-conntrack.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-conntrack6:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nf-conntrack6.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nf-nat:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nf-nat.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-conntrack:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-ipt-conntrack.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-ipopt:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-ipt-ipopt.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-nat:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-ipt-nat.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ip6tables:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-ip6tables.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nls-base:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-nls-base.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-softdog:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-softdog.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-core:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-usb-core.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ohci:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-usb-ohci.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ehci:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-usb-ehci.
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb2:
     *      kernel (= 4.9.91-1-d882c8d0bcc953d0c9f6cc520732d071) * 
     * opkg_install_cmd: Cannot install package kmod-usb2.
    make[2]: *** [package/install] Error 255
    make[2]: Leaving directory `/opt/svnworking/A1806_Openwrt-lede.bak/source/master'
    make[1]: *** [/opt/svnworking/A1806_Openwrt-lede.bak/source/master/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
    make[1]: Leaving directory `/opt/svnworking/A1806_Openwrt-lede.bak/source/master'
    Build failed - please re-run with -j1 to see the real error message
    make: *** [world] 错误 1

    排查问题:根据http://www.mm126.cc/305.html里的内容,  确定是md5不一致的问题,而md5的生成是通过kernel-defualts.mk进行生成md5,  所以问题是不同设备树编译相同内核时,由于内核配置不一样,导致.config.set不一致引起md5的问题,引起上面问题。 要保持内核配置内容基本一致, 生成的.config.set 就会保持一致,编译的时候就不会产生内核版本不致问题

    根据链接  http://www.mm126.cc/305.html  的解释, 通过读取.config.set 再通过./include/kernel-defaults.mk里换算生成的.vermagic , 通过.vermagic生成的control文件的version与上述编译的内核版本不一样引起的问题

     最终解决方法: 

      1、要么进行make clean 重新编译

      2、按照  http://www.mm126.cc/305.html 把编译的内核版本的md5写入到. vermagic文件

  • 相关阅读:
    visual studio web开发调试禁用firefox缓存
    JSON C# Class Generator 由json字符串生成C#实体类的工具
    利用HttpHandler和Jquery进行数据库增改删查操作
    机器学习算法相关的开源架构介绍
    jquery validation plugin 中取消对指定按钮的有效性验证!
    Win7下附加sql2005数据库失败 错误代码5120的解决方法
    短地址服务goo.gl, bit.ly,x.co之间性能比较
    win7+iis7.5+asp.net下 CS0016: 未能写入输出文件“c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files 解决方案
    如何解决 The name ControlID does not exist in the current context 错误!
    mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource 错误的解决办法
  • 原文地址:https://www.cnblogs.com/hzijone/p/12018484.html
Copyright © 2020-2023  润新知