Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/29442 _Compilation issues_ Submitter: Beilei Xing Date: Fri, 29 Sep 2017 23:50:52 +0800 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:5dce9fcdb2308becb7de7470118af3eeccfe4fd7 Patch29439-29442 --> compile error Build Summary: 21 Builds Done, 0 Successful, 21 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: UB1610_64 Kernel Version:4.8.0-22-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005 Clang Version:NA x86_64-native-linuxapp-icc OS: RHEL7.3_64 Kernel Version:3.10.0-514.16.1.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11) Clang Version:NA x86_64-native-linuxapp-icc OS: FC25_64 Kernel Version:4.8.6-300.fc25.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) Clang Version:NA x86_64-native-linuxapp-icc 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: 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 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-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: UB1604_64 Kernel Version:4.4.0-78-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.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 Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:23: error: dereferencing pointer to incomplete type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:10: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:9: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ 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:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:23: error: dereferencing pointer to incomplete type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:10: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:9: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ 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:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:23: error: dereferencing pointer to incomplete type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:10: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:9: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ cc1: all warnings being treated as errors Failed Build #4: OS: UB1610_64 Target: x86_64-native-linuxapp-icc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11093): error: expression must be a pointer to a complete object type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11096): error: expression must be a pointer to a complete object type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11173): error: identifier "RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM" is undefined RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11183): error: incomplete type is not allowed buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11193): error: identifier "RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST" is undefined RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11202): error: expression must be a pointer to a complete object type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11210): error #167: argument of type "struct rte_pmd_i40e_proto_info *" is incompatible with parameter of type "struct rte_pmd_i40e_proto_info *" proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11216): error #167: argument of type "struct rte_pmd_i40e_proto_info *" is incompatible with parameter of type "struct rte_pmd_i40e_proto_info *" proto_num, proto); ^ compilation aborted for /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c (code 2) /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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #5: OS: RHEL7.3_64 Target: x86_64-native-linuxapp-icc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11093): error: expression must be a pointer to a complete object type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11096): error: expression must be a pointer to a complete object type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11173): error: identifier "RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM" is undefined RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11183): error: incomplete type is not allowed buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11193): error: identifier "RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST" is undefined RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11202): error: expression must be a pointer to a complete object type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11210): error #167: argument of type "struct rte_pmd_i40e_proto_info *" is incompatible with parameter of type "struct rte_pmd_i40e_proto_info *" proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11216): error #167: argument of type "struct rte_pmd_i40e_proto_info *" is incompatible with parameter of type "struct rte_pmd_i40e_proto_info *" proto_num, proto); ^ compilation aborted for /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c (code 2) Failed Build #6: OS: FC25_64 Target: x86_64-native-linuxapp-icc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11093): error: expression must be a pointer to a complete object type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11096): error: expression must be a pointer to a complete object type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11173): error: identifier "RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM" is undefined RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11183): error: incomplete type is not allowed buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11193): error: identifier "RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST" is undefined RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11202): error: expression must be a pointer to a complete object type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11210): error #167: argument of type "struct rte_pmd_i40e_proto_info *" is incompatible with parameter of type "struct rte_pmd_i40e_proto_info *" proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c(11216): error #167: argument of type "struct rte_pmd_i40e_proto_info *" is incompatible with parameter of type "struct rte_pmd_i40e_proto_info *" proto_num, proto); ^ compilation aborted for /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c (code 2) /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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #7: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: subscript of pointer to incomplete type 'struct rte_pmd_i40e_proto_info' if (proto[n].proto_id != proto_id) ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11032:18: note: forward declaration of 'struct rte_pmd_i40e_proto_info' struct rte_pmd_i40e_proto_info *proto) ^ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #8: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type 'struct rte_pmd_i40e_proto_info' if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type 'struct rte_pmd_i40e_proto_info' strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:23: error: dereferencing pointer to incomplete type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function 'i40e_update_customized_info': /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: 'RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM' undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of 'sizeof' to incomplete type 'struct rte_pmd_i40e_proto_info' buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: 'RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST' undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type 'struct rte_pmd_i40e_proto_info' if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:10: error: passing argument 5 of 'i40e_update_customized_pctype' from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected 'struct rte_pmd_i40e_proto_info *' but argument is of type 'struct rte_pmd_i40e_proto_info *' i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:9: error: passing argument 5 of 'i40e_update_customized_ptype' from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected 'struct rte_pmd_i40e_proto_info *' but argument is of type 'struct rte_pmd_i40e_proto_info *' i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #9: OS: CentOS7_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:23: error: dereferencing pointer to incomplete type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:10: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:9: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ cc1: all warnings being treated as errors Failed Build #10: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: subscript of pointer to incomplete type 'struct rte_pmd_i40e_proto_info' if (proto[n].proto_id != proto_id) ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11032:18: note: forward declaration of 'struct rte_pmd_i40e_proto_info' struct rte_pmd_i40e_proto_info *proto) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Failed Build #11: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:23: error: dereferencing pointer to incomplete type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:10: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:9: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ cc1: all warnings being treated as errors Failed Build #12: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:23: error: dereferencing pointer to incomplete type strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:633:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:10: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:9: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ cc1: all warnings being treated as errors Failed Build #13: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ In file included from /usr/include/string.h:630:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:21: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:20: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #14: OS: FC24_64 Target: i686-native-linuxapp-gcc ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ In file included from /usr/include/string.h:630:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:21: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:20: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #15: OS: FC24_64 Target: x86_64-native-linuxapp-gcc ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ In file included from /usr/include/string.h:630:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:21: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:20: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #16: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ In file included from /usr/include/string.h:630:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:21: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:20: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #17: OS: FC24_64 Target: x86_64-native-linuxapp-clang ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: subscript of pointer to incomplete type 'struct rte_pmd_i40e_proto_info' if (proto[n].proto_id != proto_id) ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11032:18: note: forward declaration of 'struct rte_pmd_i40e_proto_info' struct rte_pmd_i40e_proto_info *proto) ^ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #18: OS: UB1604_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:630:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:21: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:20: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #19: OS: UB1604_64 Target: x86_64-native-linuxapp-clang ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: subscript of pointer to incomplete type 'struct rte_pmd_i40e_proto_info' if (proto[n].proto_id != proto_id) ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11032:18: note: forward declaration of 'struct rte_pmd_i40e_proto_info' struct rte_pmd_i40e_proto_info *proto) ^ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #20: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:630:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:21: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:20: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed Failed Build #21: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11093:14: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (proto[n].proto_id != proto_id) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11096:5: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ strcpy(name, proto[n].name); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_update_customized_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11173:12: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_NUM); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11183:33: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_pmd_i40e_proto_info’ buff_size = proto_num * sizeof(struct rte_pmd_i40e_proto_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11193:6: error: ‘RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST’ undeclared (first use in this function) RTE_PMD_I40E_PKG_INFO_PROTOCOL_LIST); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ In file included from /usr/include/string.h:630:0, from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:37: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:21: error: dereferencing pointer to incomplete type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ if (!strncmp(proto[i].name, "GTP", 3)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11202:3: error: invalid use of undefined type ‘struct rte_pmd_i40e_proto_info’ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11210:21: error: passing argument 5 of ‘i40e_update_customized_pctype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:10943:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_pctype(struct rte_eth_dev *dev, uint8_t *pkg, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11216:20: error: passing argument 5 of ‘i40e_update_customized_ptype’ from incompatible pointer type [-Werror=incompatible-pointer-types] proto_num, proto); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11030:1: note: expected ‘struct rte_pmd_i40e_proto_info *’ but argument is of type ‘struct rte_pmd_i40e_proto_info *’ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ^ 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:76: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: 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:107: recipe for target 'install' failed DPDK STV team