• Linux kernel进行编译时提示No rule to make target `menconfig'


    进入linux-2.6.37目录下。运行make menconfig,提示:

     

    make[1]: *** No rule to make target `menconfig'.  Stop.
    截图如下:

    Linux kernel进行编译时提示No rule to make target `menconfig'.

    对于这个错误有的说需要在usr/src目录下进行。但是cp文件到usr/src目录下,仍旧无法运行make menconfig。

    怀疑内核文件损坏,重新下了最新的一份。但是报错情况依旧:(

    好在make config。为了体验一下,直接全部回车默认。。。。。

    生成config了。但是make的时候有提示:

    make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.

    Linux kernel进行编译时提示No rule to make target `menconfig'.

    Linux kernel进行编译时提示No rule to make target `menconfig'.

    目前还未找到解决办法。先记下了 :(

    //刚刚有看了看发现make时候报错是因为找不到.config了。记得明明生成的了。生成后我还用vim .config看了看。不知道去哪里了。再次用make config  (make menconfig 依然无法使用。)生成.config文件。然后正在make中

    //怀着不死心的态度又到网上看了看。还是有人说要到/usr/src目录下面。于是临睡前再尝试一下

     

    在usr/src目录下以root身份建立/linux-2.6.38。cp linux-2.6.38.4.tar.bz2 到/usr/src/linux-2.6.38目录下。 tar -xjvf linux-2.6.25.tar.bz2 解压内核文件。进入/usr/src/linux-2.6.38/linux-2.6.38.4 
    运行make menconfig 。还是报错了,不过这个报错是个很无语的报错。错误信息截图如下:

     

     

    Linux kernel进行编译时提示No rule to make target `menconfig'.

    Your display is too small to run Menuconfig!
    It must be at least 19 lines by 80 columns.

    笔记本窗口那么大小,为了同时显示多个窗口,习惯把窗口弄的比较小。没想到这个也报错了-_-!!!

    更改putty的窗口大小。再次make menconfig。呵呵,期待已久的画面终于出现了。

    Linux kernel进行编译时提示No rule to make target `menconfig'.

  • 相关阅读:
    python 协程
    python 打印乘法表
    python 线程池
    python 队列
    开发react 应用最好用的脚手架 create-react-app
    React面试题
    修改了背景透明度
    低门槛彻底理解JavaScript中的深拷贝和浅拷贝
    Web Worker 使用教程
    Vue2 实现时空穿梭框功能模块
  • 原文地址:https://www.cnblogs.com/flypiggy/p/3108313.html
Copyright © 2020-2023  润新知