Comments (8)
原理是可以的,但是要很多设置,一时也不能细述,不能保证绝对能过,一般的办法是用Lean源码下package里的lean文件复制进openwrt/package下、然后加上我的插件包,依赖包,这样编译就行了,但是你也可以挑战下,自己去试试
from openwrt-packages.
试了下,都没成功啊,主要我的erx刷两位大神源码编译的固件,没有原版系统快,看来还是出手再换回软路由吧,谢谢您!
from openwrt-packages.
原版的可以用啊,我的新路由3就用的这个和small,编译没问题。有点小报错需要折腾一下
from openwrt-packages.
原版的可以用啊,我的新路由3就用的这个和small,编译没问题。有点小报错需要折腾一下
可以具体说一下怎么解决依赖问题的吗?谢谢
from openwrt-packages.
原版的可以用啊,我的新路由3就用的这个和small,编译没问题。有点小报错需要折腾一下
可以具体说一下怎么解决依赖问题的吗?谢谢
例如这个仓库就是依赖:https://github.com/kenzok8/small
这个仓库是应用:https://github.com/kenzok8/openwrt-packages
在官方包目录下feeds.conf.default这个文件加入
src-git kenzo https://github.com/kenzok8/openwrt-packages
src-git small https://github.com/kenzok8/small
这两条就满足了应用和依赖
执行 ./scripts/feeds update -a 就能把这两个仓库加载进去,
如果是其他的包,执行完 ./scripts/feeds install -a 会提示缺哪些依赖,然后找齐放在一个文件,上传到自己仓库,在feeds.conf.default这个文件夹再加一句 src-git 123 https://你的仓库地址,再执行 ./scripts/feeds update -a,你找的依赖就加进去了。。 再 ./scripts/feeds install -a 一遍 就不会提示缺依赖了
不过官方包加额外应用得一个个添加测试,加太多了,编译出错不知道那个出问题。。
from openwrt-packages.
原版的可以用啊,我的新路由3就用的这个和small,编译没问题。有点小报错需要折腾一下
可以具体说一下怎么解决依赖问题的吗?谢谢
例如这个仓库就是依赖:https://github.com/kenzok8/small
这个仓库是应用:https://github.com/kenzok8/openwrt-packages在官方包目录下feeds.conf.default这个文件加入
src-git kenzo https://github.com/kenzok8/openwrt-packages
src-git small https://github.com/kenzok8/small
这两条就满足了应用和依赖
执行 ./scripts/feeds update -a 就能把这两个仓库加载进去,
如果是其他的包,执行完 ./scripts/feeds install -a 会提示缺哪些依赖,然后找齐放在一个文件,上传到自己仓库,在feeds.conf.default这个文件夹再加一句 src-git 123 https://你的仓库地址,再执行 ./scripts/feeds update -a,你找的依赖就加进去了。。 再 ./scripts/feeds install -a 一遍 就不会提示缺依赖了不过官方包加额外应用得一个个添加测试,加太多了,编译出错不知道那个出问题。。
make[3]: *** [Makefile:78: /home/toonaive/openwrt/build_dir/target-mipsel_24kc_musl/v2ray-plugin-1.5.0/.built
] Error 127
make[2]: *** [package/Makefile:113: package/feeds/small/v2ray-plugin/compile] Error 2
make[3]: *** [Makefile:313: /home/toonaive/openwrt/build_dir/target-mipsel_24kc_musl/v2ray-core-4.30.0/.built
] Error 127
make[2]: *** [package/Makefile:113: package/feeds/small/v2ray/compile] Error 2
make[1]: *** [package/Makefile:107: /home/toonaive/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package
_compile] Error 2
这个报错见过吗已解决,tools文件夹缺少upx和ucl,从lean库复制一份,然后照以下修改tools/Makefile即可,注意位置要对
tools-y += ucl upx
tools-y += autoconf autoconf-archive automake bc bison cmake dosfstools
tools-y += e2fsprogs fakeroot findutils firmware-utils flex gengetopt
tools-y += libressl libtool lzma m4 make-ext4fs missing-macros mkimage
tools-y += mklibs mm-macros mtd-utils mtools padjffs2 patch-image
tools-y += patchelf pkgconf quilt squashfskit4 sstrip zip zlib zstd
tools-$(BUILD_B43_TOOLS) += b43-tools
tools-$(BUILD_ISL) += isl
tools-$(BUILD_TOOLCHAIN) += expat gmp libelf mpc mpfr
tools-$(CONFIG_TARGET_apm821xx)$(CONFIG_TARGET_gemini) += genext2fs
tools-$(CONFIG_TARGET_ath79) += lzma-old squashfs
tools-$(CONFIG_TARGET_mxs) += elftosb sdimage
tools-$(CONFIG_TARGET_tegra) += cbootimage cbootimage-configs
tools-$(CONFIG_TARGET_x86) += qemu
tools-$(CONFIG_USES_MINOR) += kernel2minor
tools-$(CONFIG_USE_SPARSE) += sparse
# builddir dependencies
$(curdir)/upx/compile := $(curdir)/ucl/compile
$(curdir)/autoconf/compile := $(curdir)/m4/compile
$(curdir)/automake/compile := $(curdir)/m4/compile $(curdir)/autoconf/compile $(curdir)/pkgconf/compile $(curdir)/xz/compile
$(curdir)/b43-tools/compile := $(curdir)/bison/compile
from openwrt-packages.
原版的可以用啊,我的新路由3就用的这个和small,编译没问题。有点小报错需要折腾一下
可以具体说一下怎么解决依赖问题的吗?谢谢
例如这个仓库就是依赖:https://github.com/kenzok8/small
这个仓库是应用:https://github.com/kenzok8/openwrt-packages
在官方包目录下feeds.conf.default这个文件加入
src-git kenzo https://github.com/kenzok8/openwrt-packages
src-git small https://github.com/kenzok8/small
这两条就满足了应用和依赖
执行 ./scripts/feeds update -a 就能把这两个仓库加载进去,
如果是其他的包,执行完 ./scripts/feeds install -a 会提示缺哪些依赖,然后找齐放在一个文件,上传到自己仓库,在feeds.conf.default这个文件夹再加一句 src-git 123 https://你的仓库地址,再执行 ./scripts/feeds update -a,你找的依赖就加进去了。。 再 ./scripts/feeds install -a 一遍 就不会提示缺依赖了
不过官方包加额外应用得一个个添加测试,加太多了,编译出错不知道那个出问题。。make[3]: *** [Makefile:78: /home/toonaive/openwrt/build_dir/target-mipsel_24kc_musl/v2ray-plugin-1.5.0/.built ] Error 127 make[2]: *** [package/Makefile:113: package/feeds/small/v2ray-plugin/compile] Error 2 make[3]: *** [Makefile:313: /home/toonaive/openwrt/build_dir/target-mipsel_24kc_musl/v2ray-core-4.30.0/.built ] Error 127 make[2]: *** [package/Makefile:113: package/feeds/small/v2ray/compile] Error 2 make[1]: *** [package/Makefile:107: /home/toonaive/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package _compile] Error 2
这个报错见过吗已解决,tools文件夹缺少upx和ucl,从lean库复制一份,然后照以下修改tools/Makefile即可,注意位置要对tools-y += ucl upx tools-y += autoconf autoconf-archive automake bc bison cmake dosfstools tools-y += e2fsprogs fakeroot findutils firmware-utils flex gengetopt tools-y += libressl libtool lzma m4 make-ext4fs missing-macros mkimage tools-y += mklibs mm-macros mtd-utils mtools padjffs2 patch-image tools-y += patchelf pkgconf quilt squashfskit4 sstrip zip zlib zstd tools-$(BUILD_B43_TOOLS) += b43-tools tools-$(BUILD_ISL) += isl tools-$(BUILD_TOOLCHAIN) += expat gmp libelf mpc mpfr tools-$(CONFIG_TARGET_apm821xx)$(CONFIG_TARGET_gemini) += genext2fs tools-$(CONFIG_TARGET_ath79) += lzma-old squashfs tools-$(CONFIG_TARGET_mxs) += elftosb sdimage tools-$(CONFIG_TARGET_tegra) += cbootimage cbootimage-configs tools-$(CONFIG_TARGET_x86) += qemu tools-$(CONFIG_USES_MINOR) += kernel2minor tools-$(CONFIG_USE_SPARSE) += sparse # builddir dependencies $(curdir)/upx/compile := $(curdir)/ucl/compile $(curdir)/autoconf/compile := $(curdir)/m4/compile $(curdir)/automake/compile := $(curdir)/m4/compile $(curdir)/autoconf/compile $(curdir)/pkgconf/compile $(curdir)/xz/compile $(curdir)/b43-tools/compile := $(curdir)/bison/compile
lean库在哪?
from openwrt-packages.
出了问题,查不到解决办法。
make[3]: *** [Makefile:75: //openwrt/build_dir/target-x86_64_musl/v2ray-plugin-4.37.0/.built] Error 1
make[3]: Leaving directory '//openwrt/feeds/small/v2ray-plugin'
time: package/feeds/small/v2ray-plugin/compile#1.55#1.99#177.90
make[2]: *** [package/Makefile:113: package/feeds/small/v2ray-plugin/compile] Error 2
make[2]: Leaving directory '//openwrt'
make[1]: *** [package/Makefile:107: //openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '//openwrt'
make: *** [//openwrt/include/toplevel.mk:227: world] Error 2
from openwrt-packages.
Related Issues (20)
- 这个问题怎么解决
- 请问这是怎么回事.ping全都是0
- luci-app-filebrowser编译没luci界面 HOT 7
- 请问luci-app-vssr插件已经删掉了吗?找不到 HOT 1
- op.dllkids.xyz 的证书已于 2024/5/31 过期 HOT 3
- ERROR: package/feeds/small/sing-box failed to build.
- [Package Request] openwrt-frp HOT 2
- luci-app-smartdns更新 HOT 2
- 这个packages为什么没有softethervpn HOT 1
- 云编译 UU游戏加速出错
- 大佬,adguardhome更新后又编译出错了 HOT 3
- luci-app-syncdial 安装报错
- adguardhome error HOT 2
- OpenWrt安装编译阿里云webdav插件无法进入根目录展示资源盘内容(自从资源库和备份盘合并后)
- 请求增加xupnpd插件 HOT 1
- 是op.dllkids.xyz的流量又满了吗? HOT 6
- 2024.7.18 chinadns-ng,源代码不存在 HOT 2
- mosdns编译出错 HOT 3
- luci-app-argon异常,进后台报错,使用的是ImmortalWrt 23.05.3 HOT 8
- homeproxy插件和luci-app-homeproxy插件是重复的。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt-packages.