automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(106860) sid(21466) job(PER_PATCH_BUILD1036)[7/7] buildtools/chkincs: test headers for C++ compatibility
@ 2022-02-04 18:05 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-02-04 18:05 UTC (permalink / raw)
  To: test-report, bruce.richardson

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


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

_Compilation issues_

Submitter: Bruce Richardson <bruce.richardson@intel.com>
Date: 2022-02-04 17:42:09
Reply_mail: 20220204174209.440207-8-bruce.richardson@intel.com

DPDK git baseline: Repo:dpdk, CommitID: 416c1bef9dbc9aed437f87e735500589d2e3d844


Meson Build Summary: 20 Builds Done, 6 Successful, 14 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+--------------+------------+--------------+------------+------------+-----------+----------+
| FC35-64      | fail       | fail         |            |            |           |          |
| FreeBSD13-64 | pass       | pass         |            | pass       | pass      |          |
| RHEL84-64    | fail       | fail         | fail       | pass       | fail      |          |
| SUSE15-64    | fail       | fail         |            |            |           |          |
| UB2004-32    | fail       |              |            |            |           |          |
| UB2004-64    | fail       | fail         | fail       |            |           | pass     |
| UB2110-64    | fail       |              |            |            |           |          |
| RHEL85-64    | fail       |              |            |            |           |          |
+--------------+------------+--------------+------------+------------+-----------+----------+

Comments: 
Beacasue 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: FC35-64
	Kernel Version: 5.14.16-301.fc35.x86_64
	GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
	Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD13-64
	Kernel Version: 13.0-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
	Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL84-64
	Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
	Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
	ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc

OS: SUSE15-64
	Kernel Version: 5.3.18-57-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: UB2004-32
	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
	i686-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-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: UB2110-64
	Kernel Version: 5.13.0-19-generic
	GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
	Clang Version: 13.0.0-2
	x86_64-native-linuxapp-gcc

OS: RHEL85-64
	Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
	Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
	ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FC35-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -c ../examples/vhost_blk/vhost_blk.c
In file included from ../examples/vhost_blk/vhost_blk.c:27:
../examples/vhost_blk/blk_spec.h:74:36: error: array type has incomplete element type ‘struct vhost_memory_region’
   74 |         struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
      |                                    ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:42: error: field ‘state’ has incomplete type
   88 |                 struct vhost_vring_state state;
      |                                          ^~~~~
../examples/vhost_blk/blk_spec.h:89:41: error: field ‘addr’ has incomplete type
   89 |                 struct vhost_vring_addr addr;
      |                                         ^~~~
[3531/3562] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[3532/3562] Compiling C object examples/dpdk-qos_sched.p/qos_sched_cfg_file.c.o
[3533/3562] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[3534/3562] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o -c ../examples/vhost_blk/blk.c
In file included from ../examples/vhost_blk/blk.c:25:
../examples/vhost_blk/blk_spec.h:74:36: error: array type has incomplete element type ‘struct vhost_memory_region’
   74 |         struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
      |                                    ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:42: error: field ‘state’ has incomplete type
   88 |                 struct vhost_vring_state state;
      |                                          ^~~~~
../examples/vhost_blk/blk_spec.h:89:41: error: field ‘addr’ has incomplete type
   89 |                 struct vhost_vring_addr addr;
      |                                         ^~~~
[3535/3562] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[3536/3562] Linking target examples/dpdk-pipeline
[3537/3562] Linking target examples/dpdk-ptpclient
[3538/3562] Linking target examples/dpdk-qos_meter
[3539/3562] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
ninja: build stopped




*Build Failed #2:
OS: FC35-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o 
clang -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o -c ../examples/vhost_blk/blk.c
In file included from ../examples/vhost_blk/blk.c:25:
../examples/vhost_blk/blk_spec.h:74:36: error: array has incomplete element type 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                                          ^
../examples/vhost_blk/blk_spec.h:74:9: note: forward declaration of 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
               ^
../examples/vhost_blk/blk_spec.h:88:28: error: field has incomplete type 'struct vhost_vring_state'
                struct vhost_vring_state state;
                                         ^
../examples/vhost_blk/blk_spec.h:88:10: note: forward declaration of 'struct vhost_vring_state'
                struct vhost_vring_state state;
                       ^
../examples/vhost_blk/blk_spec.h:89:27: error: field has incomplete type 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                                        ^
../examples/vhost_blk/blk_spec.h:89:10: note: forward declaration of 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                       ^
3 errors generated.
[3530/3562] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[3531/3562] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_init.c.o
[3532/3562] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[3533/3562] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[3534/3562] Linking target examples/dpdk-ptpclient
[3535/3562] Linking target examples/dpdk-qos_sched
[3536/3562] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[3537/3562] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[3538/3562] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped




*Build Failed #3:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_virtio_net.c.o 
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_virtio_net.c.o -MF examples/dpdk-vhost.p/vhost_virtio_net.c.o.d -o examples/dpdk-vhost.p/vhost_virtio_net.c.o -c ../examples/vhost/virtio_net.c
../examples/vhost/virtio_net.c: In function ‘enqueue_pkt’:
../examples/vhost/virtio_net.c:74:18: error: invalid use of undefined type ‘struct vring_desc’
  desc = &vr->desc[desc_idx];
                  ^
../examples/vhost/virtio_net.c:74:18: error: dereferencing pointer to incomplete type ‘struct vring_desc’
../examples/vhost/virtio_net.c:141:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function); did you mean ‘RING_F_SC_DEQ’?
    if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
                       ^~~~~~~~~~~~~~~~~
                       RING_F_SC_DEQ
../examples/vhost/virtio_net.c:141:23: note: each undeclared identifier is reported only once for each function it appears in
../examples/vhost/virtio_net.c: In function ‘vs_enqueue_pkts’:
../examples/vhost/virtio_net.c:200:40: error: dereferencing pointer to incomplete type ‘struct vring_avail’
  avail_idx = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE);
                                        ^~
../examples/vhost/virtio_net.c:213:11: error: dereferencing pointer to incomplete type ‘struct vring_used’
   vr->used->ring[used_idx].id = desc_indexes[i];
           ^~
../examples/vhost/virtio_net.c:218:25: error: invalid use of undefined type ‘struct vring_desc’
  rte_prefetch0(&vr->desc[desc_indexes[0]]);
                         ^
../examples/vhost/virtio_net.c:230:27: error: invalid use of undefined type ‘struct vring_desc’
    rte_prefetch0(&vr->desc[desc_indexes[i+1]]);
                           ^
../examples/vhost/virtio_net.c:194:11: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable]
  uint16_t used_idx;
           ^~~~~~~~
../examples/vhost/virtio_net.c: In function ‘dequeue_pkt’:
../examples/vhost/virtio_net.c:256:18: error: invalid use of undefined type ‘struct vring_desc’
  desc = &vr->desc[desc_idx];
                  ^
../examples/vhost/virtio_net.c:258:19: error: ‘VRING_DESC_F_INDIRECT’ undeclared (first use in this function); did you mean ‘RTE_MBUF_F_INDIRECT’?
    (desc->flags & VRING_DESC_F_INDIRECT))
                   ^~~~~~~~~~~~~~~~~~~~~
                   RTE_MBUF_F_INDIRECT
../examples/vhost/virtio_net.c:307:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function); did you mean ‘RING_F_SC_DEQ’?
    if ((desc->flags & VRING_DESC_F_NEXT) == 0)
                       ^~~~~~~~~~~~~~~~~
                       RING_F_SC_DEQ
../examples/vhost/virtio_net.c: In function ‘vs_dequeue_pkts’:
../examples/vhost/virtio_net.c:412:25: error: invalid use of undefined type ‘struct vring_desc’
  rte_prefetch0(&vr->desc[desc_indexes[0]]);
                         ^
../examples/vhost/virtio_net.c:417:27: error: invalid use of undefined type ‘struct vring_desc’
    rte_prefetch0(&vr->desc[desc_indexes[i + 1]]);
                           ^
../examples/vhost/virtio_net.c:376:11: error: variable ‘avail_idx’ set but not used [-Werror=unused-but-set-variable]
  uint16_t avail_idx;
           ^~~~~~~~~
../examples/vhost/virtio_net.c:373:11: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable]
  uint32_t used_idx;
           ^~~~~~~~
cc1: all warnings being treated as errors
[3495/3513] Linking target examples/dpdk-efd_node
[3496/3513] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[3497/3513] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -c ../examples/vhost_blk/vhost_blk.c
In file included from ../examples/vhost_blk/vhost_blk.c:27:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   struct vhost_vring_state state;
                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   struct vhost_vring_addr addr;
                           ^~~~
[3498/3513] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[3499/3513] Linking target examples/dpdk-service_cores
[3500/3513] Linking target examples/dpdk-timer
[3501/3513] Linking target examples/dpdk-rxtx_callbacks
[3502/3513] Linking target examples/dpdk-skeleton
[3503/3513] Linking target examples/dpdk-efd_server
ninja: build stopped




*Build Failed #4:
OS: RHEL84-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o 
clang -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -c ../examples/vhost_blk/vhost_blk.c
In file included from ../examples/vhost_blk/vhost_blk.c:27:
../examples/vhost_blk/blk_spec.h:74:36: error: array has incomplete element type 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                                          ^
../examples/vhost_blk/blk_spec.h:74:9: note: forward declaration of 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
               ^
../examples/vhost_blk/blk_spec.h:88:28: error: field has incomplete type 'struct vhost_vring_state'
                struct vhost_vring_state state;
                                         ^
../examples/vhost_blk/blk_spec.h:88:10: note: forward declaration of 'struct vhost_vring_state'
                struct vhost_vring_state state;
                       ^
../examples/vhost_blk/blk_spec.h:89:27: error: field has incomplete type 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                                        ^
../examples/vhost_blk/blk_spec.h:89:10: note: forward declaration of 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                       ^
3 errors generated.
[3493/3513] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[3494/3513] Linking target examples/dpdk-service_cores
[3495/3513] Linking target examples/dpdk-skeleton
[3496/3513] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o 
clang -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -c ../examples/vhost_blk/vhost_blk_compat.c
In file included from ../examples/vhost_blk/vhost_blk_compat.c:15:
../examples/vhost_blk/blk_spec.h:74:36: error: array has incomplete element type 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                                          ^
../examples/vhost_blk/blk_spec.h:74:9: note: forward declaration of 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
               ^
../examples/vhost_blk/blk_spec.h:88:28: error: field has incomplete type 'struct vhost_vring_state'
                struct vhost_vring_state state;
                                         ^
../examples/vhost_blk/blk_spec.h:88:10: note: forward declaration of 'struct vhost_vring_state'
                struct vhost_vring_state state;
                       ^
../examples/vhost_blk/blk_spec.h:89:27: error: field has incomplete type 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                                        ^
../examples/vhost_blk/blk_spec.h:89:10: note: forward declaration of 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                       ^
3 errors generated.
[3497/3513] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
FAILED: examples/dpdk-vhost.p/vhost_virtio_net.c.o 
clang -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_virtio_net.c.o -MF examples/dpdk-vhost.p/vhost_virtio_net.c.o.d -o examples/dpdk-vhost.p/vhost_virtio_net.c.o -c ../examples/vhost/virtio_net.c
../examples/vhost/virtio_net.c:74:18: error: subscript of pointer to incomplete type 'struct vring_desc'
        desc = &vr->desc[desc_idx];
                ~~~~~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:75:24: error: incomplete definition of type 'struct vring_desc'
        desc_chunck_len = desc->len;
                          ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:76:19: error: incomplete definition of type 'struct vring_desc'
        desc_gaddr = desc->addr;
                     ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:84:19: error: incomplete definition of type 'struct vring_desc'
        if (unlikely(desc->len < dev->hdr_len) || !desc_addr)
                     ~~~~^
../lib/eal/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely'
#define unlikely(x)     __builtin_expect(!!(x), 0)
                                            ^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:115:25: error: incomplete definition of type 'struct vring_desc'
                desc_chunck_len = desc->len - dev->hdr_len;
                                  ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:126:20: error: incomplete definition of type 'struct vring_desc'
        desc_avail  = desc->len - dev->hdr_len;
                      ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:141:13: error: incomplete definition of type 'struct vring_desc'
                        if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
                             ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:141:23: error: use of undeclared identifier 'VRING_DESC_F_NEXT'
                        if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
                                           ^
../examples/vhost/virtio_net.c:145:21: error: incomplete definition of type 'struct vring_desc'
                        if (unlikely(desc->next >= vr->size ||
                                     ~~~~^
../lib/eal/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely'
#define unlikely(x)     __builtin_expect(!!(x), 0)
                                            ^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:149:25: error: incomplete definition of type 'struct vring_desc'
                        desc = &vr->desc[desc->next];
                                         ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:150:26: error: incomplete definition of type 'struct vring_desc'
                        desc_chunck_len = desc->len;
                                          ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:151:21: error: incomplete definition of type 'struct vring_desc'
                        desc_gaddr = desc->addr;
                                     ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:158:22: error: incomplete definition of type 'struct vring_desc'
                        desc_avail  = desc->len;
                                      ~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
../examples/vhost/virtio_net.c:200:40: error: incomplete definition of type 'struct vring_avail'
        avail_idx = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE);
                                     ~~~~~~~~~^
../lib/vhost/rte_vhost.h:204:10: note: forward declaration of 'struct vring_avail'
                struct vring_avail *avail;
                       ^
../examples/vhost/virtio_net.c:209:26: error: incomplete definition of type 'struct vring_avail'
        rte_prefetch0(&vr->avail->ring[start_idx & (vr->size - 1)]);
                       ~~~~~~~~~^
../lib/vhost/rte_vhost.h:204:10: note: forward declaration of 'struct vring_avail'
                struct vring_avail *avail;
                       ^
../examples/vhost/virtio_net.c:212:30: error: incomplete definition of type 'struct vring_avail'
                desc_indexes[i] = vr->avail->ring[used_idx];
                                  ~~~~~~~~~^
../lib/vhost/rte_vhost.h:204:10: note: forward declaration of 'struct vring_avail'
                struct vring_avail *avail;
                       ^
../examples/vhost/virtio_net.c:213:11: error: incomplete definition of type 'struct vring_used'
                vr->used->ring[used_idx].id = desc_indexes[i];
                ~~~~~~~~^
../lib/vhost/rte_vhost.h:208:10: note: forward declaration of 'struct vring_used'
                struct vring_used *used;
                       ^
../examples/vhost/virtio_net.c:214:11: error: incomplete definition of type 'struct vring_used'
                vr->used->ring[used_idx].len = pkts[i]->pkt_len +
                ~~~~~~~~^
../lib/vhost/rte_vhost.h:208:10: note: forward declaration of 'struct vring_used'
                struct vring_used *used;
                       ^
../examples/vhost/virtio_net.c:218:25: error: subscript of pointer to incomplete type 'struct vring_desc'
        rte_prefetch0(&vr->desc[desc_indexes[0]]);
                       ~~~~~~~~^
../lib/vhost/rte_vhost.h:200:10: note: forward declaration of 'struct vring_desc'
                struct vring_desc *desc;
                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3498/3513] Linking target examples/dpdk-efd_server
[3499/3513] Linking target examples/dpdk-vmdq
[3500/3513] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[3501/3513] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped




*Build Failed #5:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -c ../examples/vhost_blk/vhost_blk.c
In file included from ../examples/vhost_blk/vhost_blk.c:27:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   struct vhost_vring_state state;
                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   struct vhost_vring_addr addr;
                           ^~~~
[3487/3513] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[3488/3513] Linking target examples/dpdk-pipeline
[3489/3513] Linking target examples/dpdk-packet_ordering
[3490/3513] Linking target examples/dpdk-qos_meter
[3491/3513] Linking target examples/dpdk-rxtx_callbacks
[3492/3513] Linking target examples/dpdk-service_cores
[3493/3513] Linking target examples/dpdk-skeleton
[3494/3513] Linking target examples/dpdk-efd_node
[3495/3513] Linking target examples/dpdk-qos_sched
ninja: build stopped




*Build Failed #6:
OS: RHEL84-64
Target: x86_64-native-linuxapp-icc
FAILED: examples/dpdk-vhost.p/vhost_virtio_net.c.o 
icc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_virtio_net.c.o -MF examples/dpdk-vhost.p/vhost_virtio_net.c.o.d -o examples/dpdk-vhost.p/vhost_virtio_net.c.o -c ../examples/vhost/virtio_net.c
../examples/vhost/virtio_net.c(74): error: expression must be a pointer to a complete object type
  	desc = &vr->desc[desc_idx];
  	        ^

../examples/vhost/virtio_net.c(75): error: pointer to incomplete class type is not allowed
  	desc_chunck_len = desc->len;
  	                  ^

../examples/vhost/virtio_net.c(76): error: pointer to incomplete class type is not allowed
  	desc_gaddr = desc->addr;
  	             ^

../examples/vhost/virtio_net.c(84): error: pointer to incomplete class type is not allowed
  	if (unlikely(desc->len < dev->hdr_len) || !desc_addr)
  	    ^

../examples/vhost/virtio_net.c(115): error: pointer to incomplete class type is not allowed
  		desc_chunck_len = desc->len - dev->hdr_len;
  		                  ^

../examples/vhost/virtio_net.c(126): error: pointer to incomplete class type is not allowed
  	desc_avail  = desc->len - dev->hdr_len;
  	              ^

../examples/vhost/virtio_net.c(141): error: pointer to incomplete class type is not allowed
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
  			     ^

../examples/vhost/virtio_net.c(141): error: identifier "VRING_DESC_F_NEXT" is undefined
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
  			                   ^

../examples/vhost/virtio_net.c(145): error: pointer to incomplete class type is not allowed
  			if (unlikely(desc->next >= vr->size ||
  			    ^

../examples/vhost/virtio_net.c(149): error: pointer to incomplete class type is not allowed
  			desc = &vr->desc[desc->next];
  			                 ^

../examples/vhost/virtio_net.c(149): error: expression must be a pointer to a complete object type
  			desc = &vr->desc[desc->next];
  			        ^

../examples/vhost/virtio_net.c(150): error: pointer to incomplete class type is not allowed
  			desc_chunck_len = desc->len;
  			                  ^

../examples/vhost/virtio_net.c(151): error: pointer to incomplete class type is not allowed
  			desc_gaddr = desc->addr;
  			             ^

../examples/vhost/virtio_net.c(158): error: pointer to incomplete class type is not allowed
  			desc_avail  = desc->len;
  			              ^

../examples/vhost/virtio_net.c(200): error: pointer to incomplete class type is not allowed
  	avail_idx = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE);
  	                             ^

../examples/vhost/virtio_net.c(209): error: pointer to incomplete class type is not allowed
  	rte_prefetch0(&vr->avail->ring[start_idx & (vr->size - 1)]);
  	               ^

../examples/vhost/virtio_net.c(212): error: pointer to incomplete class type is not allowed
  		desc_indexes[i] = vr->avail->ring[used_idx];
  		                  ^

../examples/vhost/virtio_net.c(213): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].id = desc_indexes[i];
  		^

../examples/vhost/virtio_net.c(214): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].len = pkts[i]->pkt_len +
  		^

../examples/vhost/virtio_net.c(218): error: expression must be a pointer to a complete object type
  	rte_prefetch0(&vr->desc[desc_indexes[0]]);
  	               ^

../examples/vhost/virtio_net.c(226): error: pointer to incomplete class type is not allowed
  			vr->used->ring[used_idx].len = dev->hdr_len;
  			^

../examples/vhost/virtio_net.c(230): error: expression must be a pointer to a complete object type
  			rte_prefetch0(&vr->desc[desc_indexes[i+1]]);
  			               ^

../examples/vhost/virtio_net.c(233): error: pointer to incomplete class type is not allowed
  	__atomic_add_fetch(&vr->used->idx, count, __ATOMIC_RELEASE);
  	                    ^

../examples/vhost/virtio_net.c(256): error: expression must be a pointer to a complete object type
  	desc = &vr->desc[desc_idx];
  	        ^

../examples/vhost/virtio_net.c(257): error: pointer to incomplete class type is not allowed
  	if (unlikely((desc->len < dev->hdr_len)) ||
  	    ^

../examples/vhost/virtio_net.c(258): error: pointer to incomplete class type is not allowed
  			(desc->flags & VRING_DESC_F_INDIRECT))
  			 ^

../examples/vhost/virtio_net.c(258): error: identifier "VRING_DESC_F_INDIRECT" is undefined
  			(desc->flags & VRING_DESC_F_INDIRECT))
  			               ^

../examples/vhost/virtio_net.c(261): error: pointer to incomplete class type is not allowed
  	desc_chunck_len = desc->len;
  	                  ^

../examples/vhost/virtio_net.c(262): error: pointer to incomplete class type is not allowed
  	desc_gaddr = desc->addr;
  	             ^

../examples/vhost/virtio_net.c(277): error: pointer to incomplete class type is not allowed
  	desc = &vr->desc[desc->next];
  	                 ^

../examples/vhost/virtio_net.c(277): error: expression must be a pointer to a complete object type
  	desc = &vr->desc[desc->next];
  	        ^

../examples/vhost/virtio_net.c(278): error: pointer to incomplete class type is not allowed
  	desc_chunck_len = desc->len;
  	                  ^

../examples/vhost/virtio_net.c(279): error: pointer to incomplete class type is not allowed
  	desc_gaddr = desc->addr;
  	             ^

../examples/vhost/virtio_net.c(287): error: pointer to incomplete class type is not allowed
  	desc_avail  = desc->len;
  	              ^

../examples/vhost/virtio_net.c(307): error: pointer to incomplete class type is not allowed
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0)
  			     ^

../examples/vhost/virtio_net.c(307): error: identifier "VRING_DESC_F_NEXT" is undefined
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0)
  			                   ^

../examples/vhost/virtio_net.c(310): error: pointer to incomplete class type is not allowed
  			if (unlikely(desc->next >= vr->size ||
  			    ^

../examples/vhost/virtio_net.c(313): error: pointer to incomplete class type is not allowed
  			desc = &vr->desc[desc->next];
  			                 ^

../examples/vhost/virtio_net.c(313): error: expression must be a pointer to a complete object type
  			desc = &vr->desc[desc->next];
  			        ^

../examples/vhost/virtio_net.c(315): error: pointer to incomplete class type is not allowed
  			desc_chunck_len = desc->len;
  			                  ^

../examples/vhost/virtio_net.c(316): error: pointer to incomplete class type is not allowed
  			desc_gaddr = desc->addr;
  			             ^

../examples/vhost/virtio_net.c(324): error: pointer to incomplete class type is not allowed
  			desc_avail  = desc->len;
  			              ^

../examples/vhost/virtio_net.c(381): error: pointer to incomplete class type is not allowed
  	free_entries = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE) -
  	                                ^

../examples/vhost/virtio_net.c(389): error: pointer to incomplete class type is not allowed
  	rte_prefetch0(&vr->avail->ring[avail_idx]);
  	               ^

../examples/vhost/virtio_net.c(390): error: pointer to incomplete class type is not allowed
  	rte_prefetch0(&vr->used->ring[used_idx]);
  	               ^

../examples/vhost/virtio_net.c(405): error: pointer to incomplete class type is not allowed
  		desc_indexes[i] = vr->avail->ring[avail_idx];
  		                  ^

../examples/vhost/virtio_net.c(407): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].id  = desc_indexes[i];
  		^

../examples/vhost/virtio_net.c(408): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].len = 0;
  		^

../examples/vhost/virtio_net.c(412): error: expression must be a pointer to a complete object type
  	rte_prefetch0(&vr->desc[desc_indexes[0]]);
  	               ^

../examples/vhost/virtio_net.c(417): error: expression must be a pointer to a complete object type
  			rte_prefetch0(&vr->desc[desc_indexes[i + 1]]);
  			               ^

../examples/vhost/virtio_net.c(437): error: pointer to incomplete class type is not allowed
  	__atomic_add_fetch(&vr->used->idx, i, __ATOMIC_ACQ_REL);
  	                    ^

compilation aborted for ../examples/vhost/virtio_net.c (code 2)
[3076/3097] Linking target examples/dpdk-efd_node
[3077/3097] Linking target examples/dpdk-rxtx_callbacks
[3078/3097] Linking target examples/dpdk-vdpa
[3079/3097] Linking target examples/dpdk-skeleton
[3080/3097] Linking target examples/dpdk-efd_server
[3081/3097] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[3082/3097] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[3083/3097] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[3084/3097] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
ninja: build stopped




*Build Failed #7:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o 
clang -Iexamples/c590b3c@@dpdk-vhost_blk@exe -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Xclang -fcolor-diagnostics -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o' -MF 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o.d' -o 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o' -c ../examples/vhost_blk/blk.c
In file included from ../examples/vhost_blk/blk.c:25:
../examples/vhost_blk/blk_spec.h:74:36: error: array has incomplete element type 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                                          ^
../examples/vhost_blk/blk_spec.h:74:9: note: forward declaration of 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
               ^
../examples/vhost_blk/blk_spec.h:88:28: error: field has incomplete type 'struct vhost_vring_state'
                struct vhost_vring_state state;
                                         ^
../examples/vhost_blk/blk_spec.h:88:10: note: forward declaration of 'struct vhost_vring_state'
                struct vhost_vring_state state;
                       ^
../examples/vhost_blk/blk_spec.h:89:27: error: field has incomplete type 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                                        ^
../examples/vhost_blk/blk_spec.h:89:10: note: forward declaration of 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                       ^
3 errors generated.
[3527/3550] Compiling C object 'examples/c590b3c@@dpdk-vhost_crypto@exe/vhost_crypto_main.c.o'
[3528/3550] Compiling C object 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o'
FAILED: examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o 
clang -Iexamples/c590b3c@@dpdk-vhost_blk@exe -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Xclang -fcolor-diagnostics -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o' -MF 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o.d' -o 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o' -c ../examples/vhost_blk/vhost_blk.c
In file included from ../examples/vhost_blk/vhost_blk.c:27:
../examples/vhost_blk/blk_spec.h:74:36: error: array has incomplete element type 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                                          ^
../examples/vhost_blk/blk_spec.h:74:9: note: forward declaration of 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
               ^
../examples/vhost_blk/blk_spec.h:88:28: error: field has incomplete type 'struct vhost_vring_state'
                struct vhost_vring_state state;
                                         ^
../examples/vhost_blk/blk_spec.h:88:10: note: forward declaration of 'struct vhost_vring_state'
                struct vhost_vring_state state;
                       ^
../examples/vhost_blk/blk_spec.h:89:27: error: field has incomplete type 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                                        ^
../examples/vhost_blk/blk_spec.h:89:10: note: forward declaration of 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                       ^
3 errors generated.
[3529/3550] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o'
[3530/3550] Linking target examples/dpdk-rxtx_callbacks
[3531/3550] Linking target examples/dpdk-efd_node
[3532/3550] Linking target examples/dpdk-skeleton
[3533/3550] Linking target examples/dpdk-qos_sched
[3534/3550] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'
[3535/3550] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'
ninja: build stopped




*Build Failed #8:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o 
gcc -Iexamples/c590b3c@@dpdk-vhost_blk@exe -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o' -MF 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o.d' -o 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o' -c ../examples/vhost_blk/vhost_blk.c
In file included from ../examples/vhost_blk/vhost_blk.c:27:0:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   struct vhost_vring_state state;
                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   struct vhost_vring_addr addr;
                           ^~~~
[3510/3548] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'
[3511/3548] Compiling C object 'examples/c590b3c@@dpdk-efd_server@exe/server_node_efd_server_main.c.o'
[3512/3548] Compiling C object 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o'
FAILED: examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o 
gcc -Iexamples/c590b3c@@dpdk-vhost_blk@exe -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o' -MF 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o.d' -o 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o' -c ../examples/vhost_blk/blk.c
In file included from ../examples/vhost_blk/blk.c:25:0:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   struct vhost_vring_state state;
                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   struct vhost_vring_addr addr;
                           ^~~~
[3513/3548] Linking target examples/dpdk-ntb
[3514/3548] Linking target examples/dpdk-symmetric_mp
[3515/3548] Linking target examples/dpdk-pipeline
[3516/3548] Linking target examples/dpdk-packet_ordering
[3517/3548] Linking target examples/dpdk-ptpclient
[3518/3548] Linking target examples/dpdk-qos_meter
ninja: build stopped




*Build Failed #9:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -c ../examples/vhost_blk/vhost_blk_compat.c
In file included from ../examples/vhost_blk/vhost_blk_compat.c:15:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
   74 |  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
      |                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   88 |   struct vhost_vring_state state;
      |                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   89 |   struct vhost_vring_addr addr;
      |                           ^~~~
[2458/2480] Linking target examples/dpdk-timer
[2459/2480] Compiling C object examples/dpdk-vhost.p/vhost_main.c.o
[2460/2480] Linking target examples/dpdk-service_cores
[2461/2480] Linking target examples/dpdk-qos_sched
[2462/2480] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2463/2480] Linking target examples/dpdk-rxtx_callbacks
[2464/2480] Linking target examples/dpdk-efd_node
[2465/2480] Linking target examples/dpdk-skeleton
[2466/2480] Linking target examples/dpdk-efd_server
ninja: build stopped




*Build Failed #10:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o 
clang -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Xclang -fcolor-diagnostics -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -c ../examples/vhost_blk/vhost_blk_compat.c
In file included from ../examples/vhost_blk/vhost_blk_compat.c:15:
../examples/vhost_blk/blk_spec.h:74:36: error: array has incomplete element type 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                                          ^
../examples/vhost_blk/blk_spec.h:74:9: note: forward declaration of 'struct vhost_memory_region'
        struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
               ^
../examples/vhost_blk/blk_spec.h:88:28: error: field has incomplete type 'struct vhost_vring_state'
                struct vhost_vring_state state;
                                         ^
../examples/vhost_blk/blk_spec.h:88:10: note: forward declaration of 'struct vhost_vring_state'
                struct vhost_vring_state state;
                       ^
../examples/vhost_blk/blk_spec.h:89:27: error: field has incomplete type 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                                        ^
../examples/vhost_blk/blk_spec.h:89:10: note: forward declaration of 'struct vhost_vring_addr'
                struct vhost_vring_addr addr;
                       ^
3 errors generated.
[3549/3585] Compiling C object examples/dpdk-packet_ordering.p/packet_ordering_main.c.o
[3550/3585] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_init.c.o
[3551/3585] Linking target examples/dpdk-qos_meter
[3552/3585] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[3553/3585] Linking target examples/dpdk-pipeline
[3554/3585] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[3555/3585] Linking target examples/dpdk-qos_sched
[3556/3585] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[3557/3585] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped




*Build Failed #11:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o -c ../examples/vhost_blk/vhost_blk.c
In file included from ../examples/vhost_blk/vhost_blk.c:27:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
   74 |  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
      |                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   88 |   struct vhost_vring_state state;
      |                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   89 |   struct vhost_vring_addr addr;
      |                           ^~~~
[3553/3585] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[3554/3585] Compiling C object examples/dpdk-packet_ordering.p/packet_ordering_main.c.o
[3555/3585] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[3556/3585] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[3557/3585] Linking target examples/dpdk-pipeline
[3558/3585] Linking target examples/dpdk-ptpclient
[3559/3585] Linking target examples/dpdk-qos_meter
[3560/3585] Linking target examples/dpdk-qos_sched
[3561/3585] Linking target examples/dpdk-skeleton
ninja: build stopped




*Build Failed #12:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: examples/dpdk-vhost.p/vhost_virtio_net.c.o 
icc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_virtio_net.c.o -MF examples/dpdk-vhost.p/vhost_virtio_net.c.o.d -o examples/dpdk-vhost.p/vhost_virtio_net.c.o -c ../examples/vhost/virtio_net.c
../examples/vhost/virtio_net.c(74): error: expression must be a pointer to a complete object type
  	desc = &vr->desc[desc_idx];
  	        ^

../examples/vhost/virtio_net.c(75): error: pointer to incomplete class type is not allowed
  	desc_chunck_len = desc->len;
  	                  ^

../examples/vhost/virtio_net.c(76): error: pointer to incomplete class type is not allowed
  	desc_gaddr = desc->addr;
  	             ^

../examples/vhost/virtio_net.c(84): error: pointer to incomplete class type is not allowed
  	if (unlikely(desc->len < dev->hdr_len) || !desc_addr)
  	    ^

../examples/vhost/virtio_net.c(115): error: pointer to incomplete class type is not allowed
  		desc_chunck_len = desc->len - dev->hdr_len;
  		                  ^

../examples/vhost/virtio_net.c(126): error: pointer to incomplete class type is not allowed
  	desc_avail  = desc->len - dev->hdr_len;
  	              ^

../examples/vhost/virtio_net.c(141): error: pointer to incomplete class type is not allowed
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
  			     ^

../examples/vhost/virtio_net.c(141): error: identifier "VRING_DESC_F_NEXT" is undefined
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
  			                   ^

../examples/vhost/virtio_net.c(145): error: pointer to incomplete class type is not allowed
  			if (unlikely(desc->next >= vr->size ||
  			    ^

../examples/vhost/virtio_net.c(149): error: pointer to incomplete class type is not allowed
  			desc = &vr->desc[desc->next];
  			                 ^

../examples/vhost/virtio_net.c(149): error: expression must be a pointer to a complete object type
  			desc = &vr->desc[desc->next];
  			        ^

../examples/vhost/virtio_net.c(150): error: pointer to incomplete class type is not allowed
  			desc_chunck_len = desc->len;
  			                  ^

../examples/vhost/virtio_net.c(151): error: pointer to incomplete class type is not allowed
  			desc_gaddr = desc->addr;
  			             ^

../examples/vhost/virtio_net.c(158): error: pointer to incomplete class type is not allowed
  			desc_avail  = desc->len;
  			              ^

../examples/vhost/virtio_net.c(200): error: pointer to incomplete class type is not allowed
  	avail_idx = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE);
  	                             ^

../examples/vhost/virtio_net.c(209): error: pointer to incomplete class type is not allowed
  	rte_prefetch0(&vr->avail->ring[start_idx & (vr->size - 1)]);
  	               ^

../examples/vhost/virtio_net.c(212): error: pointer to incomplete class type is not allowed
  		desc_indexes[i] = vr->avail->ring[used_idx];
  		                  ^

../examples/vhost/virtio_net.c(213): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].id = desc_indexes[i];
  		^

../examples/vhost/virtio_net.c(214): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].len = pkts[i]->pkt_len +
  		^

../examples/vhost/virtio_net.c(218): error: expression must be a pointer to a complete object type
  	rte_prefetch0(&vr->desc[desc_indexes[0]]);
  	               ^

../examples/vhost/virtio_net.c(226): error: pointer to incomplete class type is not allowed
  			vr->used->ring[used_idx].len = dev->hdr_len;
  			^

../examples/vhost/virtio_net.c(230): error: expression must be a pointer to a complete object type
  			rte_prefetch0(&vr->desc[desc_indexes[i+1]]);
  			               ^

../examples/vhost/virtio_net.c(233): error: pointer to incomplete class type is not allowed
  	__atomic_add_fetch(&vr->used->idx, count, __ATOMIC_RELEASE);
  	                    ^

../examples/vhost/virtio_net.c(256): error: expression must be a pointer to a complete object type
  	desc = &vr->desc[desc_idx];
  	        ^

../examples/vhost/virtio_net.c(257): error: pointer to incomplete class type is not allowed
  	if (unlikely((desc->len < dev->hdr_len)) ||
  	    ^

../examples/vhost/virtio_net.c(258): error: pointer to incomplete class type is not allowed
  			(desc->flags & VRING_DESC_F_INDIRECT))
  			 ^

../examples/vhost/virtio_net.c(258): error: identifier "VRING_DESC_F_INDIRECT" is undefined
  			(desc->flags & VRING_DESC_F_INDIRECT))
  			               ^

../examples/vhost/virtio_net.c(261): error: pointer to incomplete class type is not allowed
  	desc_chunck_len = desc->len;
  	                  ^

../examples/vhost/virtio_net.c(262): error: pointer to incomplete class type is not allowed
  	desc_gaddr = desc->addr;
  	             ^

../examples/vhost/virtio_net.c(277): error: pointer to incomplete class type is not allowed
  	desc = &vr->desc[desc->next];
  	                 ^

../examples/vhost/virtio_net.c(277): error: expression must be a pointer to a complete object type
  	desc = &vr->desc[desc->next];
  	        ^

../examples/vhost/virtio_net.c(278): error: pointer to incomplete class type is not allowed
  	desc_chunck_len = desc->len;
  	                  ^

../examples/vhost/virtio_net.c(279): error: pointer to incomplete class type is not allowed
  	desc_gaddr = desc->addr;
  	             ^

../examples/vhost/virtio_net.c(287): error: pointer to incomplete class type is not allowed
  	desc_avail  = desc->len;
  	              ^

../examples/vhost/virtio_net.c(307): error: pointer to incomplete class type is not allowed
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0)
  			     ^

../examples/vhost/virtio_net.c(307): error: identifier "VRING_DESC_F_NEXT" is undefined
  			if ((desc->flags & VRING_DESC_F_NEXT) == 0)
  			                   ^

../examples/vhost/virtio_net.c(310): error: pointer to incomplete class type is not allowed
  			if (unlikely(desc->next >= vr->size ||
  			    ^

../examples/vhost/virtio_net.c(313): error: pointer to incomplete class type is not allowed
  			desc = &vr->desc[desc->next];
  			                 ^

../examples/vhost/virtio_net.c(313): error: expression must be a pointer to a complete object type
  			desc = &vr->desc[desc->next];
  			        ^

../examples/vhost/virtio_net.c(315): error: pointer to incomplete class type is not allowed
  			desc_chunck_len = desc->len;
  			                  ^

../examples/vhost/virtio_net.c(316): error: pointer to incomplete class type is not allowed
  			desc_gaddr = desc->addr;
  			             ^

../examples/vhost/virtio_net.c(324): error: pointer to incomplete class type is not allowed
  			desc_avail  = desc->len;
  			              ^

../examples/vhost/virtio_net.c(381): error: pointer to incomplete class type is not allowed
  	free_entries = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE) -
  	                                ^

../examples/vhost/virtio_net.c(389): error: pointer to incomplete class type is not allowed
  	rte_prefetch0(&vr->avail->ring[avail_idx]);
  	               ^

../examples/vhost/virtio_net.c(390): error: pointer to incomplete class type is not allowed
  	rte_prefetch0(&vr->used->ring[used_idx]);
  	               ^

../examples/vhost/virtio_net.c(405): error: pointer to incomplete class type is not allowed
  		desc_indexes[i] = vr->avail->ring[avail_idx];
  		                  ^

../examples/vhost/virtio_net.c(407): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].id  = desc_indexes[i];
  		^

../examples/vhost/virtio_net.c(408): error: pointer to incomplete class type is not allowed
  		vr->used->ring[used_idx].len = 0;
  		^

../examples/vhost/virtio_net.c(412): error: expression must be a pointer to a complete object type
  	rte_prefetch0(&vr->desc[desc_indexes[0]]);
  	               ^

../examples/vhost/virtio_net.c(417): error: expression must be a pointer to a complete object type
  			rte_prefetch0(&vr->desc[desc_indexes[i + 1]]);
  			               ^

../examples/vhost/virtio_net.c(437): error: pointer to incomplete class type is not allowed
  	__atomic_add_fetch(&vr->used->idx, i, __ATOMIC_ACQ_REL);
  	                    ^

compilation aborted for ../examples/vhost/virtio_net.c (code 2)
[3054/3083] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[3055/3083] Linking target examples/dpdk-ptpclient
[3056/3083] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[3057/3083] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[3058/3083] Linking target examples/dpdk-service_cores
[3059/3083] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[3060/3083] Linking target examples/dpdk-qos_sched
[3061/3083] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[3062/3083] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
ninja: build stopped




*Build Failed #13:
OS: UB2110-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_virtio_net.c.o 
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_virtio_net.c.o -MF examples/dpdk-vhost.p/vhost_virtio_net.c.o.d -o examples/dpdk-vhost.p/vhost_virtio_net.c.o -c ../examples/vhost/virtio_net.c
../examples/vhost/virtio_net.c: In function ‘enqueue_pkt’:
../examples/vhost/virtio_net.c:74:25: error: invalid use of undefined type ‘struct vring_desc’
   74 |         desc = &vr->desc[desc_idx];
      |                         ^
../examples/vhost/virtio_net.c:75:31: error: invalid use of undefined type ‘struct vring_desc’
   75 |         desc_chunck_len = desc->len;
      |                               ^~
../examples/vhost/virtio_net.c:76:26: error: invalid use of undefined type ‘struct vring_desc’
   76 |         desc_gaddr = desc->addr;
      |                          ^~
In file included from ../lib/eal/x86/include/rte_spinlock.h:15,
                 from ../lib/mempool/rte_mempool.h:43,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../examples/vhost/virtio_net.c:9:
../examples/vhost/virtio_net.c:84:26: error: invalid use of undefined type ‘struct vring_desc’
   84 |         if (unlikely(desc->len < dev->hdr_len) || !desc_addr)
      |                          ^~
../lib/eal/include/rte_branch_prediction.h:38:45: note: in definition of macro ‘unlikely’
   38 | #define unlikely(x)     __builtin_expect(!!(x), 0)
      |                                             ^
../examples/vhost/virtio_net.c:115:39: error: invalid use of undefined type ‘struct vring_desc’
  115 |                 desc_chunck_len = desc->len - dev->hdr_len;
      |                                       ^~
../examples/vhost/virtio_net.c:126:27: error: invalid use of undefined type ‘struct vring_desc’
  126 |         desc_avail  = desc->len - dev->hdr_len;
      |                           ^~
../examples/vhost/virtio_net.c:141:34: error: invalid use of undefined type ‘struct vring_desc’
  141 |                         if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
      |                                  ^~
../examples/vhost/virtio_net.c:141:44: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function)
  141 |                         if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
      |                                            ^~~~~~~~~~~~~~~~~
../examples/vhost/virtio_net.c:141:44: note: each undeclared identifier is reported only once for each function it appears in
In file included from ../lib/eal/x86/include/rte_spinlock.h:15,
                 from ../lib/mempool/rte_mempool.h:43,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../examples/vhost/virtio_net.c:9:
../examples/vhost/virtio_net.c:145:42: error: invalid use of undefined type ‘struct vring_desc’
  145 |                         if (unlikely(desc->next >= vr->size ||
      |                                          ^~
../lib/eal/include/rte_branch_prediction.h:38:45: note: in definition of macro ‘unlikely’
   38 | #define unlikely(x)     __builtin_expect(!!(x), 0)
      |                                             ^
../examples/vhost/virtio_net.c:149:46: error: invalid use of undefined type ‘struct vring_desc’
  149 |                         desc = &vr->desc[desc->next];
      |                                              ^~
../examples/vhost/virtio_net.c:150:47: error: invalid use of undefined type ‘struct vring_desc’
  150 |                         desc_chunck_len = desc->len;
      |                                               ^~
../examples/vhost/virtio_net.c:151:42: error: invalid use of undefined type ‘struct vring_desc’
  151 |                         desc_gaddr = desc->addr;
      |                                          ^~
../examples/vhost/virtio_net.c:158:43: error: invalid use of undefined type ‘struct vring_desc’
  158 |                         desc_avail  = desc->len;
      |                                           ^~
../examples/vhost/virtio_net.c: In function ‘vs_enqueue_pkts’:
../examples/vhost/virtio_net.c:200:47: error: invalid use of undefined type ‘struct vring_avail’
  200 |         avail_idx = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE);
      |                                               ^~
../examples/vhost/virtio_net.c:209:33: error: invalid use of undefined type ‘struct vring_avail’
  209 |         rte_prefetch0(&vr->avail->ring[start_idx & (vr->size - 1)]);
      |                                 ^~
../examples/vhost/virtio_net.c:212:44: error: invalid use of undefined type ‘struct vring_avail’
  212 |                 desc_indexes[i] = vr->avail->ring[used_idx];
      |                                            ^~
../examples/vhost/virtio_net.c:213:25: error: invalid use of undefined type ‘struct vring_used’
  213 |                 vr->used->ring[used_idx].id = desc_indexes[i];
      |                         ^~
../examples/vhost/virtio_net.c:214:25: error: invalid use of undefined type ‘struct vring_used’
  214 |                 vr->used->ring[used_idx].len = pkts[i]->pkt_len +
      |                         ^~
../examples/vhost/virtio_net.c:218:32: error: invalid use of undefined type ‘struct vring_desc’
  218 |         rte_prefetch0(&vr->desc[desc_indexes[0]]);
      |                                ^
../examples/vhost/virtio_net.c:226:33: error: invalid use of undefined type ‘struct vring_used’
  226 |                         vr->used->ring[used_idx].len = dev->hdr_len;
      |                                 ^~
../examples/vhost/virtio_net.c:230:48: error: invalid use of undefined type ‘struct vring_desc’
  230 |                         rte_prefetch0(&vr->desc[desc_indexes[i+1]]);
      |                                                ^
../examples/vhost/virtio_net.c:233:37: error: invalid use of undefined type ‘struct vring_used’
  233 |         __atomic_add_fetch(&vr->used->idx, count, __ATOMIC_RELEASE);
      |                                     ^~
../examples/vhost/virtio_net.c:194:18: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable]
  194 |         uint16_t used_idx;
      |                  ^~~~~~~~
../examples/vhost/virtio_net.c: In function ‘dequeue_pkt’:
../examples/vhost/virtio_net.c:256:25: error: invalid use of undefined type ‘struct vring_desc’
  256 |         desc = &vr->desc[desc_idx];
      |                         ^
In file included from ../lib/eal/x86/include/rte_spinlock.h:15,
                 from ../lib/mempool/rte_mempool.h:43,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../examples/vhost/virtio_net.c:9:
../examples/vhost/virtio_net.c:257:27: error: invalid use of undefined type ‘struct vring_desc’
  257 |         if (unlikely((desc->len < dev->hdr_len)) ||
      |                           ^~
../lib/eal/include/rte_branch_prediction.h:38:45: note: in definition of macro ‘unlikely’
   38 | #define unlikely(x)     __builtin_expect(!!(x), 0)
      |                                             ^
../examples/vhost/virtio_net.c:258:30: error: invalid use of undefined type ‘struct vring_desc’
  258 |                         (desc->flags & VRING_DESC_F_INDIRECT))
      |                              ^~
../examples/vhost/virtio_net.c:258:40: error: ‘VRING_DESC_F_INDIRECT’ undeclared (first use in this function)
  258 |                         (desc->flags & VRING_DESC_F_INDIRECT))
      |                                        ^~~~~~~~~~~~~~~~~~~~~
../examples/vhost/virtio_net.c:261:31: error: invalid use of undefined type ‘struct vring_desc’
  261 |         desc_chunck_len = desc->len;
      |                               ^~
../examples/vhost/virtio_net.c:262:26: error: invalid use of undefined type ‘struct vring_desc’
  262 |         desc_gaddr = desc->addr;
      |                          ^~
../examples/vhost/virtio_net.c:277:30: error: invalid use of undefined type ‘struct vring_desc’
  277 |         desc = &vr->desc[desc->next];
      |                              ^~
../examples/vhost/virtio_net.c:278:31: error: invalid use of undefined type ‘struct vring_desc’
  278 |         desc_chunck_len = desc->len;
      |                               ^~
../examples/vhost/virtio_net.c:279:26: error: invalid use of undefined type ‘struct vring_desc’
  279 |         desc_gaddr = desc->addr;
      |                          ^~
../examples/vhost/virtio_net.c:287:27: error: invalid use of undefined type ‘struct vring_desc’
  287 |         desc_avail  = desc->len;
      |                           ^~
../examples/vhost/virtio_net.c:307:34: error: invalid use of undefined type ‘struct vring_desc’
  307 |                         if ((desc->flags & VRING_DESC_F_NEXT) == 0)
      |                                  ^~
../examples/vhost/virtio_net.c:307:44: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function)
  307 |                         if ((desc->flags & VRING_DESC_F_NEXT) == 0)
      |                                            ^~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_spinlock.h:15,
                 from ../lib/mempool/rte_mempool.h:43,
                 from ../lib/mbuf/rte_mbuf.h:38,
                 from ../examples/vhost/virtio_net.c:9:
../examples/vhost/virtio_net.c:310:42: error: invalid use of undefined type ‘struct vring_desc’
  310 |                         if (unlikely(desc->next >= vr->size ||
      |                                          ^~
../lib/eal/include/rte_branch_prediction.h:38:45: note: in definition of macro ‘unlikely’
   38 | #define unlikely(x)     __builtin_expect(!!(x), 0)
      |                                             ^
../examples/vhost/virtio_net.c:313:46: error: invalid use of undefined type ‘struct vring_desc’
  313 |                         desc = &vr->desc[desc->next];
      |                                              ^~
../examples/vhost/virtio_net.c:315:47: error: invalid use of undefined type ‘struct vring_desc’
  315 |                         desc_chunck_len = desc->len;
      |                                               ^~
../examples/vhost/virtio_net.c:316:42: error: invalid use of undefined type ‘struct vring_desc’
  316 |                         desc_gaddr = desc->addr;
      |                                          ^~
../examples/vhost/virtio_net.c:324:43: error: invalid use of undefined type ‘struct vring_desc’
  324 |                         desc_avail  = desc->len;
      |                                           ^~
../examples/vhost/virtio_net.c: In function ‘vs_dequeue_pkts’:
../examples/vhost/virtio_net.c:381:50: error: invalid use of undefined type ‘struct vring_avail’
  381 |         free_entries = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE) -
      |                                                  ^~
../examples/vhost/virtio_net.c:389:33: error: invalid use of undefined type ‘struct vring_avail’
  389 |         rte_prefetch0(&vr->avail->ring[avail_idx]);
      |                                 ^~
../examples/vhost/virtio_net.c:390:32: error: invalid use of undefined type ‘struct vring_used’
  390 |         rte_prefetch0(&vr->used->ring[used_idx]);
      |                                ^~
../examples/vhost/virtio_net.c:405:44: error: invalid use of undefined type ‘struct vring_avail’
  405 |                 desc_indexes[i] = vr->avail->ring[avail_idx];
      |                                            ^~
../examples/vhost/virtio_net.c:407:25: error: invalid use of undefined type ‘struct vring_used’
  407 |                 vr->used->ring[used_idx].id  = desc_indexes[i];
      |                         ^~
../examples/vhost/virtio_net.c:408:25: error: invalid use of undefined type ‘struct vring_used’
  408 |                 vr->used->ring[used_idx].len = 0;
      |                         ^~
../examples/vhost/virtio_net.c:412:32: error: invalid use of undefined type ‘struct vring_desc’
  412 |         rte_prefetch0(&vr->desc[desc_indexes[0]]);
      |                                ^
../examples/vhost/virtio_net.c:417:48: error: invalid use of undefined type ‘struct vring_desc’
  417 |                         rte_prefetch0(&vr->desc[desc_indexes[i + 1]]);
      |                                                ^
../examples/vhost/virtio_net.c:437:37: error: invalid use of undefined type ‘struct vring_used’
  437 |         __atomic_add_fetch(&vr->used->idx, i, __ATOMIC_ACQ_REL);
      |                                     ^~
../examples/vhost/virtio_net.c:376:18: error: variable ‘avail_idx’ set but not used [-Werror=unused-but-set-variable]
  376 |         uint16_t avail_idx;
      |                  ^~~~~~~~~
../examples/vhost/virtio_net.c:373:18: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable]
  373 |         uint32_t used_idx;
      |                  ^~~~~~~~
cc1: all warnings being treated as errors
[3566/3599] Compiling C object examples/dpdk-packet_ordering.p/packet_ordering_main.c.o
[3567/3599] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[3568/3599] Linking target examples/dpdk-ptpclient
[3569/3599] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[3570/3599] Linking target examples/dpdk-pipeline
[3571/3599] Linking target examples/dpdk-qos_meter
[3572/3599] Linking target examples/dpdk-rxtx_callbacks
[3573/3599] Linking target examples/dpdk-qos_sched
[3574/3599] Linking target examples/dpdk-timer
ninja: build stopped




*Build Failed #14:
OS: RHEL85-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o -c ../examples/vhost_blk/vhost_blk_compat.c
In file included from ../examples/vhost_blk/vhost_blk_compat.c:15:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   struct vhost_vring_state state;
                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   struct vhost_vring_addr addr;
                           ^~~~
[3491/3522] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[3492/3522] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[3493/3522] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
FAILED: examples/dpdk-vhost.p/vhost_virtio_net.c.o 
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_virtio_net.c.o -MF examples/dpdk-vhost.p/vhost_virtio_net.c.o.d -o examples/dpdk-vhost.p/vhost_virtio_net.c.o -c ../examples/vhost/virtio_net.c
../examples/vhost/virtio_net.c: In function ‘enqueue_pkt’:
../examples/vhost/virtio_net.c:74:18: error: invalid use of undefined type ‘struct vring_desc’
  desc = &vr->desc[desc_idx];
                  ^
../examples/vhost/virtio_net.c:74:18: error: dereferencing pointer to incomplete type ‘struct vring_desc’
../examples/vhost/virtio_net.c:141:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function); did you mean ‘RING_F_SC_DEQ’?
    if ((desc->flags & VRING_DESC_F_NEXT) == 0) {
                       ^~~~~~~~~~~~~~~~~
                       RING_F_SC_DEQ
../examples/vhost/virtio_net.c:141:23: note: each undeclared identifier is reported only once for each function it appears in
../examples/vhost/virtio_net.c: In function ‘vs_enqueue_pkts’:
../examples/vhost/virtio_net.c:200:40: error: dereferencing pointer to incomplete type ‘struct vring_avail’
  avail_idx = __atomic_load_n(&vr->avail->idx, __ATOMIC_ACQUIRE);
                                        ^~
../examples/vhost/virtio_net.c:213:11: error: dereferencing pointer to incomplete type ‘struct vring_used’
   vr->used->ring[used_idx].id = desc_indexes[i];
           ^~
../examples/vhost/virtio_net.c:218:25: error: invalid use of undefined type ‘struct vring_desc’
  rte_prefetch0(&vr->desc[desc_indexes[0]]);
                         ^
../examples/vhost/virtio_net.c:230:27: error: invalid use of undefined type ‘struct vring_desc’
    rte_prefetch0(&vr->desc[desc_indexes[i+1]]);
                           ^
../examples/vhost/virtio_net.c:194:11: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable]
  uint16_t used_idx;
           ^~~~~~~~
../examples/vhost/virtio_net.c: In function ‘dequeue_pkt’:
../examples/vhost/virtio_net.c:256:18: error: invalid use of undefined type ‘struct vring_desc’
  desc = &vr->desc[desc_idx];
                  ^
../examples/vhost/virtio_net.c:258:19: error: ‘VRING_DESC_F_INDIRECT’ undeclared (first use in this function); did you mean ‘RTE_MBUF_F_INDIRECT’?
    (desc->flags & VRING_DESC_F_INDIRECT))
                   ^~~~~~~~~~~~~~~~~~~~~
                   RTE_MBUF_F_INDIRECT
../examples/vhost/virtio_net.c:307:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function); did you mean ‘RING_F_SC_DEQ’?
    if ((desc->flags & VRING_DESC_F_NEXT) == 0)
                       ^~~~~~~~~~~~~~~~~
                       RING_F_SC_DEQ
../examples/vhost/virtio_net.c: In function ‘vs_dequeue_pkts’:
../examples/vhost/virtio_net.c:412:25: error: invalid use of undefined type ‘struct vring_desc’
  rte_prefetch0(&vr->desc[desc_indexes[0]]);
                         ^
../examples/vhost/virtio_net.c:417:27: error: invalid use of undefined type ‘struct vring_desc’
    rte_prefetch0(&vr->desc[desc_indexes[i + 1]]);
                           ^
../examples/vhost/virtio_net.c:376:11: error: variable ‘avail_idx’ set but not used [-Werror=unused-but-set-variable]
  uint16_t avail_idx;
           ^~~~~~~~~
../examples/vhost/virtio_net.c:373:11: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable]
  uint32_t used_idx;
           ^~~~~~~~
cc1: all warnings being treated as errors
[3494/3522] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
FAILED: examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o 
gcc -Iexamples/dpdk-vhost_blk.p -Iexamples -I../examples -Iexamples/vhost_blk -I../examples/vhost_blk -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/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -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 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o -MF examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o.d -o examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o -c ../examples/vhost_blk/blk.c
In file included from ../examples/vhost_blk/blk.c:25:
../examples/vhost_blk/blk_spec.h:74:29: error: array type has incomplete element type ‘struct vhost_memory_region’
  struct vhost_memory_region regions[VHOST_USER_MEMORY_MAX_NREGIONS];
                             ^~~~~~~
../examples/vhost_blk/blk_spec.h:88:28: error: field ‘state’ has incomplete type
   struct vhost_vring_state state;
                            ^~~~~
../examples/vhost_blk/blk_spec.h:89:27: error: field ‘addr’ has incomplete type
   struct vhost_vring_addr addr;
                           ^~~~
[3495/3522] Linking target examples/dpdk-ptpclient
[3496/3522] Linking target examples/dpdk-ntb
[3497/3522] Linking target examples/dpdk-qos_meter
[3498/3522] Linking target examples/dpdk-pipeline
[3499/3522] Linking target examples/dpdk-qos_sched
ninja: build stopped


DPDK STV team

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

only message in thread, other threads:[~2022-02-04 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-04 18:05 [dpdk-test-report] |FAILURE| pw(106860) sid(21466) job(PER_PATCH_BUILD1036)[7/7] buildtools/chkincs: test headers for C++ compatibility 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).