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