automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(127083) sid(28078) job(PER_PATCH_BUILD7443)[v2, 10/10] net/cpfl: support hairpin bind/unbind
@ 2023-05-19  5:56 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-05-19  5:56 UTC (permalink / raw)
  To: test-report, beilei.xing

[-- Attachment #1: Type: text/plain, Size: 253489 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/127083

_Compilation issues_

Submitter: Xing, Beilei <beilei.xing@intel.com>
Date: 2023-05-19 05:10:55
Reply_mail: <20230519051055.106893-12-beilei.xing@intel.com>

DPDK git baseline: Repo:dpdk, CommitID: a399d7b5a994e335c446d4b15d7622d71dd8848c


Meson Build Summary: 25 Builds Done, 0 Successful, 25 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | fail       |              |            |            |           |          |            |
| FreeBSD13-64      | fail       | fail         |            | fail       | fail      |          |            |
| RHEL92-64         | fail       | fail         |            | fail       | fail      |          |            |
| SUSE15-64         | fail       | fail         |            |            |           |          |            |
| CBL-Mariner2.0-64 | fail       |              |            |            |           |          |            |
| UB2004-64         | fail       |              |            |            |           |          |            |
| UB2204-32         | fail       |              |            |            |           |          |            |
| RHEL87-64         | fail       |              |            |            |           |          |            |
| UB2204-64         | fail       | fail         |            |            |           | fail     | fail       |
| CentOS79-64       | fail       |              |            |            |           |          |            |
| RHEL92-64Rt       | fail       |              |            |            |           |          |            |
| UB2304-64         | fail       |              |            |            |           |          |            |
| FC38-64           | fail       | fail         |            |            |           |          |            |
| UB2204-64Rt       | fail       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: OpenAnolis8.8-64
	Kernel Version: 5.10.134-13.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
	Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
	x86_64-native-linuxapp-gcc

OS: FreeBSD13-64
	Kernel Version: 13.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
	Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL92-64
	Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.14.21-150400.22-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 11.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: CBL-Mariner2.0-64
	Kernel Version: 5.15.55.1_2e9a4f9+
	GCC Version: gcc (GCC) 11.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-gcc

OS: UB2204-32
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL87-64
	Kernel Version: 4.18.0-425.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.81.1.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc

OS: RHEL92-64Rt
	Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc

OS: UB2304-64
	Kernel Version: 6.2.0-20-generic
	GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC38-64
	Kernel Version: 6.2.9-300.fc38.x86_64
	GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
	Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.17.5-051705-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: OpenAnolis8.8-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct virtchnl2_queue_group_id *qg_ids);
              ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
          struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[507/3266] Generating lib/node.sym_chk with a custom command (wrapped by meson to capture output)
[508/3266] Generating drivers/rte_common_cpt.sym_chk with a custom command (wrapped by meson to capture output)
[509/3266] Generating lib/graph.sym_chk with a custom command (wrapped by meson to capture output)
[510/3266] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[511/3266] Linking static target drivers/libtmp_rte_common_iavf.a
[512/3266] Linking static target drivers/librte_common_dpaax.a
[513/3266] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[514/3266] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[515/3266] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/idpf -I../drivers/common/idpf -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c
In file included from ../drivers/net/cpfl/cpfl_ethdev.h:19,
                 from ../drivers/net/cpfl/cpfl_ethdev.c:14:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_p2p_queue_grps_del':
../drivers/net/cpfl/cpfl_ethdev.c:1038:41: error: array type has incomplete element type 'struct virtchnl2_queue_group_id'
 1038 |         struct virtchnl2_queue_group_id qg_ids[CPFL_P2P_NB_QUEUE_GRPS] = {0};
      |                                         ^~~~~~
../drivers/net/cpfl/cpfl_ethdev.c:1038:41: error: unused variable 'qg_ids' [-Werror=unused-variable]
../drivers/net/cpfl/cpfl_ethdev.c: At top level:
../drivers/net/cpfl/cpfl_ethdev.c:1636:28: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 1636 |                     struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_p2p_q_grps_add':
../drivers/net/cpfl/cpfl_ethdev.c:1641:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1641 |         p2p_queue_grps_info->vport_id = vport->vport_id;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1642:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1642 |         p2p_queue_grps_info->qg_info.num_queue_groups = CPFL_P2P_NB_QUEUE_GRPS;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1643:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1643 |         p2p_queue_grps_info->qg_info.groups[0].num_rx_q = CPFL_MAX_P2P_NB_QUEUES;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1644:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1644 |         p2p_queue_grps_info->qg_info.groups[0].num_rx_bufq = CPFL_P2P_NB_RX_BUFQ;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1645:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1645 |         p2p_queue_grps_info->qg_info.groups[0].num_tx_q = CPFL_MAX_P2P_NB_QUEUES;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1646:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1646 |         p2p_queue_grps_info->qg_info.groups[0].num_tx_complq = CPFL_P2P_NB_TX_COMPLQ;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1647:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1647 |         p2p_queue_grps_info->qg_info.groups[0].qg_id.queue_group_id = CPFL_P2P_QUEUE_GRP_ID;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1648:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1648 |         p2p_queue_grps_info->qg_info.groups[0].qg_id.queue_group_type = VIRTCHNL2_QUEUE_GROUP_P2P;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1649:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1649 |         p2p_queue_grps_info->qg_info.groups[0].rx_q_grp_info.rss_lut_size = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1650:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1650 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.tx_tc = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1651:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1651 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.priority = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1652:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1652 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.is_sp = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1653:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1653 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.pir_weight = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1655:45: error: passing argument 2 of 'idpf_vc_queue_grps_add' from incompatible pointer type [-Werror=incompatible-pointer-types]
 1655 |         ret = idpf_vc_queue_grps_add(vport, p2p_queue_grps_info, p2p_q_vc_out_info);
      |                                             ^~~~~~~~~~~~~~~~~~~
      |                                             |
      |                                             struct virtchnl2_add_queue_groups *
../drivers/common/idpf/idpf_common_virtchnl.h:83:59: note: expected 'struct virtchnl2_add_queue_groups *' but argument is of type 'struct virtchnl2_add_queue_groups *'
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: At top level:
../drivers/net/cpfl/cpfl_ethdev.c:1666:33: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 1666 |                          struct virtchnl2_add_queue_groups *p2p_q_vc_out_info)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_p2p_queue_info_init':
../drivers/net/cpfl/cpfl_ethdev.c:1672:30: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1672 |         if (p2p_q_vc_out_info->qg_info.groups[0].qg_id.queue_group_type !=
      |                              ^~
../drivers/net/cpfl/cpfl_ethdev.c:1678:43: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1678 |         vc_chunks_out = &p2p_q_vc_out_info->qg_info.groups[0].chunks;
      |                                           ^~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_dev_vport_init':
../drivers/net/cpfl/cpfl_ethdev.c:1733:43: error: storage size of 'p2p_queue_grps_info' isn't known
 1733 |         struct virtchnl2_add_queue_groups p2p_queue_grps_info;
      |                                           ^~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c:1778:40: error: passing argument 2 of 'cpfl_p2p_queue_info_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
 1778 |                                        (struct virtchnl2_add_queue_groups *)p2p_q_vc_out_info);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        struct virtchnl2_add_queue_groups *
../drivers/net/cpfl/cpfl_ethdev.c:1666:61: note: expected 'struct virtchnl2_add_queue_groups *' but argument is of type 'struct virtchnl2_add_queue_groups *'
 1666 |                          struct virtchnl2_add_queue_groups *p2p_q_vc_out_info)
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c:1733:43: error: unused variable 'p2p_queue_grps_info' [-Werror=unused-variable]
 1733 |         struct virtchnl2_add_queue_groups p2p_queue_grps_info;
      |                                           ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[554/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o
[555/1870] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[556/1870] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o
FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/idpf -I../drivers/common/idpf -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -c ../drivers/net/cpfl/cpfl_rxtx.c
In file included from ../drivers/net/cpfl/cpfl_ethdev.h:19,
                 from ../drivers/net/cpfl/cpfl_rxtx.c:9:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[557/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o
[558/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o
[559/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o
[560/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o
[561/1870] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[562/1870] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/idpf -I../drivers/common/idpf -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -c ../drivers/net/cpfl/cpfl_rxtx.c
In file included from ../drivers/net/cpfl/cpfl_rxtx.c:9:
In file included from ../drivers/net/cpfl/cpfl_ethdev.h:19:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
2 errors generated.
[768/1870] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o 
clang -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/idpf -I../drivers/common/idpf -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c
In file included from ../drivers/net/cpfl/cpfl_ethdev.c:14:
In file included from ../drivers/net/cpfl/cpfl_ethdev.h:19:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
../drivers/net/cpfl/cpfl_ethdev.c:1038:40: error: array has incomplete element type 'struct virtchnl2_queue_group_id'
        struct virtchnl2_queue_group_id qg_ids[CPFL_P2P_NB_QUEUE_GRPS] = {0};
                                              ^
../drivers/net/cpfl/cpfl_ethdev.c:1038:9: note: forward declaration of 'struct virtchnl2_queue_group_id'
        struct virtchnl2_queue_group_id qg_ids[CPFL_P2P_NB_QUEUE_GRPS] = {0};
               ^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1641:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->vport_id = vport->vport_id;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1642:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.num_queue_groups = CPFL_P2P_NB_QUEUE_GRPS;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1643:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].num_rx_q = CPFL_MAX_P2P_NB_QUEUES;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1644:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].num_rx_bufq = CPFL_P2P_NB_RX_BUFQ;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1645:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].num_tx_q = CPFL_MAX_P2P_NB_QUEUES;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1646:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].num_tx_complq = CPFL_P2P_NB_TX_COMPLQ;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1647:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].qg_id.queue_group_id = CPFL_P2P_QUEUE_GRP_ID;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1648:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].qg_id.queue_group_type = VIRTCHNL2_QUEUE_GROUP_P2P;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1649:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].rx_q_grp_info.rss_lut_size = 0;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1650:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.tx_tc = 0;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1651:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.priority = 0;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1652:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.is_sp = 0;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1653:21: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
        p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.pir_weight = 0;
        ~~~~~~~~~~~~~~~~~~~^
../drivers/net/cpfl/cpfl_ethdev.c:1636:14: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                    struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                           ^
../drivers/net/cpfl/cpfl_ethdev.c:1655:38: error: incompatible pointer types passing 'struct virtchnl2_add_queue_groups *' to parameter of type 'struct virtchnl2_add_queue_groups *' [-Werror,-Wincompatible-pointer-types]
        ret = idpf_vc_queue_grps_add(vport, p2p_queue_grps_info, p2p_q_vc_out_info);
                                            ^~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:45: note: passing argument to parameter 'ptp_queue_grps_info' here
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                                                          ^
../drivers/net/cpfl/cpfl_ethdev.c:1666:12: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                         struct virtchnl2_add_queue_groups *p2p_q_vc_out_info)
                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[769/1870] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[770/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o
[771/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o
[772/1870] Generating drivers/rte_net_bnxt.pmd.c with a custom command
[773/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o
[774/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o
[775/1870] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[776/1870] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[487/1774] Generating drivers/rte_common_cpt.sym_chk with a custom command (wrapped by meson to capture output)
[488/1774] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[489/1774] Generating lib/graph.sym_chk with a custom command (wrapped by meson to capture output)
[490/1774] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for 'idpf_vc_queue_grps_add'; have 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)' {aka 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)'}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of 'idpf_vc_queue_grps_add' with type 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)' {aka 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)'}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function 'idpf_vc_queue_grps_add':
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_add_queue_groups'
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_queue_group_info'
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: 'VIRTCHNL2_OP_ADD_QUEUE_GROUPS' undeclared (first use in this function); did you mean 'VIRTCHNL2_OP_ADD_QUEUES'?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for 'idpf_vc_queue_grps_del'; have 'int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)' {aka 'int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)'}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of 'idpf_vc_queue_grps_del' with type 'int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)' {aka 'int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)'}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function 'idpf_vc_queue_grps_del':
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_delete_queue_groups'
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_queue_group_id'
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type 'struct virtchnl2_delete_queue_groups'
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type 'struct virtchnl2_delete_queue_groups'
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type 'struct virtchnl2_delete_queue_groups'
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_queue_group_id'
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: 'VIRTCHNL2_OP_DEL_QUEUE_GROUPS' undeclared (first use in this function); did you mean 'VIRTCHNL2_OP_DEL_QUEUES'?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[491/1774] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[492/1774] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[493/1774] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[494/1774] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[495/1774] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #5:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/idpf -I../drivers/common/idpf -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_ethdev.c.o -c ../drivers/net/cpfl/cpfl_ethdev.c
In file included from ../drivers/net/cpfl/cpfl_ethdev.h:19,
                 from ../drivers/net/cpfl/cpfl_ethdev.c:14:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_p2p_queue_grps_del':
../drivers/net/cpfl/cpfl_ethdev.c:1038:41: error: array type has incomplete element type 'struct virtchnl2_queue_group_id'
 1038 |         struct virtchnl2_queue_group_id qg_ids[CPFL_P2P_NB_QUEUE_GRPS] = {0};
      |                                         ^~~~~~
../drivers/net/cpfl/cpfl_ethdev.c:1038:41: error: unused variable 'qg_ids' [-Werror=unused-variable]
../drivers/net/cpfl/cpfl_ethdev.c: At top level:
../drivers/net/cpfl/cpfl_ethdev.c:1636:28: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 1636 |                     struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_p2p_q_grps_add':
../drivers/net/cpfl/cpfl_ethdev.c:1641:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1641 |         p2p_queue_grps_info->vport_id = vport->vport_id;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1642:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1642 |         p2p_queue_grps_info->qg_info.num_queue_groups = CPFL_P2P_NB_QUEUE_GRPS;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1643:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1643 |         p2p_queue_grps_info->qg_info.groups[0].num_rx_q = CPFL_MAX_P2P_NB_QUEUES;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1644:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1644 |         p2p_queue_grps_info->qg_info.groups[0].num_rx_bufq = CPFL_P2P_NB_RX_BUFQ;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1645:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1645 |         p2p_queue_grps_info->qg_info.groups[0].num_tx_q = CPFL_MAX_P2P_NB_QUEUES;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1646:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1646 |         p2p_queue_grps_info->qg_info.groups[0].num_tx_complq = CPFL_P2P_NB_TX_COMPLQ;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1647:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1647 |         p2p_queue_grps_info->qg_info.groups[0].qg_id.queue_group_id = CPFL_P2P_QUEUE_GRP_ID;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1648:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1648 |         p2p_queue_grps_info->qg_info.groups[0].qg_id.queue_group_type = VIRTCHNL2_QUEUE_GROUP_P2P;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1649:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1649 |         p2p_queue_grps_info->qg_info.groups[0].rx_q_grp_info.rss_lut_size = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1650:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1650 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.tx_tc = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1651:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1651 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.priority = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1652:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1652 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.is_sp = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1653:28: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1653 |         p2p_queue_grps_info->qg_info.groups[0].tx_q_grp_info.pir_weight = 0;
      |                            ^~
../drivers/net/cpfl/cpfl_ethdev.c:1655:45: error: passing argument 2 of 'idpf_vc_queue_grps_add' from incompatible pointer type [-Werror=incompatible-pointer-types]
 1655 |         ret = idpf_vc_queue_grps_add(vport, p2p_queue_grps_info, p2p_q_vc_out_info);
      |                                             ^~~~~~~~~~~~~~~~~~~
      |                                             |
      |                                             struct virtchnl2_add_queue_groups *
../drivers/common/idpf/idpf_common_virtchnl.h:83:59: note: expected 'struct virtchnl2_add_queue_groups *' but argument is of type 'struct virtchnl2_add_queue_groups *'
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: At top level:
../drivers/net/cpfl/cpfl_ethdev.c:1666:33: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 1666 |                          struct virtchnl2_add_queue_groups *p2p_q_vc_out_info)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_p2p_queue_info_init':
../drivers/net/cpfl/cpfl_ethdev.c:1672:30: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1672 |         if (p2p_q_vc_out_info->qg_info.groups[0].qg_id.queue_group_type !=
      |                              ^~
../drivers/net/cpfl/cpfl_ethdev.c:1678:43: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
 1678 |         vc_chunks_out = &p2p_q_vc_out_info->qg_info.groups[0].chunks;
      |                                           ^~
../drivers/net/cpfl/cpfl_ethdev.c: In function 'cpfl_dev_vport_init':
../drivers/net/cpfl/cpfl_ethdev.c:1733:43: error: storage size of 'p2p_queue_grps_info' isn't known
 1733 |         struct virtchnl2_add_queue_groups p2p_queue_grps_info;
      |                                           ^~~~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c:1778:40: error: passing argument 2 of 'cpfl_p2p_queue_info_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
 1778 |                                        (struct virtchnl2_add_queue_groups *)p2p_q_vc_out_info);
      |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                        |
      |                                        struct virtchnl2_add_queue_groups *
../drivers/net/cpfl/cpfl_ethdev.c:1666:61: note: expected 'struct virtchnl2_add_queue_groups *' but argument is of type 'struct virtchnl2_add_queue_groups *'
 1666 |                          struct virtchnl2_add_queue_groups *p2p_q_vc_out_info)
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../drivers/net/cpfl/cpfl_ethdev.c:1733:43: error: unused variable 'p2p_queue_grps_info' [-Werror=unused-variable]
 1733 |         struct virtchnl2_add_queue_groups p2p_queue_grps_info;
      |                                           ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[550/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_ethdev.c.o
[551/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbevf_main.c.o
[552/1870] Compiling C object drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o
FAILED: drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_cpfl.a.p -Idrivers -I../drivers -Idrivers/net/cpfl -I../drivers/net/cpfl -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/idpf -I../drivers/common/idpf -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cpfl -MD -MQ drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -MF drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o.d -o drivers/libtmp_rte_net_cpfl.a.p/net_cpfl_cpfl_rxtx.c.o -c ../drivers/net/cpfl/cpfl_rxtx.c
In file included from ../drivers/net/cpfl/cpfl_ethdev.h:19,
                 from ../drivers/net/cpfl/cpfl_rxtx.c:9:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[553/1870] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[554/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o
[555/1870] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_ethdev.c.o
[556/1870] Generating drivers/rte_net_bnxt.pmd.c with a custom command
[557/1870] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[558/1870] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #6:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[515/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[516/3270] Generating symbol file drivers/librte_common_dpaax.so.23.2.p/librte_common_dpaax.so.23.2.symbols
[517/3270] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[518/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[519/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[520/3270] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[521/3270] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[522/3270] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[523/3270] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #7:
OS: RHEL92-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
2 errors generated.
[510/3235] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[511/3235] Generating drivers/rte_common_iavf.pmd.c with a custom command
[512/3235] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[513/3235] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[514/3235] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[515/3235] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[516/3235] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[517/3235] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for 'idpf_vc_queue_grps_add'
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration is here
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.c:411:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_add_queue_groups'
        size = sizeof(*p2p_queue_grps_info) +
                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:29: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
               (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
                ~~~~~~~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:413:6: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                   ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:413:20: note: forward declaration of 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:416:13: error: use of undeclared identifier 'VIRTCHNL2_OP_ADD_QUEUE_GROUPS'; did you mean 'VIRTCHNL_OP_MAP_QUEUE_VECTOR'?
        args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_MAP_QUEUE_VECTOR
../drivers/common/idpf/base/virtchnl.h:182:2: note: 'VIRTCHNL_OP_MAP_QUEUE_VECTOR' declared here
        VIRTCHNL_OP_MAP_QUEUE_VECTOR = 111,
        ^
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for 'idpf_vc_queue_grps_del'
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration is here
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.c:443:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_delete_queue_groups'
        size = sizeof(*vc_del_q_grps) +
                     ^~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:28: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
                                  ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:447:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->vport_id = vport->vport_id;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:448:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->num_queue_groups = num_q_grps;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:449:22: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        memcpy(vc_del_q_grps->qg_ids, qg_ids,
               ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:450:22: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               num_q_grps * sizeof(struct virtchnl2_queue_group_id));
                            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:453:13: error: use of undeclared identifier 'VIRTCHNL2_OP_DEL_QUEUE_GROUPS'
        args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
                   ^
17 errors generated.
[518/3235] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #8:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[529/3128] Generating symbol file drivers/librte_common_dpaax.so.23.2.p/librte_common_dpaax.so.23.2.symbols
[530/3128] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[531/3128] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[532/3128] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[533/3128] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[534/3128] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[535/3128] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[536/3128] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[537/3128] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #9:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[516/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[517/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[518/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_controlq.c.o
[519/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[520/3270] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[521/3270] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[522/3270] Linking static target drivers/librte_common_iavf.a
[523/3270] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[524/3270] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #10:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
2 errors generated.
[509/3316] Generating drivers/rte_common_iavf.pmd.c with a custom command
[510/3316] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[511/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for 'idpf_vc_queue_grps_add'
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration is here
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.c:411:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_add_queue_groups'
        size = sizeof(*p2p_queue_grps_info) +
                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:29: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
               (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
                ~~~~~~~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:413:6: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                   ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:413:20: note: forward declaration of 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:416:13: error: use of undeclared identifier 'VIRTCHNL2_OP_ADD_QUEUE_GROUPS'; did you mean 'VIRTCHNL_OP_MAP_QUEUE_VECTOR'?
        args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_MAP_QUEUE_VECTOR
../drivers/common/idpf/base/virtchnl.h:182:2: note: 'VIRTCHNL_OP_MAP_QUEUE_VECTOR' declared here
        VIRTCHNL_OP_MAP_QUEUE_VECTOR = 111,
        ^
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for 'idpf_vc_queue_grps_del'
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration is here
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.c:443:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_delete_queue_groups'
        size = sizeof(*vc_del_q_grps) +
                     ^~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:28: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
                                  ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:447:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->vport_id = vport->vport_id;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:448:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->num_queue_groups = num_q_grps;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:449:22: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        memcpy(vc_del_q_grps->qg_ids, qg_ids,
               ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:450:22: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               num_q_grps * sizeof(struct virtchnl2_queue_group_id));
                            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:453:13: error: use of undeclared identifier 'VIRTCHNL2_OP_DEL_QUEUE_GROUPS'
        args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
                   ^
17 errors generated.
[512/3316] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[513/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[514/3316] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[515/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[516/3316] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[517/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #11:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:0:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct virtchnl2_queue_group_id *qg_ids);
              ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
          struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[517/3314] Compiling C object drivers/librte_common_iavf.so.23.2.p/meson-generated_.._rte_common_iavf.pmd.c.o
[518/3314] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[519/3314] Generating symbol file lib/librte_graph.so.23.2.p/librte_graph.so.23.2.symbols
[520/3314] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[521/3314] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[522/3314] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[523/3314] Generating lib/vhost.sym_chk with a custom command (wrapped by meson to capture output)
[524/3314] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o
[525/3314] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #12:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[506/3266] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for 'idpf_vc_queue_grps_add'; have 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)' {aka 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)'}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of 'idpf_vc_queue_grps_add' with type 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)' {aka 'int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)'}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function 'idpf_vc_queue_grps_add':
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_add_queue_groups'
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type 'struct virtchnl2_add_queue_groups'
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_queue_group_info'
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: 'VIRTCHNL2_OP_ADD_QUEUE_GROUPS' undeclared (first use in this function); did you mean 'VIRTCHNL2_OP_ADD_QUEUES'?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: 'struct virtchnl2_queue_group_id' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for 'idpf_vc_queue_grps_del'; have 'int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)' {aka 'int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)'}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of 'idpf_vc_queue_grps_del' with type 'int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)' {aka 'int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)'}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function 'idpf_vc_queue_grps_del':
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_delete_queue_groups'
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_queue_group_id'
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type 'struct virtchnl2_delete_queue_groups'
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type 'struct virtchnl2_delete_queue_groups'
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type 'struct virtchnl2_delete_queue_groups'
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl2_queue_group_id'
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: 'VIRTCHNL2_OP_DEL_QUEUE_GROUPS' undeclared (first use in this function); did you mean 'VIRTCHNL2_OP_DEL_QUEUES'?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[507/3266] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[508/3266] Generating lib/graph.sym_chk with a custom command (wrapped by meson to capture output)
[509/3266] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[510/3266] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[511/3266] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[512/3266] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[513/3266] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[514/3266] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |       struct virtchnl2_queue_group_id *qg_ids);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |          struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[514/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |       struct virtchnl2_queue_group_id *qg_ids);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |          struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |          struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ was here
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |  size = sizeof(*p2p_queue_grps_info) +
      |               ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:29: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |         (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |      sizeof(struct virtchnl2_queue_group_info);
      |             ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:13: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |  args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:13: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |      struct virtchnl2_queue_group_id *qg_ids)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ was here
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |  size = sizeof(*vc_del_q_grps) +
      |               ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:35: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |         (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                   ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:15: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |  vc_del_q_grps->vport_id = vport->vport_id;
      |               ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:15: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |  vc_del_q_grps->num_queue_groups = num_q_grps;
      |               ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |  memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |         num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                             ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:13: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |  args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[515/3316] Generating rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[516/3316] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[517/3316] Generating rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[518/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[519/3316] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[520/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[521/3316] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[522/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #14:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[503/2185] Compiling C object drivers/librte_common_iavf.a.p/meson-generated_.._rte_common_iavf.pmd.c.o
[504/2185] Generating symbol file drivers/librte_common_dpaax.so.23.2.p/librte_common_dpaax.so.23.2.symbols
[505/2185] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[506/2185] Compiling C object drivers/libtmp_rte_net_ena.a.p/net_ena_ena_ethdev.c.o
[507/2185] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[508/2185] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[509/2185] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[510/2185] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[511/2185] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #15:
OS: RHEL87-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct virtchnl2_queue_group_id *qg_ids);
              ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
          struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[507/3184] Compiling C object drivers/librte_common_iavf.so.23.2.p/meson-generated_.._rte_common_iavf.pmd.c.o
[508/3184] Linking target drivers/librte_common_cpt.so.23.2
[509/3184] Generating rte_common_dpaax.sym_chk with a meson_exe.py custom command
[510/3184] Generating rte_common_iavf.sym_chk with a meson_exe.py custom command
[511/3184] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[512/3184] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[513/3184] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[514/3184] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[515/3184] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #16:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[519/3320] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[520/3320] Generating symbol file drivers/librte_common_dpaax.so.23.2.p/librte_common_dpaax.so.23.2.symbols
[521/3320] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[522/3320] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[523/3320] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[524/3320] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[525/3320] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[526/3320] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[527/3320] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #17:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[514/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[515/3316] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[516/3316] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[517/3316] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[518/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[519/3316] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[520/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[521/3316] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[522/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #18:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
2 errors generated.
[516/3316] Linking target drivers/librte_common_dpaax.so.23.2
[517/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for 'idpf_vc_queue_grps_add'
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration is here
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.c:411:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_add_queue_groups'
        size = sizeof(*p2p_queue_grps_info) +
                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:29: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
               (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
                ~~~~~~~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:413:6: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                   ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:413:20: note: forward declaration of 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:416:13: error: use of undeclared identifier 'VIRTCHNL2_OP_ADD_QUEUE_GROUPS'; did you mean 'VIRTCHNL_OP_MAP_QUEUE_VECTOR'?
        args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_MAP_QUEUE_VECTOR
../drivers/common/idpf/base/virtchnl.h:182:2: note: 'VIRTCHNL_OP_MAP_QUEUE_VECTOR' declared here
        VIRTCHNL_OP_MAP_QUEUE_VECTOR = 111,
        ^
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for 'idpf_vc_queue_grps_del'
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration is here
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.c:443:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_delete_queue_groups'
        size = sizeof(*vc_del_q_grps) +
                     ^~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:28: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
                                  ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:447:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->vport_id = vport->vport_id;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:448:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->num_queue_groups = num_q_grps;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:449:22: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        memcpy(vc_del_q_grps->qg_ids, qg_ids,
               ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:450:22: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               num_q_grps * sizeof(struct virtchnl2_queue_group_id));
                            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:453:13: error: use of undeclared identifier 'VIRTCHNL2_OP_DEL_QUEUE_GROUPS'
        args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
                   ^
17 errors generated.
[518/3316] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[519/3316] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[520/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[521/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[522/3316] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[523/3316] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[524/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #19:
OS: UB2204-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[513/3282] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[514/3282] Compiling C object drivers/libtmp_rte_net_avp.a.p/net_avp_avp_ethdev.c.o
[515/3282] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[516/3282] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[517/3282] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[518/3282] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[519/3282] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[520/3282] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[521/3282] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #20:
OS: CentOS79-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:0:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: 'struct virtchnl2_queue_group_id' declared inside parameter list [-Werror]
       struct virtchnl2_queue_group_id *qg_ids);
              ^
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
../drivers/common/idpf/idpf_common_virtchnl.h:84:10: error: 'struct virtchnl2_add_queue_groups' declared inside parameter list [-Werror]
          uint8_t *ptp_queue_grps_out);
          ^
cc1: error: unrecognized command line option "-Wno-implicit-fallthrough" [-Werror]
cc1: all warnings being treated as errors
[509/3263] Linking target lib/librte_node.so.23.2
[510/3263] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[511/3263] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[512/3263] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[513/3263] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[514/3263] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[515/3263] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[516/3263] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o
[517/3263] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #21:
OS: RHEL92-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[509/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[510/3270] Generating drivers/rte_common_iavf.pmd.c with a custom command
[511/3270] Generating symbol file drivers/librte_common_cpt.so.23.2.p/librte_common_cpt.so.23.2.symbols
[512/3270] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[513/3270] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[514/3270] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[515/3270] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[516/3270] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[517/3270] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #22:
OS: UB2304-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[512/3316] Linking static target drivers/librte_common_iavf.a
[513/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[514/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[515/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_controlq.c.o
[516/3316] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[517/3316] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[518/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[519/3316] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[520/3316] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #23:
OS: FC38-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[516/3478] Generating symbol file drivers/librte_common_dpaax.so.23.2.p/librte_common_dpaax.so.23.2.symbols
[517/3478] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[518/3478] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[519/3478] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[520/3478] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[521/3478] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[522/3478] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[523/3478] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[524/3478] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #24:
OS: FC38-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
2 errors generated.
[511/3474] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[512/3474] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
clang -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:14: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                           struct virtchnl2_queue_group_id *qg_ids);
                                  ^
../drivers/common/idpf/idpf_common_virtchnl.h:83:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: error: declaration of 'struct virtchnl2_add_queue_groups' will not be visible outside of this function [-Werror,-Wvisibility]
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for 'idpf_vc_queue_grps_add'
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration is here
idpf_vc_queue_grps_add(struct idpf_vport *vport,
^
../drivers/common/idpf/idpf_common_virtchnl.c:411:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_add_queue_groups'
        size = sizeof(*p2p_queue_grps_info) +
                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:29: error: incomplete definition of type 'struct virtchnl2_add_queue_groups'
               (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
                ~~~~~~~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:403:17: note: forward declaration of 'struct virtchnl2_add_queue_groups'
                       struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
                              ^
../drivers/common/idpf/idpf_common_virtchnl.c:413:6: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                   ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:413:20: note: forward declaration of 'struct virtchnl2_queue_group_info'
                   sizeof(struct virtchnl2_queue_group_info);
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:416:13: error: use of undeclared identifier 'VIRTCHNL2_OP_ADD_QUEUE_GROUPS'; did you mean 'VIRTCHNL_OP_MAP_QUEUE_VECTOR'?
        args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_MAP_QUEUE_VECTOR
../drivers/common/idpf/base/virtchnl.h:182:2: note: 'VIRTCHNL_OP_MAP_QUEUE_VECTOR' declared here
        VIRTCHNL_OP_MAP_QUEUE_VECTOR = 111,
        ^
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: error: declaration of 'struct virtchnl2_queue_group_id' will not be visible outside of this function [-Werror,-Wvisibility]
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for 'idpf_vc_queue_grps_del'
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration is here
int idpf_vc_queue_grps_del(struct idpf_vport *vport,
    ^
../drivers/common/idpf/idpf_common_virtchnl.c:443:15: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_delete_queue_groups'
        size = sizeof(*vc_del_q_grps) +
                     ^~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:28: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
                                  ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:447:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->vport_id = vport->vport_id;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:448:15: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        vc_del_q_grps->num_queue_groups = num_q_grps;
        ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:449:22: error: incomplete definition of type 'struct virtchnl2_delete_queue_groups'
        memcpy(vc_del_q_grps->qg_ids, qg_ids,
               ~~~~~~~~~~~~~^
../drivers/common/idpf/idpf_common_virtchnl.c:438:9: note: forward declaration of 'struct virtchnl2_delete_queue_groups'
        struct virtchnl2_delete_queue_groups *vc_del_q_grps;
               ^
../drivers/common/idpf/idpf_common_virtchnl.c:450:22: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl2_queue_group_id'
               num_q_grps * sizeof(struct virtchnl2_queue_group_id));
                            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:435:13: note: forward declaration of 'struct virtchnl2_queue_group_id'
                          struct virtchnl2_queue_group_id *qg_ids)
                                 ^
../drivers/common/idpf/idpf_common_virtchnl.c:453:13: error: use of undeclared identifier 'VIRTCHNL2_OP_DEL_QUEUE_GROUPS'
        args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
                   ^
17 errors generated.
[513/3474] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[514/3474] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[515/3474] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[516/3474] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[517/3474] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[518/3474] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[519/3474] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped




*Build Failed #25:
OS: UB2204-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_virtchnl.c.o -c ../drivers/common/idpf/idpf_common_virtchnl.c
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:403:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  403 |                        struct virtchnl2_add_queue_groups *p2p_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:402:1: error: conflicting types for ‘idpf_vc_queue_grps_add’; have ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
  402 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:82:1: note: previous declaration of ‘idpf_vc_queue_grps_add’ with type ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, uint8_t *)’ {aka ‘int(struct idpf_vport *, struct virtchnl2_add_queue_groups *, unsigned char *)’}
   82 | idpf_vc_queue_grps_add(struct idpf_vport *vport,
      | ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_add’:
../drivers/common/idpf/idpf_common_virtchnl.c:411:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_add_queue_groups’
  411 |         size = sizeof(*p2p_queue_grps_info) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:412:36: error: invalid use of undefined type ‘struct virtchnl2_add_queue_groups’
  412 |                (p2p_queue_grps_info->qg_info.num_queue_groups - 1) *
      |                                    ^~
../drivers/common/idpf/idpf_common_virtchnl.c:413:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_info’
  413 |                    sizeof(struct virtchnl2_queue_group_info);
      |                           ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: error: ‘VIRTCHNL2_OP_ADD_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_ADD_QUEUES’?
  416 |         args.ops = VIRTCHNL2_OP_ADD_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_ADD_QUEUES
../drivers/common/idpf/idpf_common_virtchnl.c:416:20: note: each undeclared identifier is reported only once for each function it appears in
../drivers/common/idpf/idpf_common_virtchnl.c: At top level:
../drivers/common/idpf/idpf_common_virtchnl.c:435:34: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  435 |                           struct virtchnl2_queue_group_id *qg_ids)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:433:5: error: conflicting types for ‘idpf_vc_queue_grps_del’; have ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
  433 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/common/idpf/idpf_common_virtchnl.c:5:
../drivers/common/idpf/idpf_common_virtchnl.h:77:5: note: previous declaration of ‘idpf_vc_queue_grps_del’ with type ‘int(struct idpf_vport *, uint16_t,  struct virtchnl2_queue_group_id *)’ {aka ‘int(struct idpf_vport *, short unsigned int,  struct virtchnl2_queue_group_id *)’}
   77 | int idpf_vc_queue_grps_del(struct idpf_vport *vport,
      |     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c: In function ‘idpf_vc_queue_grps_del’:
../drivers/common/idpf/idpf_common_virtchnl.c:443:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_delete_queue_groups’
  443 |         size = sizeof(*vc_del_q_grps) +
      |                      ^
../drivers/common/idpf/idpf_common_virtchnl.c:444:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  444 |                (num_q_grps - 1) * sizeof(struct virtchnl2_queue_group_id);
      |                                          ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:447:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  447 |         vc_del_q_grps->vport_id = vport->vport_id;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:448:22: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  448 |         vc_del_q_grps->num_queue_groups = num_q_grps;
      |                      ^~
../drivers/common/idpf/idpf_common_virtchnl.c:449:29: error: invalid use of undefined type ‘struct virtchnl2_delete_queue_groups’
  449 |         memcpy(vc_del_q_grps->qg_ids, qg_ids,
      |                             ^~
../drivers/common/idpf/idpf_common_virtchnl.c:450:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl2_queue_group_id’
  450 |                num_q_grps * sizeof(struct virtchnl2_queue_group_id));
      |                                    ^~~~~~
../drivers/common/idpf/idpf_common_virtchnl.c:453:20: error: ‘VIRTCHNL2_OP_DEL_QUEUE_GROUPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL2_OP_DEL_QUEUES’?
  453 |         args.ops = VIRTCHNL2_OP_DEL_QUEUE_GROUPS;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    VIRTCHNL2_OP_DEL_QUEUES
cc1: all warnings being treated as errors
[519/3320] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output)
[520/3320] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o
FAILED: drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o 
gcc -Idrivers/libtmp_rte_common_idpf.a.p -Idrivers -I../drivers -Idrivers/common/idpf -I../drivers/common/idpf -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_AVX512_SUPPORT -Wno-unused-value -Wno-unused-variable -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.idpf -MD -MQ drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -MF drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o.d -o drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_device.c.o -c ../drivers/common/idpf/idpf_common_device.c
In file included from ../drivers/common/idpf/idpf_common_device.c:7:
../drivers/common/idpf/idpf_common_virtchnl.h:79:35: error: ‘struct virtchnl2_queue_group_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   79 |                            struct virtchnl2_queue_group_id *qg_ids);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/idpf/idpf_common_virtchnl.h:83:31: error: ‘struct virtchnl2_add_queue_groups’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   83 |                        struct virtchnl2_add_queue_groups *ptp_queue_grps_info,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[521/3320] Generating drivers/rte_common_iavf.sym_chk with a custom command (wrapped by meson to capture output)
[522/3320] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_base_idpf_common.c.o
[523/3320] Compiling C object drivers/common/idpf/libidpf_common_avx512_lib.a.p/idpf_common_rxtx_avx512.c.o
[524/3320] Compiling C object drivers/libtmp_rte_common_idpf.a.p/common_idpf_idpf_common_rxtx.c.o
[525/3320] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[526/3320] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[527/3320] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-19  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19  5:56 [dpdk-test-report] |FAILURE| pw(127083) sid(28078) job(PER_PATCH_BUILD7443)[v2, 10/10] net/cpfl: support hairpin bind/unbind sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).