Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/22576 _Compilation issues_ Submitter: Beilei Xing Date: Tue, 28 Mar 2017 17:28:41 +0800 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:b88161be422750fca0e66c76385d3d00912ba8fb Patch22575-22576 --> compile error Build Summary: 18 Builds Done, 0 Successful, 18 Failures Test environment and configuration as below: OS: RHEL7.2_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version:gcc (FreeBSD Ports Collection) 4.8.5 Clang Version:3.4.1 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: FC24_64 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 x86_64-native-linuxapp-gcc-debug i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: UB1604_64 Kernel Version:4.4.0-64-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Clang Version:3.8.0 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc OS: CentOS7_64 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 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: dereferencing pointer to incomplete type tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ^ In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:53:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:45: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: dereferencing pointer to incomplete type if ((rte_le_to_cpu_16(cld_filter->element.flags) & ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: dereferencing pointer to incomplete type tunnel_filter->input.flags = cld_filter->element.flags; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: dereferencing pointer to incomplete type tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: dereferencing pointer to incomplete type tunnel_filter->queue = cld_filter->element.queue_number; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: dereferencing pointer to incomplete type cld_filter->general_fields, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: dereferencing pointer to incomplete type sizeof(cld_filter->general_fields)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.inner_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: dereferencing pointer to incomplete type pfilter->element.inner_vlan = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v4.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v4.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v6.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6835:21: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v6.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: dereferencing pointer to incomplete type &pfilter->element.flags); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: dereferencing pointer to incomplete type pfilter->element.flags |= rte_cpu_to_le_16( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6866:9: error: dereferencing pointer to incomplete type pfilter->element.tenant_id = rte_cpu_to_le_32(tunnel_filter->tenant_id); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6867:9: error: dereferencing pointer to incomplete type pfilter->element.queue_number = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:2: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6886:28: error: dereferencing pointer to incomplete type vsi->seid, &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6896:21: error: dereferencing pointer to incomplete type &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors Failed Build #2: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: dereferencing pointer to incomplete type tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:53:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:45: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: dereferencing pointer to incomplete type if ((rte_le_to_cpu_16(cld_filter->element.flags) & ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: dereferencing pointer to incomplete type tunnel_filter->input.flags = cld_filter->element.flags; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: dereferencing pointer to incomplete type tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: dereferencing pointer to incomplete type tunnel_filter->queue = cld_filter->element.queue_number; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: dereferencing pointer to incomplete type cld_filter->general_fields, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: dereferencing pointer to incomplete type sizeof(cld_filter->general_fields)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.inner_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: dereferencing pointer to incomplete type pfilter->element.inner_vlan = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v4.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v4.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v6.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6835:21: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v6.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: dereferencing pointer to incomplete type &pfilter->element.flags); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: dereferencing pointer to incomplete type pfilter->element.flags |= rte_cpu_to_le_16( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6866:9: error: dereferencing pointer to incomplete type pfilter->element.tenant_id = rte_cpu_to_le_32(tunnel_filter->tenant_id); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6867:9: error: dereferencing pointer to incomplete type pfilter->element.queue_number = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:2: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6886:28: error: dereferencing pointer to incomplete type vsi->seid, &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6896:21: error: dereferencing pointer to incomplete type &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors Failed Build #3: OS: RHEL7.2_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: dereferencing pointer to incomplete type tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:53:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:45: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: dereferencing pointer to incomplete type if ((rte_le_to_cpu_16(cld_filter->element.flags) & ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: dereferencing pointer to incomplete type tunnel_filter->input.flags = cld_filter->element.flags; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: dereferencing pointer to incomplete type tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: dereferencing pointer to incomplete type tunnel_filter->queue = cld_filter->element.queue_number; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: dereferencing pointer to incomplete type cld_filter->general_fields, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: dereferencing pointer to incomplete type sizeof(cld_filter->general_fields)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.inner_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: dereferencing pointer to incomplete type pfilter->element.inner_vlan = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v4.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v4.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v6.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6835:21: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v6.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: dereferencing pointer to incomplete type &pfilter->element.flags); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: dereferencing pointer to incomplete type pfilter->element.flags |= rte_cpu_to_le_16( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6866:9: error: dereferencing pointer to incomplete type pfilter->element.tenant_id = rte_cpu_to_le_32(tunnel_filter->tenant_id); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6867:9: error: dereferencing pointer to incomplete type pfilter->element.queue_number = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:2: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6886:28: error: dereferencing pointer to incomplete type vsi->seid, &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6896:21: error: dereferencing pointer to incomplete type &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors Failed Build #4: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for 'i40e_tunnel_filter_convert' i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration is here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' if ((rte_le_to_cpu_16(cld_filter->element.flags) & ~~~~~~~~~~^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16' #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.flags = cld_filter->element.flags; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->queue = cld_filter->element.queue_number; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' cld_filter->general_fields, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:5: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.outer_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.inner_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' pfilter->element.inner_vlan = ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v4.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v6.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' &pfilter->element.flags); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' pfilter->element.flags |= rte_cpu_to_le_16( ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #5: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for 'i40e_tunnel_filter_convert' i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of 'i40e_tunnel_filter_convert' was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function 'i40e_tunnel_filter_convert': /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: dereferencing pointer to incomplete type tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_ether.h:53:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:45: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: dereferencing pointer to incomplete type if ((rte_le_to_cpu_16(cld_filter->element.flags) & ^ /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16' #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: dereferencing pointer to incomplete type tunnel_filter->input.flags = cld_filter->element.flags; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: dereferencing pointer to incomplete type tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: dereferencing pointer to incomplete type tunnel_filter->queue = cld_filter->element.queue_number; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: dereferencing pointer to incomplete type cld_filter->general_fields, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: dereferencing pointer to incomplete type sizeof(cld_filter->general_fields)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function 'i40e_dev_tunnel_filter_set': /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of 'sizeof' to incomplete type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.inner_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: dereferencing pointer to incomplete type pfilter->element.inner_vlan = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v4.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v4.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v6.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6835:21: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v6.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: dereferencing pointer to incomplete type &pfilter->element.flags); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: dereferencing pointer to incomplete type pfilter->element.flags |= rte_cpu_to_le_16( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6866:9: error: dereferencing pointer to incomplete type pfilter->element.tenant_id = rte_cpu_to_le_32(tunnel_filter->tenant_id); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6867:9: error: dereferencing pointer to incomplete type pfilter->element.queue_number = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:2: error: passing argument 1 of 'i40e_tunnel_filter_convert' from incompatible pointer type [-Werror] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected 'struct i40e_aqc_add_rm_cloud_filt_elem_ext *' but argument is of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext *' i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6886:28: error: dereferencing pointer to incomplete type vsi->seid, &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6896:21: error: dereferencing pointer to incomplete type &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function 'i40e_tunnel_filter_restore': /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of 'cld_filter' isn't known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable 'cld_filter' [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #6: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ (struct ether_addr *)&pfilter->element.outer_mac); ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:29: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror=incompatible-pointer-types] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #7: OS: FC24_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ (struct ether_addr *)&pfilter->element.outer_mac); ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:29: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror=incompatible-pointer-types] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #8: OS: FC24_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for 'i40e_tunnel_filter_convert' i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration is here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' if ((rte_le_to_cpu_16(cld_filter->element.flags) & ~~~~~~~~~~^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16' #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.flags = cld_filter->element.flags; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->queue = cld_filter->element.queue_number; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' cld_filter->general_fields, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(cld_filter->general_fields)); ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:5: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.outer_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.inner_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' pfilter->element.inner_vlan = ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v4.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(pfilter->element.ipaddr.v4.data)); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v6.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #9: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ (struct ether_addr *)&pfilter->element.outer_mac); ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:29: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror=incompatible-pointer-types] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #10: OS: FC24_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ (struct ether_addr *)&pfilter->element.outer_mac); ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:29: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror=incompatible-pointer-types] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #11: OS: UB1604_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:29: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror=incompatible-pointer-types] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #12: OS: UB1604_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for 'i40e_tunnel_filter_convert' i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration is here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' if ((rte_le_to_cpu_16(cld_filter->element.flags) & ~~~~~~~~~~^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16' #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.flags = cld_filter->element.flags; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->queue = cld_filter->element.queue_number; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' cld_filter->general_fields, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(cld_filter->general_fields)); ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:5: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.outer_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.inner_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' pfilter->element.inner_vlan = ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v4.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(pfilter->element.ipaddr.v4.data)); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v6.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #13: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:29: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror=incompatible-pointer-types] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #14: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:29: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror=incompatible-pointer-types] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors /home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'i40e_ethdev.o' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed /home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed Failed Build #15: OS: CentOS7_64 Target: i686-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: dereferencing pointer to incomplete type tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ^ In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_ether.h:53:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:45: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: dereferencing pointer to incomplete type if ((rte_le_to_cpu_16(cld_filter->element.flags) & ^ /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: dereferencing pointer to incomplete type tunnel_filter->input.flags = cld_filter->element.flags; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: dereferencing pointer to incomplete type tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: dereferencing pointer to incomplete type tunnel_filter->queue = cld_filter->element.queue_number; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: dereferencing pointer to incomplete type cld_filter->general_fields, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: dereferencing pointer to incomplete type sizeof(cld_filter->general_fields)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.inner_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: dereferencing pointer to incomplete type pfilter->element.inner_vlan = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v4.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v4.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v6.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6835:21: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v6.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: dereferencing pointer to incomplete type &pfilter->element.flags); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: dereferencing pointer to incomplete type pfilter->element.flags |= rte_cpu_to_le_16( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6866:9: error: dereferencing pointer to incomplete type pfilter->element.tenant_id = rte_cpu_to_le_32(tunnel_filter->tenant_id); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6867:9: error: dereferencing pointer to incomplete type pfilter->element.queue_number = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:2: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6886:28: error: dereferencing pointer to incomplete type vsi->seid, &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6896:21: error: dereferencing pointer to incomplete type &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors Failed Build #16: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:413:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: error: declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' will not be visible outside of this function [-Werror,-Wvisibility] struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for 'i40e_tunnel_filter_convert' i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration is here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' if ((rte_le_to_cpu_16(cld_filter->element.flags) & ~~~~~~~~~~^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16' #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.flags = cld_filter->element.flags; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' tunnel_filter->queue = cld_filter->element.queue_number; ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' cld_filter->general_fields, ~~~~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6700:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:5: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.outer_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' (struct ether_addr *)&pfilter->element.inner_mac); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' pfilter->element.inner_vlan = ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v4.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' rte_memcpy(&pfilter->element.ipaddr.v6.data, ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' &pfilter->element.flags); ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: incomplete definition of type 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' pfilter->element.flags |= rte_cpu_to_le_16( ~~~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6798:9: note: forward declaration of 'struct i40e_aqc_add_rm_cloud_filt_elem_ext' struct i40e_aqc_add_rm_cloud_filt_elem_ext *cld_filter; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Failed Build #17: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: dereferencing pointer to incomplete type tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:53:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:45: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: dereferencing pointer to incomplete type if ((rte_le_to_cpu_16(cld_filter->element.flags) & ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: dereferencing pointer to incomplete type tunnel_filter->input.flags = cld_filter->element.flags; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: dereferencing pointer to incomplete type tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: dereferencing pointer to incomplete type tunnel_filter->queue = cld_filter->element.queue_number; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: dereferencing pointer to incomplete type cld_filter->general_fields, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: dereferencing pointer to incomplete type sizeof(cld_filter->general_fields)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.inner_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: dereferencing pointer to incomplete type pfilter->element.inner_vlan = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v4.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v4.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v6.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6835:21: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v6.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: dereferencing pointer to incomplete type &pfilter->element.flags); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: dereferencing pointer to incomplete type pfilter->element.flags |= rte_cpu_to_le_16( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6866:9: error: dereferencing pointer to incomplete type pfilter->element.tenant_id = rte_cpu_to_le_32(tunnel_filter->tenant_id); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6867:9: error: dereferencing pointer to incomplete type pfilter->element.queue_number = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:2: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6886:28: error: dereferencing pointer to incomplete type vsi->seid, &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6896:21: error: dereferencing pointer to incomplete type &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors Failed Build #18: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:414:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6701:9: error: ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ declared inside parameter list [-Werror] struct i40e_tunnel_filter *tunnel_filter) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: error: conflicting types for ‘i40e_tunnel_filter_convert’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:412:12: note: previous declaration of ‘i40e_tunnel_filter_convert’ was here static int i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_convert’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6703:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.outer_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6705:50: error: dereferencing pointer to incomplete type ether_addr_copy((struct ether_addr *)&cld_filter->element.inner_mac, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6707:46: error: dereferencing pointer to incomplete type tunnel_filter->input.inner_vlan = cld_filter->element.inner_vlan; ^ In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_ether.h:53:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:45: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6708:34: error: dereferencing pointer to incomplete type if ((rte_le_to_cpu_16(cld_filter->element.flags) & ^ /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6714:41: error: dereferencing pointer to incomplete type tunnel_filter->input.flags = cld_filter->element.flags; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6715:45: error: dereferencing pointer to incomplete type tunnel_filter->input.tenant_id = cld_filter->element.tenant_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6716:35: error: dereferencing pointer to incomplete type tunnel_filter->queue = cld_filter->element.queue_number; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6718:16: error: dereferencing pointer to incomplete type cld_filter->general_fields, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6719:23: error: dereferencing pointer to incomplete type sizeof(cld_filter->general_fields)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_dev_tunnel_filter_set’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6805:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext’ sizeof(struct i40e_aqc_add_rm_cloud_filt_elem_ext), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6815:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.outer_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6817:33: error: dereferencing pointer to incomplete type (struct ether_addr *)&pfilter->element.inner_mac); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6819:9: error: dereferencing pointer to incomplete type pfilter->element.inner_vlan = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6824:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v4.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6826:19: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v4.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6833:22: error: dereferencing pointer to incomplete type rte_memcpy(&pfilter->element.ipaddr.v6.data, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6835:21: error: dereferencing pointer to incomplete type sizeof(pfilter->element.ipaddr.v6.data)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6857:20: error: dereferencing pointer to incomplete type &pfilter->element.flags); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6863:9: error: dereferencing pointer to incomplete type pfilter->element.flags |= rte_cpu_to_le_16( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6866:9: error: dereferencing pointer to incomplete type pfilter->element.tenant_id = rte_cpu_to_le_32(tunnel_filter->tenant_id); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6867:9: error: dereferencing pointer to incomplete type pfilter->element.queue_number = ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6872:2: error: passing argument 1 of ‘i40e_tunnel_filter_convert’ from incompatible pointer type [-Werror] i40e_tunnel_filter_convert(cld_filter, &check_filter); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6699:1: note: expected ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ but argument is of type ‘struct i40e_aqc_add_rm_cloud_filt_elem_ext *’ i40e_tunnel_filter_convert( ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6886:28: error: dereferencing pointer to incomplete type vsi->seid, &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:6896:21: error: dereferencing pointer to incomplete type &cld_filter->element, 1); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_tunnel_filter_restore’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: storage size of ‘cld_filter’ isn’t known struct i40e_aqc_add_rm_cloud_filt_elem_ext cld_filter; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10275:45: error: unused variable ‘cld_filter’ [-Werror=unused-variable] cc1: all warnings being treated as errors DPDK STV team