zoukankan      html  css  js  c++  java
  • gentoo 没有规则可以创建目标“menuconfig”

    问题根源: 升级gentoo的过程中,内核被升级并已经启用了新内核之后,运行 make menuconfig

    出现 没有规则可以创建目标 "menuconfig"的问题。

     

    执行 emerge --deep --update --newuse @wrold 更新软件之后,新生的新内核被安装之后,旧内核被保留的同时,没有将旧内核与/usr/src/linux解链

    dota2_black@dota2_black /usr/src $ ls -l
    总用量 12
    lrwxrwxrwx  1 root root   18 7月  15 14:38 linux -> linux-4.4.6-gentoo
    drwxr-xr-x 22 root root 4096 7月  26 09:38 linux-4.4.6-gentoo
    drwxr-xr-x 25 root root 4096 7月  25 14:10 linux-4.6.4-gentoo
    drwxr-xr-x  6 root root 4096 7月  16 09:55 nvidia-361.28

    解决办法:

      执行 unlink linux 解除/usr/src/linux 和 linux-4.4.6-gentoo的关系

    cd /usr/src
    unlink linux
    ln -s linux-4.6.4-gentoo/ linux
    dota2_black@dota2_black /usr/src $ ls -l
    总用量 12
    lrwxrwxrwx  1 root root   19 7月  26 10:34 linux -> linux-4.6.4-gentoo/
    drwxr-xr-x 22 root root 4096 7月  26 09:38 linux-4.4.6-gentoo
    drwxr-xr-x 25 root root 4096 7月  25 14:10 linux-4.6.4-gentoo

    #复制配置文件
    cp linux-4.4.6-gentoo/.config linux -f

    参考链接: make: *** No rule to make target `menuconfig’. [solved]

  • 相关阅读:
    多维梯度下降
    梯度下降
    三种评价函数
    Gluon sgd
    Gluon.vision的几类数据集
    Gluon Data API
    Gluon 实现 dropout 丢弃法
    AlexNet 分类 FashionMNIST
    LeNet 分类 FashionMNIST
    LeNet
  • 原文地址:https://www.cnblogs.com/jackcin/p/5706551.html
Copyright © 2011-2022 走看看