找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1198|回复: 8

关于openwrt编译问题求大佬帮看看

[复制链接]
发表于 2020-2-17 09:14 | 显示全部楼层 |阅读模式
依赖已装全
网络环境OK的  不太可能是网络问题
Ubuntu 16.04 Ubuntu14.04 都报了这个问题 网上没找到解决办法 还是得请求恩山的大佬们帮我看一看
首次Make memuconfig 时报错
max@max-virtual-machine:~/lede$ make memuconfig
time: target/linux/prereq#0.09#0.04#0.20
make[1] memuconfig
make -r memuconfig: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/home/max/lede/include/toplevel.mk:216: recipe for target 'memuconfig' failed
make: *** [memuconfig] Error 1
max@max-virtual-machine:~/lede$ make memuconfig V=sc
make[1]: Entering directory '/home/max/lede'
make[1]: *** No rule to make target 'memuconfig'.  Stop.
make[1]: Leaving directory '/home/max/lede'
/home/max/lede/include/toplevel.mk:216: recipe for target 'memuconfig' failed
make: *** [memuconfig] Error 2
max@max-virtual-machine:~/lede$

我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-2-17 14:34 | 显示全部楼层
首次编译用单线程
make -j1 V=s

点评

make memuconfig 出的问题 还没到编译  详情 回复 发表于 2020-2-17 17:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-17 17:17 | 显示全部楼层
浅画人 发表于 2020-2-17 14:34
首次编译用单线程
make -j1 V=s

make memuconfig 出的问题 还没到编译
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-17 17:31 | 显示全部楼层
很明显就是你搭建环境的问题,你以为装了就算全了,但是你到底有没有看安装过程有无提示信息?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-17 23:32 | 显示全部楼层
wulishui 发表于 2020-2-17 17:31
很明显就是你搭建环境的问题,你以为装了就算全了,但是你到底有没有看安装过程有无提示信息?

git clone ,apt-get update ,apt-get upgrade,拉取feeds均无报错啊,网络环境也是全局外网的

点评

这就完了? 这堆东西呢? sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyj  详情 回复 发表于 2020-2-18 00:10
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-17 23:49 来自手机 | 显示全部楼层
第一次编译就是跟了一篇自己都搞不清楚的浪费了三天三夜还失败了。
除非内核级补丁,精简系统,一般是不需要从源码编译的。新手掌握好sdk+imagebuilder就可以了。
当然非要从源码编译那就编出个兼容在线的版本。
无非就是解包
./scripts/feeds update
wget xxx.config -o .config #这个config在openwrt.org下载image builder和sdk的地方。这也是非常关键的一步,让编译出来的系统完全兼容在线版本的软件包
make menuconfig #就是缺了.config出错
make
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-18 00:10 | 显示全部楼层
zelas2xerath 发表于 2020-2-17 23:32
git clone ,apt-get update ,apt-get upgrade,拉取feeds均无报错啊,网络环境也是全局外网的

这就完了?
这堆东西呢?
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils libelf-dev

点评

装全了 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.  详情 回复 发表于 2020-2-18 11:45
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-18 11:45 | 显示全部楼层
wulishui 发表于 2020-2-18 00:10
这就完了?
这堆东西呢?
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettex ...

装全了
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-19 00:06 | 显示全部楼层
打错字了,make menuconfig
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 13:06

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表