OpenWrt 编译 noddos 报错 error: invalid conversion 的解决办法

error: invalid conversion from ‘int ()(const char, …)’ to ‘ipset_print_outfn {aka int ()(ipset_session, void*, const char*, …)}’

出现该错误是ipset的新版本更改了ipset_session_init等函数的定义所致,因此只需降级至6.38版本即可.
编辑package/network/utils/ipset/Makefile的以下几行:

PKG_NAME:=ipset
PKG_VERSION:=6.38
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://ipset.netfilter.org
PKG_HASH:=ceef625ba31fe0aaa422926c7231a819de0b07644c02c17ebdd3022a29e3e244

猜你喜欢

转载自blog.csdn.net/u011570312/article/details/113916961