码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-11-03 01:19:36      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   ar   for   sp   文件   div   

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 

将这一行注释掉

bubuko.com,布布扣

保存退出。

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

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

标签:style   blog   http   color   ar   for   sp   文件   div   

原文地址:http://www.cnblogs.com/ggjjl1/p/4070327.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!