Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/42069 _Compilation issues_ Submitter: Maxime Coquelin Date: 2018-07-02 08:16:17 DPDK git baseline: Repo:dpdk-master, CommitID: 05e0eee0001cb19671eb7e8d3dd68680a695fea2 Build Summary: 15 Builds Done, 2 Successful, 13 Failures Test environment and configuration as below: OS: FC25 Kernel Version: 4.9.13-100.fc24.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version: 3.8.0 (tags/RELEASE_380/final) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-debug OS: FC24 Kernel Version: 4.9.13-100.fc24.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version: 3.8.0 (tags/RELEASE_380/final) i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: CENTOS Kernel Version: 3.10.0-514.10.2.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-clang i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: UB1604 Kernel Version: 4.4.0-78-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-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared i686-native-linuxapp-gcc OS: FreeBSD Kernel Version: 10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.76-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 4.8.5 Clang Version: 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc *Failed Build #1: OS: FC25 Target: x86_64-native-linuxapp-gcc CC rte_ipv6_fragmentation.o CC rte_ipv4_reassembly.o CC virtio_net.o CC rte_ipv6_reassembly.o /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type ‘struct vring_desc_packed’ dlen = desc->len; ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ In file included from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [-Wint-conversion] &vq->desc[desc_indexes[i]]); ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t {aka long unsigned int}’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1376:13: error: too few arguments to function ‘alloc_copy_ind_table’ idesc = alloc_copy_ind_table(dev, vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC rte_ip_frag_common.o CC ip_frag_internal.o AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #2: OS: UB1604 Target: x86_64-native-linuxapp-gcc == Build lib/librte_ip_frag SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o CC virtio_net.o /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type ‘struct vring_desc_packed’ dlen = desc->len; ^~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^~~~~~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ In file included from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [-Wint-conversion] &vq->desc[desc_indexes[i]]); ^ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t {aka long unsigned int}’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1376:13: error: too few arguments to function ‘alloc_copy_ind_table’ idesc = alloc_copy_ind_table(dev, vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC rte_ipv6_fragmentation.o CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC rte_ip_frag_common.o CC ip_frag_internal.o AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604_K4.8.0_GCC6.2.0/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #3: OS: CENTOS Target: x86_64-native-linuxapp-clang CC rte_ipv4_fragmentation.o CC vhost_user.o CC rte_ipv6_fragmentation.o CC virtio_net.o CC rte_ipv4_reassembly.o /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: incomplete definition of type 'struct vring_desc_packed' dlen = desc->len; ~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:354:34: error: incomplete definition of type 'struct vring_desc_packed' vhost_iova_to_vva(dev, vq, desc->addr, &dlen, VHOST_ACCESS_RO); ~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:358:26: error: incomplete definition of type 'struct vring_desc_packed' if (unlikely(dlen < desc->len)) { ~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:46: error: incomplete definition of type 'struct vring_desc_packed' idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:17: error: incomplete definition of type 'struct vring_desc_packed' nr_decs = desc->len / sizeof(struct vring_desc_packed); ~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ -- CC rte_ip_frag_common.o CC ip_frag_internal.o AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a == Build lib/librte_gro /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:25: error: invalid application of 'sizeof' to an incomplete type 'struct vring_desc_packed' nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:16: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *len += descs[i].len; ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function 'map_one_desc' is invalid in C99 [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:12: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[i].addr, descs[i].len, ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:344:55: warning: unused parameter 'perm' [-Wunused-parameter] struct buf_vector *buf_vec, uint16_t *len, uint8_t perm) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function 'desc_is_avail' is invalid in C99 [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:36: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:18: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *buf_id = descs[avail_idx].index; ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:12: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:423:14: error: subscript of pointer to incomplete type 'struct vring_desc_packed' &descs[avail_idx], ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:17: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *len += descs[avail_idx].len; ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:431:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[avail_idx].addr, ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ~~~~~^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:400:46: warning: unused parameter 'perm' [-Wunused-parameter] uint16_t *buf_id, uint16_t *len, uint8_t perm) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:33: error: too few arguments to function call, expected 4, have 3 &vq->desc[desc_indexes[i]]); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:40:1: note: 'alloc_copy_ind_table' declared here static __rte_always_inline void * ^ 4 warnings and 16 errors generated. make[5]: *** [virtio_net.o] Error 1 make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... SYMLINK-FILE include/rte_gro.h CC rte_gro.o *Failed Build #4: OS: CENTOS Target: i686-native-linuxapp-gcc CC socket.o CC rte_event_crypto_adapter.o CC vhost.o CC vhost_user.o /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost_user.c: In function ‘translate_ring_addresses’: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost_user.c:473:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] vq->desc_packed = (struct vring_desc_packed *) ring_addr_to_vva ^ AR librte_eventdev.a INSTALL-LIB librte_eventdev.a == Build lib/librte_ip_frag CC virtio_net.o SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type dlen = desc->len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:354:34: error: dereferencing pointer to incomplete type vhost_iova_to_vva(dev, vq, desc->addr, &dlen, VHOST_ACCESS_RO); ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:358:26: error: dereferencing pointer to incomplete type if (unlikely(dlen < desc->len)) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:46: error: dereferencing pointer to incomplete type idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:58: error: dereferencing pointer to incomplete type idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:17: error: dereferencing pointer to incomplete type nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:16: error: dereferencing pointer to incomplete type *len += descs[i].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:12: error: dereferencing pointer to incomplete type descs[i].addr, descs[i].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:27: error: dereferencing pointer to incomplete type descs[i].addr, descs[i].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:36: error: dereferencing pointer to incomplete type if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:18: error: dereferencing pointer to incomplete type *buf_id = descs[avail_idx].index; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:12: error: dereferencing pointer to incomplete type if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:423:14: error: dereferencing pointer to incomplete type &descs[avail_idx], ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:17: error: dereferencing pointer to incomplete type *len += descs[avail_idx].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:431:13: error: dereferencing pointer to incomplete type descs[avail_idx].addr, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:432:13: error: dereferencing pointer to incomplete type descs[avail_idx].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:13: error: dereferencing pointer to incomplete type if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ CC rte_ipv6_fragmentation.o CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o -- CC gro_vxlan_tcp4.o AR librte_gro.a INSTALL-LIB librte_gro.a == Build lib/librte_bitratestats /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [enabled by default] &vq->desc[desc_indexes[i]]); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: error: too few arguments to function ‘alloc_copy_ind_table’ &vq->desc[desc_indexes[i]]); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ *Failed Build #5: OS: UB1604 Target: x86_64-native-linuxapp-clang SYMLINK-FILE include/rte_gro.h CC rte_gro.o CC gro_tcp4.o CC virtio_net.o CC gro_vxlan_tcp4.o /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: incomplete definition of type 'struct vring_desc_packed' dlen = desc->len; ~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:354:34: error: incomplete definition of type 'struct vring_desc_packed' vhost_iova_to_vva(dev, vq, desc->addr, &dlen, VHOST_ACCESS_RO); ~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:358:26: error: incomplete definition of type 'struct vring_desc_packed' if (unlikely(dlen < desc->len)) { ~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:46: error: incomplete definition of type 'struct vring_desc_packed' idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:58: error: incomplete definition of type 'struct vring_desc_packed' idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:17: error: incomplete definition of type 'struct vring_desc_packed' nr_decs = desc->len / sizeof(struct vring_desc_packed); ~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:25: error: invalid application of 'sizeof' to an incomplete type 'struct vring_desc_packed' nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:16: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *len += descs[i].len; ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function 'map_one_desc' is invalid in C99 [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:12: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[i].addr, descs[i].len, ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:27: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[i].addr, descs[i].len, ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function 'desc_is_avail' is invalid in C99 [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:36: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:18: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *buf_id = descs[avail_idx].index; ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:12: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:423:14: error: subscript of pointer to incomplete type 'struct vring_desc_packed' &descs[avail_idx], ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:17: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *len += descs[avail_idx].len; ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:431:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[avail_idx].addr, ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:432:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[avail_idx].len, ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ~~~~~^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:33: error: too few arguments to function call, expected 4, have 3 &vq->desc[desc_indexes[i]]); ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:40:1: note: 'alloc_copy_ind_table' declared here static __rte_always_inline void * ^ 2 warnings and 19 errors generated. /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... AR librte_gro.a INSTALL-LIB librte_gro.a /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #6: OS: CENTOS Target: x86_64-native-linuxapp-gcc-shared SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o CC rte_ipv6_fragmentation.o CC virtio_net.o /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type dlen = desc->len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:354:34: error: dereferencing pointer to incomplete type vhost_iova_to_vva(dev, vq, desc->addr, &dlen, VHOST_ACCESS_RO); ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:358:26: error: dereferencing pointer to incomplete type if (unlikely(dlen < desc->len)) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:46: error: dereferencing pointer to incomplete type idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:58: error: dereferencing pointer to incomplete type idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:17: error: dereferencing pointer to incomplete type nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:16: error: dereferencing pointer to incomplete type *len += descs[i].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:12: error: dereferencing pointer to incomplete type descs[i].addr, descs[i].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:27: error: dereferencing pointer to incomplete type descs[i].addr, descs[i].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:36: error: dereferencing pointer to incomplete type if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:18: error: dereferencing pointer to incomplete type *buf_id = descs[avail_idx].index; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:12: error: dereferencing pointer to incomplete type if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:423:14: error: dereferencing pointer to incomplete type &descs[avail_idx], ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:17: error: dereferencing pointer to incomplete type *len += descs[avail_idx].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:431:13: error: dereferencing pointer to incomplete type descs[avail_idx].addr, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:432:13: error: dereferencing pointer to incomplete type descs[avail_idx].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:13: error: dereferencing pointer to incomplete type if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [enabled by default] &vq->desc[desc_indexes[i]]); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: error: too few arguments to function ‘alloc_copy_ind_table’ &vq->desc[desc_indexes[i]]); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ *Failed Build #7: OS: CENTOS Target: x86_64-native-linuxapp-gcc == Build lib/librte_ip_frag SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o CC virtio_net.o /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type dlen = desc->len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:354:34: error: dereferencing pointer to incomplete type vhost_iova_to_vva(dev, vq, desc->addr, &dlen, VHOST_ACCESS_RO); ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:358:26: error: dereferencing pointer to incomplete type if (unlikely(dlen < desc->len)) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:46: error: dereferencing pointer to incomplete type idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:58: error: dereferencing pointer to incomplete type idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:17: error: dereferencing pointer to incomplete type nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ CC rte_ipv6_fragmentation.o /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:16: error: dereferencing pointer to incomplete type *len += descs[i].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:12: error: dereferencing pointer to incomplete type descs[i].addr, descs[i].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:27: error: dereferencing pointer to incomplete type descs[i].addr, descs[i].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:36: error: dereferencing pointer to incomplete type if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:18: error: dereferencing pointer to incomplete type *buf_id = descs[avail_idx].index; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:12: error: dereferencing pointer to incomplete type if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:423:14: error: dereferencing pointer to incomplete type &descs[avail_idx], ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:17: error: dereferencing pointer to incomplete type *len += descs[avail_idx].len; ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:431:13: error: dereferencing pointer to incomplete type descs[avail_idx].addr, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ In file included from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:432:13: error: dereferencing pointer to incomplete type descs[avail_idx].len, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:13: error: dereferencing pointer to incomplete type if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC rte_ip_frag_common.o /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [enabled by default] &vq->desc[desc_indexes[i]]); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: error: too few arguments to function ‘alloc_copy_ind_table’ &vq->desc[desc_indexes[i]]); ^ /tmp/CENTOS_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ *Failed Build #8: OS: UB1604 Target: x86_64-native-linuxapp-gcc-shared CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC rte_ip_frag_common.o CC virtio_net.o /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type ‘struct vring_desc_packed’ dlen = desc->len; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ In file included from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [-Wint-conversion] &vq->desc[desc_indexes[i]]); ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t {aka long unsigned int}’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1376:13: error: too few arguments to function ‘alloc_copy_ind_table’ idesc = alloc_copy_ind_table(dev, vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC ip_frag_internal.o LD librte_ip_frag.so.1.1 INSTALL-LIB librte_ip_frag.so.1.1 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #9: OS: UB1604 Target: i686-native-linuxapp-gcc CC socket.o CC rte_event_crypto_adapter.o CC vhost.o CC vhost_user.o /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost_user.c: In function ‘translate_ring_addresses’: /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost_user.c:473:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] vq->desc_packed = (struct vring_desc_packed *) ring_addr_to_vva ^ AR librte_eventdev.a INSTALL-LIB librte_eventdev.a CC virtio_net.o /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type ‘struct vring_desc_packed’ dlen = desc->len; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ In file included from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [-Wint-conversion] &vq->desc[desc_indexes[i]]); ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t {aka long long unsigned int}’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1376:13: error: too few arguments to function ‘alloc_copy_ind_table’ idesc = alloc_copy_ind_table(dev, vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^ /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 make[5]: *** Waiting for unfinished jobs.... == Build lib/librte_ip_frag SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC rte_ipv6_fragmentation.o CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC rte_ip_frag_common.o CC ip_frag_internal.o AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #10: OS: FC25 Target: x86_64-native-linuxapp-gcc-debug CC vhost_user.o AR librte_eventdev.a INSTALL-LIB librte_eventdev.a CC virtio_net.o /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type ‘struct vring_desc_packed’ dlen = desc->len; ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ In file included from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [-Wint-conversion] &vq->desc[desc_indexes[i]]); ^ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t {aka long unsigned int}’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1376:13: error: too few arguments to function ‘alloc_copy_ind_table’ idesc = alloc_copy_ind_table(dev, vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 make[5]: *** Waiting for unfinished jobs.... == Build lib/librte_ip_frag SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC rte_ipv6_fragmentation.o CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC rte_ip_frag_common.o CC ip_frag_internal.o AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/FC25_K4.8.6_GCC6.3.1/x86_64-native-linuxapp-gcc-debug/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #11: OS: FC24 Target: i686-native-linuxapp-gcc CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC vhost_user.o CC rte_ip_frag_common.o /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost_user.c: In function ‘translate_ring_addresses’: /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost_user.c:473:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] vq->desc_packed = (struct vring_desc_packed *) ring_addr_to_vva ^ CC ip_frag_internal.o CC virtio_net.o AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a CC vdpa.o /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type ‘struct vring_desc_packed’ dlen = desc->len; ^~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^~~~~~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ In file included from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/i686-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [-Wint-conversion] &vq->desc[desc_indexes[i]]); ^ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t {aka long long unsigned int}’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1376:13: error: too few arguments to function ‘alloc_copy_ind_table’ idesc = alloc_copy_ind_table(dev, vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 make[5]: *** Waiting for unfinished jobs.... == Build lib/librte_gro /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... SYMLINK-FILE include/rte_gro.h CC rte_gro.o CC gro_tcp4.o CC gro_vxlan_tcp4.o AR librte_gro.a INSTALL-LIB librte_gro.a /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/FC24_K4.5.5_GCC6.1.1/i686-native-linuxapp-gcc/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #12: OS: FC24 Target: x86_64-native-linuxapp-gcc-shared CC vhost_user.o LD librte_eventdev.so.4.1 INSTALL-LIB librte_eventdev.so.4.1 CC virtio_net.o /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed_indirect’: /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: dereferencing pointer to incomplete type ‘struct vring_desc_packed’ dlen = desc->len; ^~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct vring_desc_packed’ nr_decs = desc->len / sizeof(struct vring_desc_packed); ^~~~~~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[i].len; ^ In file included from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function ‘map_one_desc’ [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: warning: nested extern declaration of ‘map_one_desc’ [-Wnested-externs] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:3: error: invalid use of undefined type ‘struct vring_desc_packed’ In file included from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_spinlock.h:15:0, from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:44, from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38, from /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:9: /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘fill_vec_buf_packed’: /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function ‘desc_is_avail’ [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-gcc/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: warning: nested extern declaration of ‘desc_is_avail’ [-Wnested-externs] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:2: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:3: error: invalid use of undefined type ‘struct vring_desc_packed’ *buf_id = descs[avail_idx].index; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ^~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:422:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(fill_vec_buf_packed_indirect(dev, vq, ^~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:4: error: invalid use of undefined type ‘struct vring_desc_packed’ *len += descs[avail_idx].len; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:430:4: error: invalid use of undefined type ‘struct vring_desc_packed’ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:3: error: invalid use of undefined type ‘struct vring_desc_packed’ if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ^~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c: In function ‘rte_vhost_dequeue_burst’: /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:7: warning: passing argument 3 of ‘alloc_copy_ind_table’ makes integer from pointer without a cast [-Wint-conversion] &vq->desc[desc_indexes[i]]); ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: expected ‘uint64_t {aka long unsigned int}’ but argument is of type ‘struct vring_desc *’ alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1376:13: error: too few arguments to function ‘alloc_copy_ind_table’ idesc = alloc_copy_ind_table(dev, vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:41:1: note: declared here alloc_copy_ind_table(struct virtio_net *dev, struct vhost_virtqueue *vq, ^~~~~~~~~~~~~~~~~~~~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 make[5]: *** Waiting for unfinished jobs.... == Build lib/librte_ip_frag SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC rte_ipv6_fragmentation.o CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC rte_ip_frag_common.o CC ip_frag_internal.o LD librte_ip_frag.so.1.1 INSTALL-LIB librte_ip_frag.so.1.1 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-gcc-shared/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 *Failed Build #13: OS: FC24 Target: x86_64-native-linuxapp-clang == Build lib/librte_ip_frag SYMLINK-FILE include/rte_ip_frag.h CC rte_ipv4_fragmentation.o CC virtio_net.o CC rte_ipv6_fragmentation.o /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:352:13: error: incomplete definition of type 'struct vring_desc_packed' dlen = desc->len; ~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:354:34: error: incomplete definition of type 'struct vring_desc_packed' vhost_iova_to_vva(dev, vq, desc->addr, &dlen, VHOST_ACCESS_RO); ~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:358:26: error: incomplete definition of type 'struct vring_desc_packed' if (unlikely(dlen < desc->len)) { ~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:46: error: incomplete definition of type 'struct vring_desc_packed' idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:363:58: error: incomplete definition of type 'struct vring_desc_packed' idescs = alloc_copy_ind_table(dev, vq, desc->addr, desc->len); ~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:17: error: incomplete definition of type 'struct vring_desc_packed' nr_decs = desc->len / sizeof(struct vring_desc_packed); ~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:370:25: error: invalid application of 'sizeof' to an incomplete type 'struct vring_desc_packed' nr_decs = desc->len / sizeof(struct vring_desc_packed); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:382:16: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *len += descs[i].len; ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:383:16: warning: implicit declaration of function 'map_one_desc' is invalid in C99 [-Wimplicit-function-declaration] if (unlikely(map_one_desc(dev, vq, buf_vec, &vec_id, ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:12: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[i].addr, descs[i].len, ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:384:27: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[i].addr, descs[i].len, ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:16: warning: implicit declaration of function 'desc_is_avail' is invalid in C99 [-Wimplicit-function-declaration] if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:409:36: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if (unlikely(!desc_is_avail(&descs[avail_idx], wrap_counter))) ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:419:18: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *buf_id = descs[avail_idx].index; ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:421:12: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if (descs[avail_idx].flags & VRING_DESC_F_INDIRECT) { ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:423:14: error: subscript of pointer to incomplete type 'struct vring_desc_packed' &descs[avail_idx], ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:428:17: error: subscript of pointer to incomplete type 'struct vring_desc_packed' *len += descs[avail_idx].len; ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:431:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[avail_idx].addr, ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:432:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' descs[avail_idx].len, ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:437:13: error: subscript of pointer to incomplete type 'struct vring_desc_packed' if ((descs[avail_idx].flags & VRING_DESC_F_NEXT) == 0) ~~~~~^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/vhost.h:88:10: note: forward declaration of 'struct vring_desc_packed' struct vring_desc_packed *desc_packed; ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:1377:33: error: too few arguments to function call, expected 4, have 3 &vq->desc[desc_indexes[i]]); ^ /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/lib/librte_vhost/virtio_net.c:40:1: note: 'alloc_copy_ind_table' declared here static __rte_always_inline void * ^ 2 warnings and 19 errors generated. /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'virtio_net.o' failed make[5]: *** [virtio_net.o] Error 1 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed make[4]: *** [librte_vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... CC rte_ipv4_reassembly.o CC rte_ipv6_reassembly.o CC rte_ip_frag_common.o CC ip_frag_internal.o AR librte_ip_frag.a INSTALL-LIB librte_ip_frag.a /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed make[3]: *** [lib] Error 2 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkinstall.mk:57: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/FC24_K4.9.13_GCC6.2.1/x86_64-native-linuxapp-clang/48f01f8ee458410daa1b8f5ab2176d15/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed make: *** [install] Error 2 DPDK STV team