在MTK OpenWRT源码基础上集成了chinadns,ss功能,但是在编译的时候报如下错误,一直无法解决,请大神帮忙看看,谢谢了。
filter/xt_set.c:18:
/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/kernel/include/linux/netfilter/ipset/ip_set_compat.h:54:2: error: #error "NETFILTER_NETLINK must be enabled: select NFACCT/N购物UEUE/LOG over NFNETLINK"
#error "NETFILTER_NETLINK must be enabled: select NFACCT/N购物UEUE/LOG over NFNETLINK"
^
scripts/Makefile.build:314: recipe for target '/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/kernel/net/netfilter/xt_set.o' failed
make[7]: *** [/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/kernel/net/netfilter/xt_set.o] Error 1
scripts/Makefile.build:455: recipe for target '/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/kernel/net/netfilter' failed
make[6]: *** [/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/kernel/net/netfilter] Error 2
Makefile:1224: recipe for target '_module_/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/kernel/net' failed
make[5]: *** [_module_/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/kernel/net] Error 2
make[5]: Leaving directory '/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/linux-3.10.14'
Makefile:911: recipe for target 'modules' failed
make[4]: *** [modules] Error 2
make[4]: Leaving directory '/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1'
Makefile:82: recipe for target '/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/.built' failed
make[3]: *** [/home/xfshi/MtkSDK/openwrt-sdk/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/ipset-6.20.1/.built] Error 2
make[3]: Leaving directory '/home/xfshi/MtkSDK/openwrt-sdk/package/network/utils/ipset'
package/Makefile:173: recipe for target 'package/network/utils/ipset/compile' failed
make[2]: *** [package/network/utils/ipset/compile] Error 2
make[2]: Leaving directory '/home/xfshi/MtkSDK/openwrt-sdk'
package/Makefile:170: recipe for target '/home/xfshi/MtkSDK/openwrt-sdk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/xfshi/MtkSDK/openwrt-sdk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/xfshi/MtkSDK/openwrt-sdk'
/home/xfshi/MtkSDK/openwrt-sdk/include/toplevel.mk:171: recipe for target 'world' failed
make: *** [world] Error 2
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,并且积分可能会被清零,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|