编译错误
/home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:307:7: error: implicit declaration of function 'nf_get_afinfo'; did you mean 'tcp_get_info'? [-Werror=implicit-function-declaration]
ai = nf_get_afinfo(PF_INET);
^~~~~
tcp_get_info
/home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:307:5: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
ai = nf_get_afinfo(PF_INET);
^
/home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:309:5: error: dereferencing pointer to incomplete type 'const struct nf_afinfo'
ai->route(net, (struct dst_entry **)&rt, &fl, false);
^~
cc1: all warnings being treated as errors
编译错误 /home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:307:7: error: implicit declaration of function 'nf_get_afinfo'; did you mean 'tcp_get_info'? [-Werror=implicit-function-declaration] ai = nf_get_afinfo(PF_INET); ^
~~~~ tcp_get_info /home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:307:5: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] ai = nf_get_afinfo(PF_INET); ^ /home/yy/openwrt32/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/natcap-7.0.1/natcap_common.h:309:5: error: dereferencing pointer to incomplete type 'const struct nf_afinfo' ai->route(net, (struct dst_entry **)&rt, &fl, false); ^~ cc1: all warnings being treated as errors