$ make menuconfig
tmp/.config-package.in:64034:warning: config symbol defined without type
tmp/.config-package.in:350:error: recursive dependency detected!
tmp/.config-package.in:350: symbol PACKAGE_firewall4 depends on PACKAGE_kmod-ipt-nat
tmp/.config-package.in:64038: symbol PACKAGE_kmod-ipt-nat default is visible depending on PACKAGE_firewall4
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
下面是 tmp/.config-package.in 的报错行:
350 config PACKAGE_firewall4
351 tristate "firewall4....................................... OpenWrt 4th gen firewall"
352 default y if DEFAULT_firewall4
353 default m if ALL
354 select PACKAGE_ucode-mod-uci
355 select PACKAGE_nftables-json
356 select PACKAGE_ucode-mod-fs
357 select PACKAGE_kmod-nft-nat6
358 depends on IPV6
359 select PACKAGE_kmod-nft-nat
360 select PACKAGE_ucode
361 select PACKAGE_librt if USE_GLIBC
362 select PACKAGE_libc
363 select PACKAGE_kmod-nft-fib
364 select PACKAGE_libpthread if USE_GLIBC
365 select PACKAGE_ucode-mod-ubus
366 select PACKAGE_kmod-nft-core
367 depends on m || (PACKAGE_firewall != y)
368 depends on m || (PACKAGE_kmod-ipt-nat != y)
369 help
370 This package provides an nftables-based implementation of the UCI firewall
371 sharing the same configuration format.
372 Jo-Philipp Wich <jo@mein.io>
373
.....
64034 config PACKAGE_kmod-nft-tproxy
64035 default y if PACKAGE_firewall4
64036
64037 config PACKAGE_kmod-ipt-nat
64038 default y if ! PACKAGE_firewall4
Verify Steps
OpenClash Version
v0.45.59-beta
Bug on Environment
Lean
Bug on Platform
Linux-armv8
To Reproduce
使用 https://github.com/coolsnowwolf/lede 源码,不进行任何更改,仅使用默认配置。
当使用命令
git clone --depth=1 https://github.com/vernesong/OpenClash.git package/luci-app-openclash
添加后,再运行
make menuconfig
就会出现如下报错:下面是
tmp/.config-package.in
的报错行:如果删除
rm -rf package/luci-app-openclash
后make menuconfig
就没有任何报错。当有报错时也可以编译成功,刷机后也可以正常使用。
Describe the Bug
依赖问题
OpenClash Log
不需要
OpenClash Config
No response
Expected Behavior
make menuconfig
后没有报错Screenshots
No response