• openwrt编译Build dependency: Please do not compile as root.错误解决


    Checking 'working-make'... ok.
    Checking 'case-sensitive-fs'... ok.
    Checking 'getopt'... ok.
    Checking 'fileutils'... ok.
    Checking 'working-gcc'... ok.
    Checking 'working-g++'... ok.
    Checking 'ncurses'... ok.
    Checking 'zlib'... ok.
    Checking 'gawk'... ok.
    Checking 'unzip'... ok.
    Checking 'bzip2'... ok.
    Checking 'perl'... ok.
    Checking '/usr/bin/python'... ok.
    Checking 'wget'... ok.
    Checking 'git'... ok.
    Checking 'gnutar'... ok.
    Checking 'svn'... ok.
    Checking 'libssl'... ok.
    Checking 'openssl'... ok.
    Checking 'gnu-find'... ok.
    Checking 'getopt-extended'... ok.
    Checking 'file'... ok.
    Checking 'non-root'... failed.
    
    Build dependency: Please do not compile as root.
    
    Prerequisite check failed. Use FORCE=1 to override.
    make: *** [tmp/.prereq-build] Error 1

    关于openwrt编译出现如上的错误解决办法

    问题出在这个文件include/prereq-build.mk

    命令行中输入vi include/prereq-build.mk 

    将这一行注释掉

    保存退出。

    再次运行make menuconfig不会出现该问题。

  • 相关阅读:
    迪杰斯特拉_优先队列 模板
    POJ3268(Dijkstra_邻接矩阵)
    Uva-10815
    Uva-10474
    同余方程
    欧几里得算法与扩展欧几里得算法
    大整数型的加法
    Uva442
    《哲学起步》读后感 读书笔记
    《论大战略》读后感 读书笔记
  • 原文地址:https://www.cnblogs.com/ggjjl1/p/4070327.html
Copyright © 2020-2023  润新知