Code Monkey home page Code Monkey logo

openwrtcompilescript's Issues

无法下载DL包

      -------------------------------------
      	    【 5.其他选项 】

	  1 只搭建编译环境,不进行编译

	  2 单独Download DL库 

	  3 更新lean软件库 

	  4 下载额外的插件 

	  0. 回到上一级菜单


	PS:请先搭建好梯子再进行编译,不然很慢!
		     By:ITdesk
      --------------------------------------

请输入数字:2

你的openwrt文件夹有以下几个
openwrt

请输入你的文件夹(记得区分大小写):openwrt

ubuntu@ubuntu:~$

WSL2 Ubuntu 18.04 会遇到 feeds 不能更新的情况

image
手动在下载的固件文件夹内执行 ./scripts/feeds update -a 会出现如下情况提示:
image
运行这个 issue 里提到的命令后,就可以正常下载 feeds 了。coolsnowwolf/lede#3652
image
image
原以为是脚本漏装了一些东西,但仔细一看发现这个 issue 给出的命令中的所有包都已经写在了 rely_on() 里。
不太明白到底是什么原因导致单独运行脚本不能够安装这些包的部分或全部。
值得一提的是,单独运行该 issue 给出的命令时,曾有一个如图所示的要求确认提示,我选择了是。不知是否与脚本没有成功安装有关。
image
跟一个还算对 Linux 比较了解朋友交流了很久也没弄明白为什么,特来请教。

另外,wsl 编译时,还遇到这个问题,希望大大能把这条命令加到脚本里去。coolsnowwolf/lede#3295 (comment)

Public配置处理SSR P+可能有 问题..

在进入到make menuconfig后 不管选不选SSR P+的ssr服务端插件,都会默认编译,导致固件文件增大,最后因为固件大小超过了,出不来.bin 而在本地机器上,选同样配置可以出.bin

脚本错误

tmp/.config-package.in:48035:warning: config symbol defined without type
Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
/home/sg1987/Openwrt/lean/lede/include/toplevel.mk:136: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 1

/home/sg1987/Openwrt/Script_File/OpenwrtCompileScript/openwrt.sh: 行 1323: redError: 未绑定的变量

ubuntu18 出现以上错误提示

多线程的代码好像缺内容.2333

你输入的线程是:8
准备开始执行编译

   3秒以后执行代码
   如果不需要执行代码以Ctrl+C 终止即可

openwrt.sh: 行 1182: 8: 未找到命令
本次运行时间: 15s

未绑定的变量

A package/other-plugins/luci-app-passwall/root/usr/share/passwall/test.sh
取出版本 1792。
取出版本 1792。
取出版本 1792。
grep: package/other-plugins/luci-app-passwall/luasrc/controller/fileassistant.lua: 没有那个文件或目录
/home/kennen/Openwrt/Script_File/OpenwrtCompileScript/openwrt.sh: 行 1349: fileassistant_display: 未绑定的变量

编译了至少3次,只有插件,没有固件。。。

第四次报错,才看到了哪里问题。。。

make[5]: *** No rule to make target 'tools/objtool/objtool', needed by '/workspace/OpenwrtCompileScript/Openwrt/Lean/lede/build_dir/target-x86_64_musl/linux-x86_64/sched-cake-2019-03-12-057c7388/sch_cake.o'. Stop.
make[4]: *** [Makefile:1523: module/workspace/OpenwrtCompileScript/Openwrt/Lean/lede/build_dir/target-x86_64_musl/linux-x86_64/sched-cake-2019-03-12-057c7388] Error 2
make[3]: *** [Makefile:46: /workspace/OpenwrtCompileScript/Openwrt/Lean/lede/build_dir/target-x86_64_musl/linux-x86_64/sched-cake-2019-03-12-057c7388/.built] Error 2
make[3]: Leaving directory '/workspace/OpenwrtCompileScript/Openwrt/Lean/lede/package/kernel/kmod-sched-cake'
make[2]: *** [package/Makefile:109: package/kernel/kmod-sched-cake/compile] Error 2
make[1]: *** [package/Makefile:103: /workspace/OpenwrtCompileScript/Openwrt/Lean/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make: *** [/workspace/OpenwrtCompileScript/Openwrt/Lean/lede/include/toplevel.mk:218: world] Error 2

怎么回事?我本地虚拟机编译都没有遇到过这样的问题。。。
Actions也没有这样的问题。。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.