Hi, I checked the patchwork, it's added via https://patchwork.ozlabs.org/patch/877043/
build log below. tc CC tc.o CC tc_qdisc.o CC tc_class.o CC tc_filter.o CC tc_util.o CC tc_monitor.o CC tc_exec.o CC m_police.o CC m_estimator.o CC m_action.o CC m_ematch.o YACC emp_ematch.yacc.c CC emp_ematch.yacc.o LEX emp_ematch.lex.c CC emp_ematch.lex.o CC q_fifo.o CC q_sfq.o CC q_red.o CC q_prio.o CC q_tbf.o CC q_cbq.o CC q_rr.o CC q_multiq.o CC q_netem.o CC q_choke.o CC q_sfb.o CC f_rsvp.o CC f_u32.o CC f_route.o CC f_fw.o CC f_basic.o CC f_bpf.o CC f_flow.o CC f_cgroup.o CC f_flower.o In file included from ../include/uapi/linux/netdevice.h:29, from ../include/uapi/linux/if_arp.h:27, from f_flower.c:17: ../include/uapi/linux/if.h:133: warning: "IFF_VOLATILE" redefined #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ In file included from f_flower.c:16: /home/wong/github/lede-1/staging_dir/toolchain-x86_64_gcc-8.1.0_musl/include/net/if.h:48: note: this is the location of the previous definition #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \ CC q_dsmark.o CC q_gred.o CC f_tcindex.o CC q_ingress.o CC q_hfsc.o CC q_htb.o CC q_drr.o CC q_qfq.o CC m_gact.o CC m_mirred.o CC m_nat.o CC m_pedit.o CC m_ife.o CC m_skbedit.o CC m_skbmod.o CC m_csum.o CC m_simple.o CC m_vlan.o CC m_connmark.o CC m_bpf.o CC m_tunnel_key.o CC m_sample.o CC p_ip.o CC p_ip6.o CC p_icmp.o CC p_eth.o CC p_tcp.o CC p_udp.o CC em_nbyte.o CC em_cmp.o CC em_u32.o CC em_canid.o CC em_meta.o CC q_mqprio.o CC q_codel.o CC q_fq_codel.o CC q_cake.o CC q_fq.o CC q_pie.o CC q_hhf.o CC q_clsact.o CC e_bpf.o CC f_matchall.o CC q_cbs.o CC em_ipt.o In file included from tc_util.h:7, from m_ematch.h:11, from em_ipt.c:16: ../include/uapi/linux/if.h:133: warning: "IFF_VOLATILE" redefined #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ In file included from ../include/xtables.h:17, from em_ipt.c:15: /home/wong/github/lede-1/staging_dir/toolchain-x86_64_gcc-8.1.0_musl/include/net/if.h:48: note: this is the location of the previous definition #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \ CC em_ipset.o In file included from tc_util.h:7, from m_ematch.h:11, from em_ipset.c:42: ../include/uapi/linux/if.h:133: warning: "IFF_VOLATILE" redefined #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\ In file included from ../include/xtables.h:17, from em_ipset.c:26: /home/wong/github/lede-1/staging_dir/toolchain-x86_64_gcc-8.1.0_musl/include/net/if.h:48: note: this is the location of the previous definition #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \ CC tc_core.o CC tc_red.o CC tc_cbq.o CC tc_estimator.o CC tc_stab.o AR libtc.a files="m_police.c m_gact.c m_tunnel_key.c q_sfq.c q_hfsc.c q_fifo.c q_pie.c tc_estimator.c m_mirred.c f_u32.c tc_qdisc.c m_action.c q_fq_codel.c q_codel.c f_flow.c f_bpf.c f_tcindex.c q_clsact.c q_dsmark.c m_nat.c tc_util.c m_ematch.c em_ipt.c tc_cbq.c f_route.c f_fw.c m_simple.c p_ip6.c q_drr.c q_cbs.c static-syms.c p_ip.c m_bpf.c q_rr.c f_matchall.c q_htb.c q_choke.c q_cake.c m_connmark.c m_ipt.c m_skbmod.c m_ife.c q_sfb.c q_atm.c m_sample.c q_qfq.c em_cmp.c q_cbq.c em_nbyte.c q_fq.c m_skbedit.c em_meta.c f_rsvp.c q_tbf.c m_pedit.c tc_stab.c p_tcp.c em_u32.c q_hhf.c p_icmp.c tc_filter.c m_xt.c q_multiq.c p_eth.c tc_red.c em_canid.c q_gred.c tc_exec.c tc_monitor.c f_cgroup.c m_xt_old.c tc.c q_prio.c q_ingress.c f_flower.c p_udp.c em_ipset.c m_vlan.c m_estimator.c q_netem.c tc_core.c m_csum.c f_basic.c e_bpf.c q_red.c q_mqprio.c tc_class.c" ; \ for s in `grep -B 3 '\<dlsym' $files | sed -n '/snprintf/{s:.*"\([^"]*\)".*:\1:;s:%s::;p}'` ; do \ sed -n '/'$s'[^ ]* =/{s:.* \([^ ]*'$s'[^ ]*\) .*:extern char \1[] __attribute__((weak)); if (!strcmp(sym, "\1")) return \1;:;p}' $files ; \ done > static-syms.h CC static-syms.o LINK tc em_ipt.o: In function `em_ipt_print_epot': em_ipt.c:(.text.em_ipt_print_epot+0x2e): undefined reference to `xtables_init_all' em_ipt.c:(.text.em_ipt_print_epot+0x44): undefined reference to `xtables_find_match' em_ipt.c:(.text.em_ipt_print_epot+0x70): undefined reference to `xtables_calloc' em_ipt.o: In function `em_ipt_parse_eopt_argv': em_ipt.c:(.text.em_ipt_parse_eopt_argv+0x74): undefined reference to `xtables_init_all' em_ipt.c:(.text.em_ipt_parse_eopt_argv+0x88): undefined reference to `xtables_find_match' em_ipt.c:(.text.em_ipt_parse_eopt_argv+0xbe): undefined reference to `xtables_calloc' em_ipt.c:(.text.em_ipt_parse_eopt_argv+0x118): undefined reference to `xtables_options_xfrm' em_ipt.c:(.text.em_ipt_parse_eopt_argv+0x186): undefined reference to `xtables_option_mpcall' em_ipt.c:(.text.em_ipt_parse_eopt_argv+0x1b5): undefined reference to `xtables_option_mfcall' em_ipt.c:(.text.em_ipt_parse_eopt_argv+0x265): undefined reference to `xtables_free_opts' em_ipt.o:(.data.em_tc_ipt_globals+0x30): undefined reference to `xtables_compatible_revision' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:134: tc] Error 1 rm emp_ematch.lex.c make[3]: *** [Makefile:70: all] Error 2 make[3]: Leaving directory '/home/wong/github/lede-1/build_dir/target-x86_64_musl/iproute2-full/iproute2-4.17.0' make[2]: *** [Makefile:192: /home/wong/github/lede-1/build_dir/target-x86_64_musl/iproute2-full/iproute2-4.17.0/.built] Error 2 make[2]: Leaving directory '/home/wong/github/lede-1/package/network/utils/iproute2' Command exited with non-zero status 2 time: package/network/utils/iproute2/full/compile#17.35#1.89#18.56 make[1]: *** [package/Makefile:109: package/network/utils/iproute2/compile] Error 2 Best Regards, Syrone Wong _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel