Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make defconfig报错 #11408

Closed
smallprogram opened this issue Jul 27, 2023 · 1 comment
Closed

make defconfig报错 #11408

smallprogram opened this issue Jul 27, 2023 · 1 comment

Comments

@smallprogram
Copy link
Contributor

smallprogram commented Jul 27, 2023

openwrt在make defconfig时报错,内容如下:

tmp/.config-package.in:77116:error: recursive dependency detected!
tmp/.config-package.in:77116:   symbol PACKAGE_nodogsplash depends on PACKAGE_opennds
tmp/.config-package.in:77138:   symbol PACKAGE_opennds depends on PACKAGE_nodogsplash
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

#
# configuration written to .config
#

貌似PACKAGE_nodogsplash 与 PACKAGE_opennds循环依赖了,但是我的config中并不存在什么PACKAGE_nodogsplash ,而PACKAGE_opennds也是 not set

以下是.config-package.in文件中的定义

	config PACKAGE_nodogsplash
		tristate "nodogsplash........................... Open public network gateway daemon"
		default y if DEFAULT_nodogsplash
		default m if ALL
		depends on IPTABLES_NFTABLES
		depends on PACKAGE_iptables
		select PACKAGE_libc
		depends on PACKAGE_libxtables
		select PACKAGE_iptables-mod-conntrack-extra
		select PACKAGE_libpthread
		select PACKAGE_libmicrohttpd-no-ssl
		select PACKAGE_iptables-mod-ipopt
		select PACKAGE_iptables-mod-nat-extra
		select PACKAGE_iptables-nft
		depends on m || (PACKAGE_opennds != y)
		help
		 Nodogsplash is a Captive Portal that offers a simple way to
		   provide restricted access to the Internet by showing a splash
		   page to the user before Internet access is granted.
		 https://github.com/nodogsplash/nodogsplash
		 Moritz Warning <moritzwarning@web.de>

	config PACKAGE_opennds
		tristate "opennds................................. open Network Demarcation Service"
		default y if DEFAULT_opennds
		default m if ALL
		select PACKAGE_libmicrohttpd-no-ssl
		select PACKAGE_libc
		depends on m || (PACKAGE_nodogsplash != y)
		help
		 openNDS (open Network Demarcation Service) is a high performance, small footprint, Captive Portal.
		   It provides a border control gateway between a public local area network and the Internet.
		   It supports all scenarios ranging from small stand alone venues through to large mesh networks with multiple portal entry points.
		   Both the client driven Captive Portal Detection method (CPD) and gateway driven Captive Portal Identification method (CPI - RFC 8910 and RFC 8908) are supported.
		   This version uses nftables.
		 https://github.com/opennds/opennds
		 Rob White <rob@blue-wave.net>

可以看到确实循环引用了...............

@smallprogram
Copy link
Contributor Author

smallprogram commented Jul 28, 2023

问题出在routing feed上,已经提交了pr,目前还没有被合并
openwrt/routing#1001
openwrt/routing#1002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant