Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/58230 _Compilation issues_ Submitter: Maxime Coquelin Date: 2019-08-29 07:59:57 Reply_mail: 20190829080000.20806-13-maxime.coquelin@redhat.com DPDK git baseline: Repo:dpdk-next-net, CommitID: e4d19daa750f5c1fe5981bc0de4ba37ffe16a781 Makefile build Summary: 22 Builds Done, 16 Successful, 6 Failures Meson build Summary: 7 Builds Done, 2 Successful, 5 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +--------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +--------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL76-64 | pass | | | | | | | | CENTOS76-64 | pass | pass | pass | FAIL | pass | | | | UB1804-64 | pass | FAIL | pass | | | FAIL | pass | | UB1604-32 | pass | | | | | FAIL | | | UB1904-64 | pass | | | | | | | | UB1604-64 | pass | FAIL | | | | | | | FC30-64 | pass | FAIL | | | | FAIL | | | WIN10-64 | | | | | | pass | | | FreeBSD12-64 | pass | FAIL | | pass | pass | FAIL | | | RHEL80-64 | pass | | | | | | | | SUSE15-64 | pass | FAIL | | | | FAIL | | +--------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** OS: RHEL76-64 Kernel Version: 3.10.0-957.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FC30-64 Kernel Version: 5.1.7-300.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 6.0.1 (tags/RELEASE_601/final) x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang ** Meson build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FC30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Make Build Failed #1: OS: UB1604-64 Target: x86_64-native-linuxapp-clang CC rte_eth_softnic.o /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/drivers/net/virtio/virtqueue.c:381:10: error: address of array 'vq->vq_descx' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (vq->vq_descx) ~~ ~~~~^~~~~~~~ 1 error generated. /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtqueue.o' failed make[6]: *** [virtqueue.o] Error 1 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: recipe for target 'virtio' failed make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC rte_eth_softnic_mempool.o PMDINFO rte_eth_kni.o.pmd.c CC rte_eth_kni.o.pmd.o LD rte_eth_kni.o -- CC medford2_nic.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #2: OS: UB1804-64 Target: x86_64-native-linuxapp-clang CC otx2_flow_parse.o /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/drivers/net/virtio/virtqueue.c:381:10: error: address of array 'vq->vq_descx' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (vq->vq_descx) ~~ ~~~~^~~~~~~~ 1 error generated. /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtqueue.o' failed make[6]: *** [virtqueue.o] Error 1 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: recipe for target 'virtio' failed make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ecore_init_fw_funcs.o PMDINFO vdev_netvsc.o.pmd.c CC vdev_netvsc.o.pmd.o CC sfc_intr.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #3: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang /tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/drivers/net/virtio/virtqueue.c:381:10: error: address of array 'vq->vq_descx' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (vq->vq_descx) ~~ ~~~~^~~~~~~~ 1 error generated. CC virtio_rxtx_simple_sse.o make[6]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/internal/rte.compile-pre.mk:116: virtqueue.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC otx2_ethdev.o CC ixgbe_mbx.o CC sfc_tso.o CC ixgbe_rxtx.o -- CC ixgbe_ipsec.o PMDINFO otx2_ethdev.o.pmd.c CC otx2_ethdev.o.pmd.o LD otx2_ethdev.o CC otx2_flow_ctrl.o make[5]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC otx2_flow_parse.o == Build drivers/net/vmxnet3 CC sfc_ef10_essb_rx.o CC otx2_flow_utils.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a make[4]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #4: OS: FC30-64 Target: x86_64-native-linuxapp-clang INSTALL-LIB librte_pmd_tap.a /tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/drivers/net/virtio/virtqueue.c:381:10: error: address of array 'vq->vq_descx' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (vq->vq_descx) ~~ ~~~~^~~~~~~~ 1 error generated. make[6]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/internal/rte.compile-pre.mk:116: virtqueue.o] Error 1 CC vmxnet3_ethdev.o PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o CC sfc_filter.o LD qede_ethdev.o CC qede_rxtx.o CC ixgbe_tm.o make[5]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ixgbe_vf_representor.o CC qede_filter.o == Build drivers/net/kni CC otx2_vlan.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a make[4]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #5: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-clang CC ixgbe_dcb_82598.o /tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/drivers/net/virtio/virtqueue.c:381:10: error: address of array 'vq->vq_descx' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] if (vq->vq_descx) ~~ ~~~~^~~~~~~~ 1 error generated. gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/internal/rte.compile-pre.mk:114: virtqueue.o] Error 1 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:37: virtio] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC nicvf_hw.o CC ecore_l2.o CC ixgbe_mbx.o CC ice_rxtx_vec_avx2.o -- CC hunt_nic.o CC medford2_nic.o CC medford_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/bf3de8d62386431487c6006848bfb528/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #6: OS: CENTOS76-64 Target: x86_64-native-linuxapp-gcc+shared virtio_vdpa.o: In function `virtio_vdpa_dev_config': virtio_vdpa.c:(.text+0x148a): undefined reference to `rte_vhost_get_vdpa_device_id' virtio_vdpa.c:(.text+0x151e): undefined reference to `rte_vhost_get_mem_table' virtio_vdpa.c:(.text+0x1665): undefined reference to `rte_vhost_host_notifier_ctrl' collect2: error: ld returned 1 exit status make[6]: *** [librte_pmd_virtio.so.1.1] Error 1 make[5]: *** [virtio] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ef10_vpd.o CC hunt_nic.o CC medford_nic.o CC medford2_nic.o LD librte_pmd_softnic.so.1.1 INSTALL-LIB librte_pmd_softnic.so.1.1 LD librte_pmd_sfc_efx.so.1.1 INSTALL-LIB librte_pmd_sfc_efx.so.1.1 make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Meson Build Failed #1: OS: SUSE15-64 Target:build-gcc-static FAILED: examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o gcc -Iexamples/c590b3c@@dpdk-vhost@exe -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o' -MF 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o.d' -o 'examples/c590b3c@@dpdk-vhost@exe/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:68:18: error: invalid use of undefined type ‘struct vring_desc’ desc = &vr->desc[desc_idx]; ^ ../examples/vhost/virtio_net.c:68:18: error: dereferencing pointer to incomplete type ‘struct vring_desc’ ../examples/vhost/virtio_net.c:135: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:135: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:194:47: error: dereferencing pointer to incomplete type ‘struct vring_avail’ avail_idx = *((volatile uint16_t *)&vr->avail->idx); ^~ ../examples/vhost/virtio_net.c:207:11: error: dereferencing pointer to incomplete type ‘struct vring_used’ vr->used->ring[used_idx].id = desc_indexes[i]; ^~ ../examples/vhost/virtio_net.c:212:25: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[0]]); ^ ../examples/vhost/virtio_net.c:224:27: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[i+1]]); ^ ../examples/vhost/virtio_net.c:188: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:252:18: error: invalid use of undefined type ‘struct vring_desc’ desc = &vr->desc[desc_idx]; ^ ../examples/vhost/virtio_net.c:254:19: error: ‘VRING_DESC_F_INDIRECT’ undeclared (first use in this function) (desc->flags & VRING_DESC_F_INDIRECT)) ^~~~~~~~~~~~~~~~~~~~~ ../examples/vhost/virtio_net.c:303:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function); did you mean ‘VRING_DESC_F_INDIRECT’? if ((desc->flags & VRING_DESC_F_NEXT) == 0) ^~~~~~~~~~~~~~~~~ VRING_DESC_F_INDIRECT ../examples/vhost/virtio_net.c: In function ‘vs_dequeue_pkts’: ../examples/vhost/virtio_net.c:408:25: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[0]]); ^ ../examples/vhost/virtio_net.c:413:27: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[i + 1]]); ^ ../examples/vhost/virtio_net.c:372:11: error: variable ‘avail_idx’ set but not used [-Werror=unused-but-set-variable] uint16_t avail_idx; ^~~~~~~~~ ../examples/vhost/virtio_net.c:369: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 [1807/1832] Compiling C object 'examples/c590b3c@@dpdk-rxtx_callbacks@exe/rxtx_callbacks_main.c.o'. [1808/1832] Compiling C object 'examples/c590b3c@@dpdk-qos_meter@exe/qos_meter_main.c.o'. [1809/1832] Linking target examples/dpdk-service_cores. [1810/1832] Linking target examples/dpdk-ptpclient. [1811/1832] Linking target examples/dpdk-qos_sched. [1812/1832] Compiling C object 'examples/c590b3c@@dpdk-tep_termination@exe/tep_termination_vxlan_setup.c.o'. [1813/1832] Compiling C object 'examples/c590b3c@@dpdk-packet_ordering@exe/packet_ordering_main.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #2: OS: UB1604-32 Target:build-gcc-static FAILED: examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o gcc -Iexamples/c590b3c@@dpdk-vhost_scsi@exe -Iexamples -I../examples -Iexamples/vhost_scsi -I../examples/vhost_scsi -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -D_GNU_SOURCE -march=native -MD -MQ 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o' -MF 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o.d' -o 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o' -c ../examples/vhost_scsi/vhost_scsi.c ../examples/vhost_scsi/vhost_scsi.c: In function ‘vhost_scsi_ctrlr_construct’: ../examples/vhost_scsi/vhost_scsi.c:23:37: error: ‘VIRTIO_F_NOTIFY_ON_EMPTY’ undeclared (first use in this function) #define VIRTIO_SCSI_FEATURES ((1 << VIRTIO_F_NOTIFY_ON_EMPTY) |\ ^ ../examples/vhost_scsi/vhost_scsi.c:433:52: note: in expansion of macro ‘VIRTIO_SCSI_FEATURES’ ret = rte_vhost_driver_set_features(dev_pathname, VIRTIO_SCSI_FEATURES); ^ ../examples/vhost_scsi/vhost_scsi.c:23:37: note: each undeclared identifier is reported only once for each function it appears in #define VIRTIO_SCSI_FEATURES ((1 << VIRTIO_F_NOTIFY_ON_EMPTY) |\ ^ ../examples/vhost_scsi/vhost_scsi.c:433:52: note: in expansion of macro ‘VIRTIO_SCSI_FEATURES’ ret = rte_vhost_driver_set_features(dev_pathname, VIRTIO_SCSI_FEATURES); ^ [1632/1657] Linking target examples/dpdk-service_cores. [1633/1657] Compiling C object 'examples/c590b3c@@dpdk-tep_termination@exe/tep_termination_main.c.o'. [1634/1657] Compiling C object 'examples/c590b3c@@dpdk-rxtx_callbacks@exe/rxtx_callbacks_main.c.o'. [1635/1657] Linking target examples/dpdk-skeleton. [1636/1657] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #3: OS: FC30-64 Target:build-gcc-static FAILED: examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o gcc -Iexamples/c590b3c@@dpdk-vhost@exe -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -march=native -mno-avx512f -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o' -MF 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o.d' -o 'examples/c590b3c@@dpdk-vhost@exe/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:68:18: error: invalid use of undefined type ‘struct vring_desc’ 68 | desc = &vr->desc[desc_idx]; | ^ ../examples/vhost/virtio_net.c:68:18: error: dereferencing pointer to incomplete type ‘struct vring_desc’ ../examples/vhost/virtio_net.c:135:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function) 135 | if ((desc->flags & VRING_DESC_F_NEXT) == 0) { | ^~~~~~~~~~~~~~~~~ ../examples/vhost/virtio_net.c:135: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:194:47: error: dereferencing pointer to incomplete type ‘struct vring_avail’ 194 | avail_idx = *((volatile uint16_t *)&vr->avail->idx); | ^~ ../examples/vhost/virtio_net.c:207:11: error: dereferencing pointer to incomplete type ‘struct vring_used’ 207 | vr->used->ring[used_idx].id = desc_indexes[i]; | ^~ ../examples/vhost/virtio_net.c:212:25: error: invalid use of undefined type ‘struct vring_desc’ 212 | rte_prefetch0(&vr->desc[desc_indexes[0]]); | ^ ../examples/vhost/virtio_net.c:224:27: error: invalid use of undefined type ‘struct vring_desc’ 224 | rte_prefetch0(&vr->desc[desc_indexes[i+1]]); | ^ ../examples/vhost/virtio_net.c:188:11: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable] 188 | uint16_t used_idx; | ^~~~~~~~ ../examples/vhost/virtio_net.c: In function ‘dequeue_pkt’: ../examples/vhost/virtio_net.c:252:18: error: invalid use of undefined type ‘struct vring_desc’ 252 | desc = &vr->desc[desc_idx]; | ^ ../examples/vhost/virtio_net.c:254:19: error: ‘VRING_DESC_F_INDIRECT’ undeclared (first use in this function) 254 | (desc->flags & VRING_DESC_F_INDIRECT)) | ^~~~~~~~~~~~~~~~~~~~~ ../examples/vhost/virtio_net.c:303:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function) 303 | if ((desc->flags & VRING_DESC_F_NEXT) == 0) | ^~~~~~~~~~~~~~~~~ ../examples/vhost/virtio_net.c: In function ‘vs_dequeue_pkts’: ../examples/vhost/virtio_net.c:408:25: error: invalid use of undefined type ‘struct vring_desc’ 408 | rte_prefetch0(&vr->desc[desc_indexes[0]]); | ^ ../examples/vhost/virtio_net.c:413:27: error: invalid use of undefined type ‘struct vring_desc’ 413 | rte_prefetch0(&vr->desc[desc_indexes[i + 1]]); | ^ ../examples/vhost/virtio_net.c:372:11: error: variable ‘avail_idx’ set but not used [-Werror=unused-but-set-variable] 372 | uint16_t avail_idx; | ^~~~~~~~~ ../examples/vhost/virtio_net.c:369:11: error: variable ‘used_idx’ set but not used [-Werror=unused-but-set-variable] 369 | uint32_t used_idx; | ^~~~~~~~ cc1: all warnings being treated as errors [1763/1785] Linking target examples/dpdk-timer. [1764/1785] Linking target examples/dpdk-rxtx_callbacks. [1765/1785] Linking target examples/dpdk-qos_sched. [1766/1785] Linking target examples/dpdk-skeleton. [1767/1785] Compiling C object 'examples/c590b3c@@dpdk-vdpa@exe/vdpa_main.c.o'. [1768/1785] Compiling C object 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o'. FAILED: examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o gcc -Iexamples/c590b3c@@dpdk-vhost_scsi@exe -Iexamples -I../examples -Iexamples/vhost_scsi -I../examples/vhost_scsi -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -march=native -mno-avx512f -Wno-format-truncation -MD -MQ 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o' -MF 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o.d' -o 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o' -c ../examples/vhost_scsi/vhost_scsi.c ../examples/vhost_scsi/vhost_scsi.c: In function ‘vhost_scsi_ctrlr_construct’: ../examples/vhost_scsi/vhost_scsi.c:23:37: error: ‘VIRTIO_F_NOTIFY_ON_EMPTY’ undeclared (first use in this function) 23 | #define VIRTIO_SCSI_FEATURES ((1 << VIRTIO_F_NOTIFY_ON_EMPTY) |\ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../examples/vhost_scsi/vhost_scsi.c:433:52: note: in expansion of macro ‘VIRTIO_SCSI_FEATURES’ 433 | ret = rte_vhost_driver_set_features(dev_pathname, VIRTIO_SCSI_FEATURES); | ^~~~~~~~~~~~~~~~~~~~ ../examples/vhost_scsi/vhost_scsi.c:23:37: note: each undeclared identifier is reported only once for each function it appears in 23 | #define VIRTIO_SCSI_FEATURES ((1 << VIRTIO_F_NOTIFY_ON_EMPTY) |\ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../examples/vhost_scsi/vhost_scsi.c:433:52: note: in expansion of macro ‘VIRTIO_SCSI_FEATURES’ 433 | ret = rte_vhost_driver_set_features(dev_pathname, VIRTIO_SCSI_FEATURES); | ^~~~~~~~~~~~~~~~~~~~ [1769/1785] Compiling C object 'examples/c590b3c@@dpdk-tep_termination@exe/tep_termination_main.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #4: OS: UB1804-64 Target:build-gcc-static FAILED: examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o gcc -Iexamples/c590b3c@@dpdk-vhost_scsi@exe -Iexamples -I../examples -Iexamples/vhost_scsi -I../examples/vhost_scsi -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -march=native -mno-avx512f -Wno-format-truncation -MD -MQ 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o' -MF 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o.d' -o 'examples/c590b3c@@dpdk-vhost_scsi@exe/vhost_scsi_vhost_scsi.c.o' -c ../examples/vhost_scsi/vhost_scsi.c ../examples/vhost_scsi/vhost_scsi.c: In function ‘vhost_scsi_ctrlr_construct’: ../examples/vhost_scsi/vhost_scsi.c:23:37: error: ‘VIRTIO_F_NOTIFY_ON_EMPTY’ undeclared (first use in this function); did you mean ‘VIRTIO_SCSI_T_AN_QUERY’? #define VIRTIO_SCSI_FEATURES ((1 << VIRTIO_F_NOTIFY_ON_EMPTY) |\ ^ ../examples/vhost_scsi/vhost_scsi.c:433:52: note: in expansion of macro ‘VIRTIO_SCSI_FEATURES’ ret = rte_vhost_driver_set_features(dev_pathname, VIRTIO_SCSI_FEATURES); ^~~~~~~~~~~~~~~~~~~~ ../examples/vhost_scsi/vhost_scsi.c:23:37: note: each undeclared identifier is reported only once for each function it appears in #define VIRTIO_SCSI_FEATURES ((1 << VIRTIO_F_NOTIFY_ON_EMPTY) |\ ^ ../examples/vhost_scsi/vhost_scsi.c:433:52: note: in expansion of macro ‘VIRTIO_SCSI_FEATURES’ ret = rte_vhost_driver_set_features(dev_pathname, VIRTIO_SCSI_FEATURES); ^~~~~~~~~~~~~~~~~~~~ [1775/1792] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o'. FAILED: examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o gcc -Iexamples/c590b3c@@dpdk-vhost@exe -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_pci -I../lib/librte_pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -march=native -mno-avx512f -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o' -MF 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o.d' -o 'examples/c590b3c@@dpdk-vhost@exe/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:68:18: error: invalid use of undefined type ‘struct vring_desc’ desc = &vr->desc[desc_idx]; ^ ../examples/vhost/virtio_net.c:68:18: error: dereferencing pointer to incomplete type ‘struct vring_desc’ ../examples/vhost/virtio_net.c:135: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:135: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:194:47: error: dereferencing pointer to incomplete type ‘struct vring_avail’ avail_idx = *((volatile uint16_t *)&vr->avail->idx); ^~ ../examples/vhost/virtio_net.c:207:11: error: dereferencing pointer to incomplete type ‘struct vring_used’ vr->used->ring[used_idx].id = desc_indexes[i]; ^~ ../examples/vhost/virtio_net.c:212:25: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[0]]); ^ ../examples/vhost/virtio_net.c:224:27: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[i+1]]); ^ ../examples/vhost/virtio_net.c:188: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:252:18: error: invalid use of undefined type ‘struct vring_desc’ desc = &vr->desc[desc_idx]; ^ ../examples/vhost/virtio_net.c:254:19: error: ‘VRING_DESC_F_INDIRECT’ undeclared (first use in this function) (desc->flags & VRING_DESC_F_INDIRECT)) ^~~~~~~~~~~~~~~~~~~~~ ../examples/vhost/virtio_net.c:303:23: error: ‘VRING_DESC_F_NEXT’ undeclared (first use in this function); did you mean ‘VRING_DESC_F_INDIRECT’? if ((desc->flags & VRING_DESC_F_NEXT) == 0) ^~~~~~~~~~~~~~~~~ VRING_DESC_F_INDIRECT ../examples/vhost/virtio_net.c: In function ‘vs_dequeue_pkts’: ../examples/vhost/virtio_net.c:408:25: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[0]]); ^ ../examples/vhost/virtio_net.c:413:27: error: invalid use of undefined type ‘struct vring_desc’ rte_prefetch0(&vr->desc[desc_indexes[i + 1]]); ^ ../examples/vhost/virtio_net.c:372:11: error: variable ‘avail_idx’ set but not used [-Werror=unused-but-set-variable] uint16_t avail_idx; ^~~~~~~~~ ../examples/vhost/virtio_net.c:369: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 [1776/1792] Linking target examples/dpdk-vdpa. [1777/1792] Compiling C object 'examples/c590b3c@@dpdk-tep_termination@exe/tep_termination_main.c.o'. [1778/1792] Compiling C object 'examples/c590b3c@@dpdk-vhost_crypto@exe/vhost_crypto_main.c.o'. [1779/1792] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #5: OS: FreeBSD12-64 Target:build-gcc-static Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -D_BSD_SOURCE: YES Compiler for C supports arguments -D_DEFAULT_SOURCE: YES Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES drivers/meson.build:86:5: ERROR: Problem encountered: Missing dependency vhost for driver rte_pmd_virtio A full log can be found at /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-gcc-static/meson-logs/meson-log.txt ninja -C build-gcc-static ninja: Entering directory `build-gcc-static' ninja: error: loading 'build.ninja': No such file or directory -- Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -D_BSD_SOURCE: YES Compiler for C supports arguments -D_DEFAULT_SOURCE: YES Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES drivers/meson.build:86:5: ERROR: Problem encountered: Missing dependency vhost for driver rte_pmd_virtio A full log can be found at /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-gcc-shared/meson-logs/meson-log.txt ninja -C build-gcc-shared ninja: Entering directory `build-gcc-shared' ninja: error: loading 'build.ninja': No such file or directory -- Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -D_BSD_SOURCE: YES Compiler for C supports arguments -D_DEFAULT_SOURCE: YES Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES drivers/meson.build:86:5: ERROR: Problem encountered: Missing dependency vhost for driver rte_pmd_virtio A full log can be found at /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-clang-static/meson-logs/meson-log.txt ninja -C build-clang-static ninja: Entering directory `build-clang-static' ninja: error: loading 'build.ninja': No such file or directory -- Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -D_BSD_SOURCE: YES Compiler for C supports arguments -D_DEFAULT_SOURCE: YES Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES drivers/meson.build:86:5: ERROR: Problem encountered: Missing dependency vhost for driver rte_pmd_virtio A full log can be found at /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-clang-shared/meson-logs/meson-log.txt ninja -C build-clang-shared ninja: Entering directory `build-clang-shared' ninja: error: loading 'build.ninja': No such file or directory -- Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -D_BSD_SOURCE: YES Compiler for C supports arguments -D_DEFAULT_SOURCE: YES Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES drivers/meson.build:86:5: ERROR: Problem encountered: Missing dependency vhost for driver rte_pmd_virtio A full log can be found at /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/meson-logs/meson-log.txt ninja -C build-x86-default ninja: Entering directory `build-x86-default' ninja: error: loading 'build.ninja': No such file or directory ninja: Entering directory `build-x86-default' ninja: error: loading 'build.ninja': No such file or directory find: /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/install-root: No such file or directory usage: dirname string [...] ## Building cmdline gmake: *** /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/cmdline: No such file or directory. Stop. ## Building helloworld gmake: *** /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/helloworld: No such file or directory. Stop. ## Building l2fwd gmake: *** /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/l2fwd: No such file or directory. Stop. ## Building l3fwd gmake: *** /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/l3fwd: No such file or directory. Stop. ## Building skeleton gmake: *** /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/skeleton: No such file or directory. Stop. ## Building timer gmake: *** /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/bf3de8d62386431487c6006848bfb528/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/timer: No such file or directory. Stop. DPDK STV team