Comments (13)
先dl文件夹里看下是否有拉取upx-4.0.2-src.tar.xz,如果没有就是网络问题
另外如果文件在。我不知道你是用什么源码编译,是否有另外的upx冲突
比如Lienol大的 rm -rf tools/upx && cp -Rf feeds/smpackage/upx tools/upx
默认在tools路径下,有些在feeds/packages/utils目录下
from small-package.
from small-package.
from small-package.
我改用了Lienol 的源码,
1、按照你的方法 rm -rf tools/upx && cp -Rp package/small-package/upx tools/upx ,问题依旧 。
2、于是我删除 rm -rf package/small-package/upx ,问题依旧。
3、接着我还原Lienol 默认的版本3.9.5 到tools/upx ,删除 rm -rf package/small-package/upx ,不再报这个错误了
4、但是编译 mosdns失败, 报了一个note: module requires Go 1.19 ,去看mosdns官方github 也是提示5.1.2版本需要go1.19 编译,而 Lienol默认的版本是1.18 , 于是我修改 feeds/packages/lang/golang/golang/Makefile 版本为1.19.7 ,编译成功。
5、但我还搞不明白为何 upx 4.0.2会编译失败
from small-package.
你现在golang 替换成1.19版本了,然后用upx 4.0.2编译失败吗?
from small-package.
我把 upx 4.0.2 复制到 tools/upx 下重新编译也是成功的,是不是要make dirclean 重新来一遍?可能编译成功了就不会编译这个依赖了
from small-package.
嗯,有时间可以尝试下,因为我用Lienol的云编译也替换了upx,顺带编译了mosdns没报错
from small-package.
另外这个仓库的luci-app-mosdns 支持最新的mosdns V5 版本吗?我找不到源仓库, https://github.com/sbwml/luci-app-mosdns这个好像又不是,版本号对不上,而且目前只支持V4
from small-package.
https://github.com/QiuSimons/openwrt-mos
就是v5版本,他编译内核时调用了upx压缩
https://github.com/kenzok8/small-package/blob/main/mosdns/Makefile
from small-package.
我刚刚测试, 重新拉取源码 , 复制upx 4.0.2 tools/upx ,删除 package/small-package/upx ,是可以编译成功的。这样看的确是冲突问题了,多谢指点!另外请教一个问题,lean和Lienol还有immortalwrt的源码都支持 这个small插件仓库吗?这三个版本有什么区别吗?我看Lienol的源码有22.03的版本,是不是Lienol 更接近官方openwrt 如果为了尝新就用Lienol的?
from small-package.
说不上谁好,Lienol的本身不错,插件 多肯定bug更多,主要是稳定,我都一年多没更新固件了
from small-package.
我用lean的源 替换lede/package/lean/upx 为 4.0.2版本,还是会出现同样的问题,删除4.0.2还原lean默认的版本才能编译成功
from small-package.
@kenzok8 还有个upx-static 这个是否也需要一起删除?
from small-package.
Related Issues (20)
- 仓库的sing-box报告个问题
- luci-app-udp2raw这个插件只有界面,缺少二进制程序,进插件配置会提示udp2raw-tunnel binary file not found.
- 最新的ddns-go下载会出错
- golang编译失败
- TubroACC for OpenWrt Official
- luci-app-ddns-go编译失败 HOT 2
- alist无法编译 HOT 1
- gn-2024-01-24-a2e2717e编译失败 HOT 3
- quickstart 包地址失效
- 无论安装什么插件都显示 already running 安装失败,错误码: 1
- 编译错误 HOT 29
- webd编译出错
- 编译报错,日志如下 HOT 3
- luci-app-aliddns 这个不太好用
- ssr++支持添加wireguard节点但是不能用 HOT 2
- MultiSD_Lite插件,勾选中也没有菜单界面 HOT 1
- 申请添加luci-app-fakemesh(很好用很傻瓜的mesh组网插件) HOT 2
- transmission在lede库编译后不能使用 HOT 2
- syncthing插件导致编译失败 HOT 1
- dockerd编译出错,缺少libnetwork依赖
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 small-package.