lingrongjun 发表于 2022-5-24 16:40

mosdns冲突,编译不了

本帖最后由 lingrongjun 于 2022-5-24 16:42 编辑

* check_data_file_clashes: Package luci-app-mosdns wants to install file /mnt/disk2/x64openwrt/lede/build_dir/target-x86_64_musl/root-x86/etc/init.d/mosdns
    But that file is already provided by package* mosdns
* opkg_install_cmd: Cannot install package luci-app-mosdns.
* check_data_file_clashes: Package luci-app-mosdns wants to install file /mnt/disk2/x64openwrt/lede/build_dir/target-x86_64_musl/root-x86/etc/init.d/mosdns
    But that file is already provided by package* mosdns
* opkg_install_cmd: Cannot install package luci-i18n-mosdns-zh-cn.
* resolve_conffiles: Existing conffile /mnt/disk2/x64openwrt/lede/build_dir/target-x86_64_musl/root-x86/etc/config/socat is different from the conffile in the new package. The new conffile will be placed at /mnt/disk2/x64openwrt/lede/build_dir/target-x86_64_musl/root-x86/etc/config/socat-opkg.
make: *** Error 255
make: Leaving directory '/mnt/disk2/x64openwrt/lede'
make: *** Error 2
make: Leaving directory '/mnt/disk2/x64openwrt/lede'
make: *** 错误 2


make menuconfig翻了几次,不知道和哪个冲突.

jjit 发表于 2022-5-24 16:51

本帖最后由 jjit 于 2022-5-24 16:55 编辑

是Lean的源码吗。和这个帖子的问题一样:https://www.right.com.cn/forum/thread-8226831-1-1.html
Lean的源码里已经有 mosdns 了
你又自己添加了 luci-app-mosdns 和 mosdns

lingrongjun 发表于 2022-5-24 17:06

jjit 发表于 2022-5-24 16:51
是Lean的源码吗。和这个帖子的问题一样:https://www.right.com.cn/forum/thread-8226831-1-1.html
Lean的 ...

谢谢,我来试试

lingrongjun 发表于 2022-5-24 17:20

试了一上,用外加插件包里的make替换lede里自带的make就能编译成功了

pangzhao 发表于 2022-5-25 12:40

lingrongjun 发表于 2022-5-24 17:20
试了一上,用外加插件包里的make替换lede里自带的make就能编译成功了

能提供下具体步骤吗

lingrongjun 发表于 2022-5-25 15:12

pangzhao 发表于 2022-5-25 12:40
能提供下具体步骤吗

我用的是small8的插件包,里面有mosdns,lede也有mosdns,2个冲突了,找到feeds下small8里的mosdns文件夹,复制其中的make文件到lede里mosdns文件夹中进行替换就可以了。就是复制替换一个make文件。

pangzhao 发表于 2022-5-25 15:20

lingrongjun 发表于 2022-5-25 15:12
我用的是small8的插件包,里面有mosdns,lede也有mosdns,2个冲突了,找到feeds下small8里的mosdns文件夹 ...

lede也有mosdns?这个怎么查看

lingrongjun 发表于 2022-5-25 15:22

在feeds里面吧,自己可以找找看

pangzhao 发表于 2022-5-25 15:27

lingrongjun 发表于 2022-5-25 15:22
在feeds里面吧,自己可以找找看

这样编译有luci界面吗?没有的话怎么解决

lingrongjun 发表于 2022-5-25 15:41

pangzhao 发表于 2022-5-25 15:27
这样编译有luci界面吗?没有的话怎么解决

有界面的。2个make文件不一样,意思就是换成一样的make文件

pangzhao 发表于 2022-5-25 20:15

lingrongjun 发表于 2022-5-25 15:41
有界面的。2个make文件不一样,意思就是换成一样的make文件

lede源码下成功编译但无论如何夜启动不了,有什么解决方案?

lingrongjun 发表于 2022-5-26 08:58

pangzhao 发表于 2022-5-25 20:15
lede源码下成功编译但无论如何夜启动不了,有什么解决方案?

我是用第三方替换lede的,没试过用lede替换第三方,这种情况就不清楚了,我也是小白一个
页: [1]
查看完整版本: mosdns冲突,编译不了