找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 944|回复: 10

求助,lede源码加入muntohust编译错误(问题解决)

[复制链接]
本帖最后由 梁小贺同学 于 2022-9-21 22:45 编辑


问题解决,openwrt-mentohust和luci-app-mentohust的init.d脚本有冲突,将openwrt -mentohust/makefile文件58、59行注释掉就行。
参考https://github.com/KyleRicardo/M ... lob/master/Makefile

用的lede大佬最新版的源码,应该是muntohust luci图形化界面的问题。仅编译muntohust并不会错误,但是将muntohust luci图形化界面编译进去就会出现错误,请问我该怎么解决现在的问题呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
来自手机 | 显示全部楼层
https://zhuanlan.zhihu.com/p/262290032?utm_id=0
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
参考楼上这篇文章,完美编入

点评

你好,目前我的想法是直接吧muntohust直接编译进去,上边的文章是先将muntohust编译进去,再将图形化界面安装进去。没有办法解决我的问题  详情 回复 发表于 2022-9-18 21:33
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
nicoexcited 发表于 2022-9-18 21:26
参考楼上这篇文章,完美编入

你好,目前我的想法是直接吧muntohust直接编译进去,上边的文章是先将muntohust编译进去,再将图形化界面安装进去。没有办法解决我的问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

直接用命令不就行了,把命令保存到启动项,本地启动脚本。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

luci-app-muntohust的init.d与muntohust自带的init.d启动项重复。
二选一,要么不要用luci-app-muntohust,要么编译时去掉muntohust的启动项(只编译执行文件)。

点评

请问怎么去掉muntohust启动项,只编译执行文件呢?  详情 回复 发表于 2022-9-19 16:53
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
99010 发表于 2022-9-19 11:57
luci-app-muntohust的init.d与muntohust自带的init.d启动项重复。
二选一,要么不要用luci-app-muntohust ...

请问怎么去掉muntohust启动项,只编译执行文件呢?

点评

muntohust的makefile里面修改  详情 回复 发表于 2022-9-19 18:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

梁小贺同学 发表于 2022-9-19 16:53
请问怎么去掉muntohust启动项,只编译执行文件呢?

muntohust的makefile里面修改

点评

将$(INSTALL_DIR) $(1)/etc/init.d注释掉就可以了吗?  详情 回复 发表于 2022-9-19 19:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
99010 发表于 2022-9-19 18:39
muntohust的makefile里面修改
  1. define Package/mentohust/install
  2.         $(INSTALL_DIR) $(1)/usr/sbin
  3.         $(INSTALL_BIN) $(PKG_BUILD_DIR)/mentohust $(1)/usr/sbin/
  4.         $(INSTALL_DIR) $(1)/etc
  5.         $(INSTALL_CONF) ./files/mentohust.conf $(1)/etc/mentohust.conf
  6.         $(INSTALL_DIR) $(1)/etc/init.d
  7.         $(INSTALL_BIN) ./files/mentohust.init $(1)/etc/init.d/mentohust
  8. endef

  9. $(eval $(call BuildPackage,$(PKG_NAME)))
复制代码


将$(INSTALL_DIR) $(1)/etc/init.d注释掉就可以了吗?

点评

对。。。。。。。。。。。  详情 回复 发表于 2022-9-19 19:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

梁小贺同学 发表于 2022-9-19 19:35
将$(INSTALL_DIR) $(1)/etc/init.d注释掉就可以了吗?

对。。。。。。。。。。。

点评

非常感谢 我去试一下  详情 回复 发表于 2022-9-19 21:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
99010 发表于 2022-9-19 19:38
对。。。。。。。。。。。

非常感谢 我去试一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-28 20:10

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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