Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/93150 _Compilation issues_ Submitter: Haifei Luo Date: 2021-05-11 09:28:10 Reply_mail: 20210511092810.22801-1-haifeil@nvidia.com DPDK git baseline: Repo:dpdk-next-net, CommitID: 8b1e6d9eb25cbd86a0ad9b990eaf598dc9f5a15a Meson Build Summary: 22 Builds Done, 1 Successful, 21 Failures, 0 Blocked +------------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +------------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | FAIL | FAIL | FAIL | | | FAIL | | RHEL83-64 | FAIL | | | | | | | FC33-64 | FAIL | FAIL | | | | | | CentOsStream8-64 | FAIL | | | | | | | UB2104-64 | FAIL | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | FAIL | | | | | | | CENTOS83-64 | FAIL | FAIL | FAIL | FAIL | FAIL | | | FreeBSD1201-64 | FAIL | FAIL | | FAIL | FAIL | | | SUSE15-64 | FAIL | FAIL | | | | | +------------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: RHEL83-64 Kernel Version: 4.18.0-240.el8.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896) x86_64-native-linuxapp-gcc OS: FC33-64 Kernel Version: 5.8.16-300.fc33.x86_64 GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5) Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: CentOsStream8-64 Kernel Version: 4.18.0-257.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577) x86_64-native-linuxapp-gcc OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: CENTOS83-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ .priv = PRIV_ACTION(METER_COLOR, ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ sizeof(struct rte_flow_action_meter_color)), ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ .size = s, \ ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known enum rte_color color; ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_GREEN; ^~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_GREEN; ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_YELLOW; ^~~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_YELLOW; ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_COMMON_CPT’? color = RTE_COLOR_RED; ^~~~~~~~~~~~~ RTE_COMMON_CPT ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_RED; ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type ‘struct rte_flow_action_meter_color’ conf->color = color; ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member ‘color’ in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] conf->color = color; ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] enum rte_color color; ^~~~~ cc1: all warnings being treated as errors [2340/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2341/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2342/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_5tswap.c.o [2343/2727] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_perf.c.o [2344/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [2345/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2346/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2347/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2348/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2349/2727] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2350/2727] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #2: OS: CENTOS83-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:3714:11: error: use of undeclared identifier 'RTE_FLOW_ACTION_TYPE_METER_COLOR'; did you mean 'RTE_FLOW_ACTION_TYPE_METER'? .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c:845:11: note: expanded from macro 'PRIV_ACTION' .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^ :159:1: note: expanded from here RTE_FLOW_ACTION_TYPE_METER_COLOR ^ ../lib/librte_ethdev/rte_flow.h:1877:2: note: 'RTE_FLOW_ACTION_TYPE_METER' declared here RTE_FLOW_ACTION_TYPE_METER, ^ ../app/test-pmd/cmdline_flow.c:3715:5: error: invalid application of 'sizeof' to an incomplete type 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: expanded from macro 'PRIV_ACTION' .size = s, \ ^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ../app/test-pmd/cmdline_flow.c:5150:17: error: variable has incomplete type 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5150:7: note: forward declaration of 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5159:11: error: use of undeclared identifier 'RTE_COLOR_GREEN' color = RTE_COLOR_GREEN; ^ ../app/test-pmd/cmdline_flow.c:5162:11: error: use of undeclared identifier 'RTE_COLOR_YELLOW' color = RTE_COLOR_YELLOW; ^ ../app/test-pmd/cmdline_flow.c:5165:11: error: use of undeclared identifier 'RTE_COLOR_RED' color = RTE_COLOR_RED; ^ ../app/test-pmd/cmdline_flow.c:5176:6: error: incomplete definition of type 'struct rte_flow_action_meter_color' conf->color = color; ~~~~^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ 7 errors generated. [2352/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2353/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2354/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2355/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2356/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_macswap.c.o [2357/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2358/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o [2359/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2360/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #3: OS: CENTOS83-64 Target: x86_64-native-linuxapp-icc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o icc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c(3714): error: identifier "RTE_FLOW_ACTION_TYPE_METER_COLOR" is undefined .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c(3714): error: incomplete type is not allowed .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c(5159): error: identifier "RTE_COLOR_GREEN" is undefined color = RTE_COLOR_GREEN; ^ ../app/test-pmd/cmdline_flow.c(5162): error: identifier "RTE_COLOR_YELLOW" is undefined color = RTE_COLOR_YELLOW; ^ ../app/test-pmd/cmdline_flow.c(5165): error: identifier "RTE_COLOR_RED" is undefined color = RTE_COLOR_RED; ^ ../app/test-pmd/cmdline_flow.c(5176): error: pointer to incomplete class type is not allowed conf->color = color; ^ compilation aborted for ../app/test-pmd/cmdline_flow.c (code 2) [2343/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2344/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2345/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2346/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2347/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [2348/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2349/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2350/2727] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2351/2727] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_perf.c.o [2352/2727] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2353/2727] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #4: OS: CENTOS83-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ .priv = PRIV_ACTION(METER_COLOR, ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ sizeof(struct rte_flow_action_meter_color)), ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ .size = s, \ ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known enum rte_color color; ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_GREEN; ^~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_GREEN; ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_YELLOW; ^~~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_YELLOW; ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_COMMON_CPT’? color = RTE_COLOR_RED; ^~~~~~~~~~~~~ RTE_COMMON_CPT ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_RED; ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type ‘struct rte_flow_action_meter_color’ conf->color = color; ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member ‘color’ in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] conf->color = color; ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] enum rte_color color; ^~~~~ cc1: all warnings being treated as errors [2382/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [2383/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2384/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2385/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2386/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2387/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2388/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2389/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2390/2563] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2391/2563] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2392/2563] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #5: OS: CENTOS83-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ .priv = PRIV_ACTION(METER_COLOR, ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ sizeof(struct rte_flow_action_meter_color)), ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ .size = s, \ ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known enum rte_color color; ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_GREEN; ^~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_GREEN; ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_YELLOW; ^~~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_YELLOW; ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_COMMON_CPT’? color = RTE_COLOR_RED; ^~~~~~~~~~~~~ RTE_COMMON_CPT ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_RED; ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type ‘struct rte_flow_action_meter_color’ conf->color = color; ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member ‘color’ in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] conf->color = color; ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] enum rte_color color; ^~~~~ cc1: all warnings being treated as errors [2347/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2348/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [2349/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2350/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2351/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2352/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2353/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2354/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2355/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #6: OS: FC33-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_LOG_ERR’? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: invalid use of undefined type ‘struct rte_flow_action_meter_color’ 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [2344/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2345/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [2346/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2347/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2348/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2349/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2350/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2351/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2352/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2353/2729] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2354/2729] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #7: OS: FC33-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:3714:11: error: use of undeclared identifier 'RTE_FLOW_ACTION_TYPE_METER_COLOR'; did you mean 'RTE_FLOW_ACTION_TYPE_METER'? .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c:845:11: note: expanded from macro 'PRIV_ACTION' .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^ :27:1: note: expanded from here RTE_FLOW_ACTION_TYPE_METER_COLOR ^ ../lib/librte_ethdev/rte_flow.h:1877:2: note: 'RTE_FLOW_ACTION_TYPE_METER' declared here RTE_FLOW_ACTION_TYPE_METER, ^ ../app/test-pmd/cmdline_flow.c:3715:5: error: invalid application of 'sizeof' to an incomplete type 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: expanded from macro 'PRIV_ACTION' .size = s, \ ^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ../app/test-pmd/cmdline_flow.c:5150:17: error: variable has incomplete type 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5150:7: note: forward declaration of 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5159:11: error: use of undeclared identifier 'RTE_COLOR_GREEN' color = RTE_COLOR_GREEN; ^ ../app/test-pmd/cmdline_flow.c:5162:11: error: use of undeclared identifier 'RTE_COLOR_YELLOW' color = RTE_COLOR_YELLOW; ^ ../app/test-pmd/cmdline_flow.c:5165:11: error: use of undeclared identifier 'RTE_COLOR_RED' color = RTE_COLOR_RED; ^ ../app/test-pmd/cmdline_flow.c:5176:6: error: incomplete definition of type 'struct rte_flow_action_meter_color' conf->color = color; ~~~~^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ 7 errors generated. [2346/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [2347/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2348/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2349/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2350/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2351/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2352/2729] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2353/2729] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2354/2729] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #8: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: 'RTE_FLOW_ACTION_TYPE_METER_COLOR' undeclared here (not in a function); did you mean 'RTE_FLOW_ACTION_TYPE_METER'? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro 'PRIV_ACTION' 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of 'sizeof' to incomplete type 'struct rte_flow_action_meter_color' 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro 'PRIV_ACTION' 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function 'parse_vc_action_meter_color_type': ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of 'color' isn't known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: 'RTE_COLOR_GREEN' undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: 'RTE_COLOR_YELLOW' undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: 'RTE_COLOR_RED' undeclared (first use in this function); did you mean 'RTE_LOG_ERR'? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type 'struct rte_flow_action_meter_color' 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member 'color' in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable 'color' [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [1623/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [1624/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [1625/1945] Linking target app/dpdk-test-pipeline [1626/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [1627/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o ninja: build stopped *Build Failed #9: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Ilib/librte_bpf -I../lib/librte_bpf -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:3714:11: error: use of undeclared identifier 'RTE_FLOW_ACTION_TYPE_METER_COLOR'; did you mean 'RTE_FLOW_ACTION_TYPE_METER'? .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c:845:11: note: expanded from macro 'PRIV_ACTION' .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^ :135:1: note: expanded from here RTE_FLOW_ACTION_TYPE_METER_COLOR ^ ../lib/librte_ethdev/rte_flow.h:1877:2: note: 'RTE_FLOW_ACTION_TYPE_METER' declared here RTE_FLOW_ACTION_TYPE_METER, ^ ../app/test-pmd/cmdline_flow.c:3715:5: error: invalid application of 'sizeof' to an incomplete type 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: expanded from macro 'PRIV_ACTION' .size = s, \ ^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ../app/test-pmd/cmdline_flow.c:5150:17: error: variable has incomplete type 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5150:7: note: forward declaration of 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5159:11: error: use of undeclared identifier 'RTE_COLOR_GREEN' color = RTE_COLOR_GREEN; ^ ../app/test-pmd/cmdline_flow.c:5162:11: error: use of undeclared identifier 'RTE_COLOR_YELLOW' color = RTE_COLOR_YELLOW; ^ ../app/test-pmd/cmdline_flow.c:5165:11: error: use of undeclared identifier 'RTE_COLOR_RED' color = RTE_COLOR_RED; ^ ../app/test-pmd/cmdline_flow.c:5176:6: error: incomplete definition of type 'struct rte_flow_action_meter_color' conf->color = color; ~~~~^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ 7 errors generated. [1625/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [1626/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [1627/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [1628/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [1629/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o ninja: build stopped *Build Failed #10: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: 'RTE_FLOW_ACTION_TYPE_METER_COLOR' undeclared here (not in a function); did you mean 'RTE_FLOW_ACTION_TYPE_METER'? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro 'PRIV_ACTION' 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of 'sizeof' to incomplete type 'struct rte_flow_action_meter_color' 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro 'PRIV_ACTION' 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function 'parse_vc_action_meter_color_type': ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of 'color' isn't known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: 'RTE_COLOR_GREEN' undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: 'RTE_COLOR_YELLOW' undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: 'RTE_COLOR_RED' undeclared (first use in this function); did you mean 'RTE_LOG_ERR'? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type 'struct rte_flow_action_meter_color' 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member 'color' in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable 'color' [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [1651/1827] Linking target app/dpdk-test-pipeline [1652/1827] Compiling C object app/dpdk-testpmd.p/test-pmd_5tswap.c.o [1653/1827] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [1654/1827] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [1655/1827] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o ninja: build stopped *Build Failed #11: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: 'RTE_FLOW_ACTION_TYPE_METER_COLOR' undeclared here (not in a function); did you mean 'RTE_FLOW_ACTION_TYPE_METER'? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro 'PRIV_ACTION' 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of 'sizeof' to incomplete type 'struct rte_flow_action_meter_color' 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro 'PRIV_ACTION' 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function 'parse_vc_action_meter_color_type': ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of 'color' isn't known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: 'RTE_COLOR_GREEN' undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: 'RTE_COLOR_YELLOW' undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: 'RTE_COLOR_RED' undeclared (first use in this function); did you mean 'RTE_LOG_ERR'? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type 'struct rte_flow_action_meter_color' 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member 'color' in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable 'color' [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [1621/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [1622/1945] Linking target app/dpdk-test-eventdev [1623/1945] Linking target app/dpdk-test-flow-perf [1624/1945] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [1625/1945] Linking target app/dpdk-test-pipeline ninja: build stopped *Build Failed #12: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ .priv = PRIV_ACTION(METER_COLOR, ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ sizeof(struct rte_flow_action_meter_color)), ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ .size = s, \ ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known enum rte_color color; ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_GREEN; ^~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_GREEN; ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_YELLOW; ^~~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_YELLOW; ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_COMMON_CPT’? color = RTE_COLOR_RED; ^~~~~~~~~~~~~ RTE_COMMON_CPT ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_RED; ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type ‘struct rte_flow_action_meter_color’ conf->color = color; ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member ‘color’ in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] conf->color = color; ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] enum rte_color color; ^~~~~ cc1: all warnings being treated as errors [2348/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2349/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2350/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_macswap.c.o [2351/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [2352/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2353/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2354/2730] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2355/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2356/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #13: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:3714:11: error: use of undeclared identifier 'RTE_FLOW_ACTION_TYPE_METER_COLOR'; did you mean 'RTE_FLOW_ACTION_TYPE_METER'? .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c:845:11: note: expanded from macro 'PRIV_ACTION' .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^ :154:1: note: expanded from here RTE_FLOW_ACTION_TYPE_METER_COLOR ^ ../lib/librte_ethdev/rte_flow.h:1877:2: note: 'RTE_FLOW_ACTION_TYPE_METER' declared here RTE_FLOW_ACTION_TYPE_METER, ^ ../app/test-pmd/cmdline_flow.c:3715:5: error: invalid application of 'sizeof' to an incomplete type 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: expanded from macro 'PRIV_ACTION' .size = s, \ ^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ../app/test-pmd/cmdline_flow.c:5150:17: error: variable has incomplete type 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5150:7: note: forward declaration of 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5159:11: error: use of undeclared identifier 'RTE_COLOR_GREEN' color = RTE_COLOR_GREEN; ^ ../app/test-pmd/cmdline_flow.c:5162:11: error: use of undeclared identifier 'RTE_COLOR_YELLOW' color = RTE_COLOR_YELLOW; ^ ../app/test-pmd/cmdline_flow.c:5165:11: error: use of undeclared identifier 'RTE_COLOR_RED' color = RTE_COLOR_RED; ^ ../app/test-pmd/cmdline_flow.c:5176:6: error: incomplete definition of type 'struct rte_flow_action_meter_color' conf->color = color; ~~~~^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ 7 errors generated. [2307/2690] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2308/2690] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2309/2690] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2310/2690] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2311/2690] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2312/2690] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2313/2690] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2314/2690] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2315/2690] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #14: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ .priv = PRIV_ACTION(METER_COLOR, ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ sizeof(struct rte_flow_action_meter_color)), ^ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ .size = s, \ ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known enum rte_color color; ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_GREEN; ^~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_GREEN; ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function); did you mean ‘RTE_COLOR_GREEN’? color = RTE_COLOR_YELLOW; ^~~~~~~~~~~~~~~~ RTE_COLOR_GREEN ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_YELLOW; ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_COLOR_GREEN’? color = RTE_COLOR_RED; ^~~~~~~~~~~~~ RTE_COLOR_GREEN ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_RED; ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type ‘struct rte_flow_action_meter_color’ conf->color = color; ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member ‘color’ in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] conf->color = color; ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] enum rte_color color; ^~~~~ cc1: all warnings being treated as errors [2277/2659] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2278/2659] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2279/2659] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2280/2659] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2281/2659] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2282/2659] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2283/2659] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #15: OS: CentOsStream8-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ .priv = PRIV_ACTION(METER_COLOR, ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ sizeof(struct rte_flow_action_meter_color)), ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ .size = s, \ ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known enum rte_color color; ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_GREEN; ^~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_GREEN; ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function); did you mean ‘RTE_LOG_ALERT’? color = RTE_COLOR_YELLOW; ^~~~~~~~~~~~~~~~ RTE_LOG_ALERT ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_YELLOW; ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_COMMON_CPT’? color = RTE_COLOR_RED; ^~~~~~~~~~~~~ RTE_COMMON_CPT ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] color = RTE_COLOR_RED; ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: dereferencing pointer to incomplete type ‘struct rte_flow_action_meter_color’ conf->color = color; ^~ ../app/test-pmd/cmdline_flow.c:5176:6: error: request for member ‘color’ in something not a structure or union ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] conf->color = color; ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] enum rte_color color; ^~~~~ cc1: all warnings being treated as errors [2335/2721] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [2336/2721] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [2337/2721] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_perf.c.o [2338/2721] Compiling C object app/dpdk-test-flow-perf.p/test-flow-perf_main.c.o [2339/2721] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2340/2721] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2341/2721] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2342/2721] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2343/2721] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2344/2721] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2345/2721] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #16: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_LOG_ERR’? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: invalid use of undefined type ‘struct rte_flow_action_meter_color’ 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [1899/2243] Compiling C object app/dpdk-test-flow-perf.p/test-flow-perf_main.c.o [1900/2243] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [1901/2243] Linking target app/dpdk-test-pipeline [1902/2243] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [1903/2243] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [1904/2243] Linking target app/dpdk-test-fib [1905/2243] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [1906/2243] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [1907/2243] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o ninja: build stopped *Build Failed #17: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:3714:11: error: use of undeclared identifier 'RTE_FLOW_ACTION_TYPE_METER_COLOR'; did you mean 'RTE_FLOW_ACTION_TYPE_METER'? .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c:845:11: note: expanded from macro 'PRIV_ACTION' .type = RTE_FLOW_ACTION_TYPE_ ## t, \ ^ :27:1: note: expanded from here RTE_FLOW_ACTION_TYPE_METER_COLOR ^ ../lib/librte_ethdev/rte_flow.h:1877:2: note: 'RTE_FLOW_ACTION_TYPE_METER' declared here RTE_FLOW_ACTION_TYPE_METER, ^ ../app/test-pmd/cmdline_flow.c:3715:5: error: invalid application of 'sizeof' to an incomplete type 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: expanded from macro 'PRIV_ACTION' .size = s, \ ^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ ../app/test-pmd/cmdline_flow.c:5150:17: error: variable has incomplete type 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5150:7: note: forward declaration of 'enum rte_color' enum rte_color color; ^ ../app/test-pmd/cmdline_flow.c:5159:11: error: use of undeclared identifier 'RTE_COLOR_GREEN' color = RTE_COLOR_GREEN; ^ ../app/test-pmd/cmdline_flow.c:5162:11: error: use of undeclared identifier 'RTE_COLOR_YELLOW' color = RTE_COLOR_YELLOW; ^ ../app/test-pmd/cmdline_flow.c:5165:11: error: use of undeclared identifier 'RTE_COLOR_RED' color = RTE_COLOR_RED; ^ ../app/test-pmd/cmdline_flow.c:5176:6: error: incomplete definition of type 'struct rte_flow_action_meter_color' conf->color = color; ~~~~^ ../app/test-pmd/cmdline_flow.c:3715:19: note: forward declaration of 'struct rte_flow_action_meter_color' sizeof(struct rte_flow_action_meter_color)), ^ 7 errors generated. [2334/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2335/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o [2336/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_iofwd.c.o [2337/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [2338/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2339/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2340/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2341/2717] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2342/2717] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #18: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_LOG_ERR’? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: invalid use of undefined type ‘struct rte_flow_action_meter_color’ 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [2331/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [2332/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2333/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [2334/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o [2335/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2336/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o [2337/2717] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2338/2717] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2339/2717] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #19: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o icc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c(3714): error: identifier "RTE_FLOW_ACTION_TYPE_METER_COLOR" is undefined .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c(3714): error: incomplete type is not allowed .priv = PRIV_ACTION(METER_COLOR, ^ ../app/test-pmd/cmdline_flow.c(5159): error: identifier "RTE_COLOR_GREEN" is undefined color = RTE_COLOR_GREEN; ^ ../app/test-pmd/cmdline_flow.c(5162): error: identifier "RTE_COLOR_YELLOW" is undefined color = RTE_COLOR_YELLOW; ^ ../app/test-pmd/cmdline_flow.c(5165): error: identifier "RTE_COLOR_RED" is undefined color = RTE_COLOR_RED; ^ ../app/test-pmd/cmdline_flow.c(5176): error: pointer to incomplete class type is not allowed conf->color = color; ^ compilation aborted for ../app/test-pmd/cmdline_flow.c (code 2) [2285/2670] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [2286/2670] Compiling C object examples/dpdk-l2fwd-event.p/l2fwd-event_l2fwd_event.c.o [2287/2670] Compiling C object app/dpdk-testpmd.p/test-pmd_5tswap.c.o [2288/2670] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [2289/2670] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o [2290/2670] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o [2291/2670] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_perf.c.o [2292/2670] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2293/2670] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #20: OS: UB2104-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_LOG_ERR’? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: invalid use of undefined type ‘struct rte_flow_action_meter_color’ 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [2321/2730] Compiling C object app/dpdk-test-eventdev.p/test-eventdev_evt_main.c.o [2322/2730] Compiling C object app/dpdk-test-eventdev.p/test-eventdev_test_order_queue.c.o [2323/2730] Compiling C object app/dpdk-test-eventdev.p/test-eventdev_test_perf_atq.c.o [2324/2730] Compiling C object app/dpdk-test-eventdev.p/test-eventdev_test_perf_queue.c.o [2325/2730] Compiling C object app/dpdk-test-bbdev.p/test-bbdev_test_bbdev_perf.c.o [2326/2730] Compiling C object app/dpdk-test-eventdev.p/test-eventdev_test_pipeline_common.c.o [2327/2730] Compiling C object app/dpdk-test-eventdev.p/test-eventdev_test_perf_common.c.o [2328/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [2329/2730] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #21: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline_flow.c.o gcc -Iapp/a172ced@@dpdk-testpmd@exe -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_metrics -I../lib/librte_metrics -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_pdump -I../lib/librte_pdump -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_rcu -I../lib/librte_rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_reorder -I../lib/librte_reorder -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -I../drivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_core -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ 'app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline_flow.c.o' -MF 'app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline_flow.c.o.d' -o 'app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline_flow.c.o' -c ../app/test-pmd/cmdline_flow.c ../app/test-pmd/cmdline_flow.c:845:11: error: ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’ undeclared here (not in a function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER’? 845 | .type = RTE_FLOW_ACTION_TYPE_ ## t, \ | ^~~~~~~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3714:11: note: in expansion of macro ‘PRIV_ACTION’ 3714 | .priv = PRIV_ACTION(METER_COLOR, | ^~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:3715:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_action_meter_color’ 3715 | sizeof(struct rte_flow_action_meter_color)), | ^~~~~~ ../app/test-pmd/cmdline_flow.c:846:11: note: in definition of macro ‘PRIV_ACTION’ 846 | .size = s, \ | ^ ../app/test-pmd/cmdline_flow.c: In function ‘parse_vc_action_meter_color_type’: ../app/test-pmd/cmdline_flow.c:5150:17: error: storage size of ‘color’ isn’t known 5150 | enum rte_color color; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: error: ‘RTE_COLOR_GREEN’ undeclared (first use in this function) 5159 | color = RTE_COLOR_GREEN; | ^~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5159:11: note: each undeclared identifier is reported only once for each function it appears in ../app/test-pmd/cmdline_flow.c:5159:3: error: statement with no effect [-Werror=unused-value] 5159 | color = RTE_COLOR_GREEN; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5162:11: error: ‘RTE_COLOR_YELLOW’ undeclared (first use in this function) 5162 | color = RTE_COLOR_YELLOW; | ^~~~~~~~~~~~~~~~ ../app/test-pmd/cmdline_flow.c:5162:3: error: statement with no effect [-Werror=unused-value] 5162 | color = RTE_COLOR_YELLOW; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5165:11: error: ‘RTE_COLOR_RED’ undeclared (first use in this function); did you mean ‘RTE_LOG_ERR’? 5165 | color = RTE_COLOR_RED; | ^~~~~~~~~~~~~ | RTE_LOG_ERR ../app/test-pmd/cmdline_flow.c:5165:3: error: statement with no effect [-Werror=unused-value] 5165 | color = RTE_COLOR_RED; | ^~~~~ ../app/test-pmd/cmdline_flow.c:5176:6: error: invalid use of undefined type ‘struct rte_flow_action_meter_color’ 5176 | conf->color = color; | ^~ ../app/test-pmd/cmdline_flow.c:5176:2: error: statement with no effect [-Werror=unused-value] 5176 | conf->color = color; | ^~~~ ../app/test-pmd/cmdline_flow.c:5150:17: error: unused variable ‘color’ [-Werror=unused-variable] 5150 | enum rte_color color; | ^~~~~ cc1: all warnings being treated as errors [2254/2480] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf@exe/test-crypto-perf_cperf_options_parsing.c.o'. [2255/2480] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf@exe/test-crypto-perf_cperf_test_vector_parsing.c.o'. [2256/2480] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf@exe/test-crypto-perf_main.c.o'. [2257/2480] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf@exe/test-crypto-perf_cperf_test_vectors.c.o'. [2258/2480] Compiling C object 'app/a172ced@@dpdk-test-crypto-perf@exe/test-crypto-perf_cperf_test_verify.c.o'. [2259/2480] Compiling C object 'app/a172ced@@dpdk-test-eventdev@exe/test-eventdev_evt_options.c.o'. [2260/2480] Compiling C object 'app/a172ced@@dpdk-test-bbdev@exe/test-bbdev_test_bbdev_perf.c.o'. [2261/2480] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker.c.o'. [2262/2480] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker_dual.c.o'. ninja: build stopped DPDK STV team