Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/22149 _Compilation issues_ Submitter: Beilei Xing Date: Thu, 23 Mar 2017 18:02:28 +0800 DPDK git baseline: Repo:dpdk, Branch:master, CommitID:84aac97b49994be6b461b46be160b47938e697b3 Patch22148-22149 --> compile error Build Summary: 18 Builds Done, 0 Successful, 18 Failures Test environment and configuration as below: OS: RHEL7.2_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared OS: FreeBSD10.3_64 Kernel Version:10.3-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version:gcc (FreeBSD Ports Collection) 4.8.5 Clang Version:3.4.1 x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: FC24_64 Kernel Version:4.9.13-100.fc24.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2) Clang Version:3.8.0 x86_64-native-linuxapp-gcc-debug i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: UB1604_64 Kernel Version:4.4.0-64-generic CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Clang Version:3.8.0 i686-native-linuxapp-gcc x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-clang OS: CentOS7_64 Kernel Version:3.10.0-514.10.2.el7.x86_64 CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) Clang Version:3.4.2 i686-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc-shared x86_64-native-linuxapp-gcc Failed Build #1: OS: RHEL7.2_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:34: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:31: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11385:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11403:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ 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:11300:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:34: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:31: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11385:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11403:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ 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:11300:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:34: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:31: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11385:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11403:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ cc1: all warnings being treated as errors Failed Build #4: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-clang In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:33: error: array has incomplete element type 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: declaration of 'struct i40e_ppp_version' will not be visible outside of this function [-Werror,-Wvisibility] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->tbl_size = 1; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:18: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:3: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.type = SECTION_TYPE_INFO; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: use of undeclared identifier 'SECTION_TYPE_INFO' sec->section.type = SECTION_TYPE_INFO; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:24: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.size = sizeof(struct i40e_profile_info); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:22: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sec->section.size = sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232:14: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: incomplete definition of type 'struct i40e_profile_info' pinfo->track_id = track_id; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: incomplete definition of type 'struct i40e_profile_info' memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:15: error: incomplete definition of type 'struct i40e_profile_info' memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:8: error: incomplete definition of type 'struct i40e_profile_info' pinfo->op = I40E_PPP_ADD_TRACKID; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: use of undeclared identifier 'I40E_PPP_ADD_TRACKID' pinfo->op = I40E_PPP_ADD_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:8: error: incomplete definition of type 'struct i40e_profile_info' pinfo->op = I40E_PPP_REMOVE_TRACKID; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #5: OS: FreeBSD10.3_64 Target: x86_64-native-bsdapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:34: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of 'sizeof' to incomplete type 'struct i40e_ppp_version' sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:31: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: 'I40E_PPP_NAME_SIZE' undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function 'rte_pmd_i40e_process_ppp_package': /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of 'sizeof' to incomplete type 'struct i40e_package_header' if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of 'sizeof' to incomplete type 'struct i40e_metadata_segment' sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: implicit declaration of function 'i40e_find_segment_in_package' [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of 'i40e_find_segment_in_package' [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: 'SEGMENT_TYPE_METADATA' undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: 'SEGMENT_TYPE_I40E' undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of 'sizeof' to incomplete type 'struct i40e_profile_section_header' sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of 'sizeof' to incomplete type 'struct i40e_profile_info' sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11385:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: implicit declaration of function 'i40e_write_profile' [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of 'i40e_write_profile' [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11403:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #6: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-debug In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:27: error: array type has incomplete element type ‘struct i40e_profile_info’ struct i40e_profile_info p_info[1]; ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: ‘struct i40e_ppp_version’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_generate_profile_info_sec’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->tbl_size = 1; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->data_end = sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: ‘SECTION_TYPE_INFO’ undeclared (first use in this function) sec->section.type = SECTION_TYPE_INFO; ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset = sizeof(struct i40e_profile_section_header); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sec->section.size = sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type ‘struct i40e_profile_info’ pinfo->track_id = track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: ‘I40E_PPP_ADD_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_ADD_TRACKID; ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: ‘I40E_PPP_REMOVE_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_REMOVE_TRACKID; ^~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_add_rm_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11252:10: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset))->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:11: error: implicit declaration of function ‘i40e_aq_write_ppp’ [-Werror=implicit-function-declaration] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_check_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:8: error: implicit declaration of function ‘i40e_aq_get_ppp_list’ [-Werror=implicit-function-declaration] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11296:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type ‘struct i40e_package_header’ if (pkg_hdr->segment_count < 2) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:21: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type ‘struct i40e_metadata_segment’ track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:12: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] status = i40e_write_profile(hw, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #7: OS: FC24_64 Target: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:27: error: array type has incomplete element type ‘struct i40e_profile_info’ struct i40e_profile_info p_info[1]; ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: ‘struct i40e_ppp_version’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_generate_profile_info_sec’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->tbl_size = 1; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->data_end = sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: ‘SECTION_TYPE_INFO’ undeclared (first use in this function) sec->section.type = SECTION_TYPE_INFO; ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset = sizeof(struct i40e_profile_section_header); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sec->section.size = sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type ‘struct i40e_profile_info’ pinfo->track_id = track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: ‘I40E_PPP_ADD_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_ADD_TRACKID; ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: ‘I40E_PPP_REMOVE_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_REMOVE_TRACKID; ^~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_add_rm_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11252:10: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset))->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:11: error: implicit declaration of function ‘i40e_aq_write_ppp’ [-Werror=implicit-function-declaration] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_check_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:8: error: implicit declaration of function ‘i40e_aq_get_ppp_list’ [-Werror=implicit-function-declaration] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11296:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type ‘struct i40e_package_header’ if (pkg_hdr->segment_count < 2) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:21: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type ‘struct i40e_metadata_segment’ track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:12: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] status = i40e_write_profile(hw, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #8: OS: FC24_64 Target: x86_64-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:27: error: array type has incomplete element type ‘struct i40e_profile_info’ struct i40e_profile_info p_info[1]; ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: ‘struct i40e_ppp_version’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_generate_profile_info_sec’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->tbl_size = 1; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->data_end = sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: ‘SECTION_TYPE_INFO’ undeclared (first use in this function) sec->section.type = SECTION_TYPE_INFO; ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset = sizeof(struct i40e_profile_section_header); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sec->section.size = sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type ‘struct i40e_profile_info’ pinfo->track_id = track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: ‘I40E_PPP_ADD_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_ADD_TRACKID; ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: ‘I40E_PPP_REMOVE_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_REMOVE_TRACKID; ^~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_add_rm_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11252:10: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset))->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:11: error: implicit declaration of function ‘i40e_aq_write_ppp’ [-Werror=implicit-function-declaration] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_check_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:8: error: implicit declaration of function ‘i40e_aq_get_ppp_list’ [-Werror=implicit-function-declaration] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11296:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type ‘struct i40e_package_header’ if (pkg_hdr->segment_count < 2) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:21: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type ‘struct i40e_metadata_segment’ track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:12: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] status = i40e_write_profile(hw, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #9: OS: FC24_64 Target: x86_64-native-linuxapp-gcc-shared In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:27: error: array type has incomplete element type ‘struct i40e_profile_info’ struct i40e_profile_info p_info[1]; ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: ‘struct i40e_ppp_version’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_generate_profile_info_sec’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->tbl_size = 1; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->data_end = sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: ‘SECTION_TYPE_INFO’ undeclared (first use in this function) sec->section.type = SECTION_TYPE_INFO; ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset = sizeof(struct i40e_profile_section_header); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sec->section.size = sizeof(struct i40e_profile_info); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type ‘struct i40e_profile_info’ pinfo->track_id = track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: ‘I40E_PPP_ADD_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_ADD_TRACKID; ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: ‘I40E_PPP_REMOVE_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_REMOVE_TRACKID; ^~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_add_rm_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11252:10: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset))->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:11: error: implicit declaration of function ‘i40e_aq_write_ppp’ [-Werror=implicit-function-declaration] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_check_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:8: error: implicit declaration of function ‘i40e_aq_get_ppp_list’ [-Werror=implicit-function-declaration] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11296:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header)); ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type ‘struct i40e_package_header’ if (pkg_hdr->segment_count < 2) { ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:21: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type ‘struct i40e_metadata_segment’ track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:12: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] status = i40e_write_profile(hw, ^~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^~ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #10: OS: FC24_64 Target: x86_64-native-linuxapp-clang In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:33: error: array has incomplete element type 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: declaration of 'struct i40e_ppp_version' will not be visible outside of this function [-Werror,-Wvisibility] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->tbl_size = 1; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:18: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:3: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.type = SECTION_TYPE_INFO; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: use of undeclared identifier 'SECTION_TYPE_INFO' sec->section.type = SECTION_TYPE_INFO; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:24: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.size = sizeof(struct i40e_profile_info); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:22: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sec->section.size = sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232:14: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: incomplete definition of type 'struct i40e_profile_info' pinfo->track_id = track_id; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: incomplete definition of type 'struct i40e_profile_info' memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: use of undeclared identifier 'I40E_PPP_NAME_SIZE' memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:15: error: incomplete definition of type 'struct i40e_profile_info' memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:35: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_ppp_version' memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: note: forward declaration of 'struct i40e_ppp_version' i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:8: error: incomplete definition of type 'struct i40e_profile_info' pinfo->op = I40E_PPP_ADD_TRACKID; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #11: OS: UB1604_64 Target: i686-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:27: error: array type has incomplete element type ‘struct i40e_profile_info’ struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11219:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror] bool add) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11219:11: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_generate_profile_info_sec’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->tbl_size = 1; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->data_end = sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: ‘SECTION_TYPE_INFO’ undeclared (first use in this function) sec->section.type = SECTION_TYPE_INFO; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset = sizeof(struct i40e_profile_section_header); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sec->section.size = sizeof(struct i40e_profile_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type ‘struct i40e_profile_info’ pinfo->track_id = track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: ‘I40E_PPP_ADD_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_ADD_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: ‘I40E_PPP_REMOVE_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_REMOVE_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_add_rm_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11252:10: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset))->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:11: error: implicit declaration of function ‘i40e_aq_write_ppp’ [-Werror=implicit-function-declaration] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_check_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:8: error: implicit declaration of function ‘i40e_aq_get_ppp_list’ [-Werror=implicit-function-declaration] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11296:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type ‘struct i40e_package_header’ if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:21: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type ‘struct i40e_metadata_segment’ track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:12: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #12: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:27: error: array type has incomplete element type ‘struct i40e_profile_info’ struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11219:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror] bool add) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11219:11: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_generate_profile_info_sec’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->tbl_size = 1; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->data_end = sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: ‘SECTION_TYPE_INFO’ undeclared (first use in this function) sec->section.type = SECTION_TYPE_INFO; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset = sizeof(struct i40e_profile_section_header); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sec->section.size = sizeof(struct i40e_profile_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type ‘struct i40e_profile_info’ pinfo->track_id = track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: ‘I40E_PPP_ADD_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_ADD_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: ‘I40E_PPP_REMOVE_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_REMOVE_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_add_rm_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11252:10: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset))->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:11: error: implicit declaration of function ‘i40e_aq_write_ppp’ [-Werror=implicit-function-declaration] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_check_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:8: error: implicit declaration of function ‘i40e_aq_get_ppp_list’ [-Werror=implicit-function-declaration] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11296:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type ‘struct i40e_package_header’ if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:21: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type ‘struct i40e_metadata_segment’ track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:12: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #13: OS: UB1604_64 Target: x86_64-native-linuxapp-gcc-shared In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62:0: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:27: error: array type has incomplete element type ‘struct i40e_profile_info’ struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11219:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror] bool add) ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11219:11: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_generate_profile_info_sec’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->tbl_size = 1; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:25: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->data_end = sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: ‘SECTION_TYPE_INFO’ undeclared (first use in this function) sec->section.type = SECTION_TYPE_INFO; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: note: each undeclared identifier is reported only once for each function it appears in /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:31: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset = sizeof(struct i40e_profile_section_header); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:29: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sec->section.size = sizeof(struct i40e_profile_info); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type ‘struct i40e_profile_info’ pinfo->track_id = track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: ‘I40E_PPP_ADD_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_ADD_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: ‘I40E_PPP_REMOVE_TRACKID’ undeclared (first use in this function) pinfo->op = I40E_PPP_REMOVE_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_add_rm_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11252:10: error: dereferencing pointer to incomplete type ‘struct i40e_profile_section_header’ sec->section.offset))->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:11: error: implicit declaration of function ‘i40e_aq_write_ppp’ [-Werror=implicit-function-declaration] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs] status = i40e_aq_write_ppp(hw, (void *)sec, sec->data_end, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘i40e_check_profile_info’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:8: error: implicit declaration of function ‘i40e_aq_get_ppp_list’ [-Werror=implicit-function-declaration] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11286:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs] ret = i40e_aq_get_ppp_list(hw, (void *)buff, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11296:16: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header)); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type ‘struct i40e_package_header’ if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:21: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type ‘struct i40e_metadata_segment’ track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:12: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ‘struct i40e_profile_segment’ ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #14: OS: UB1604_64 Target: x86_64-native-linuxapp-clang In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:33: error: array has incomplete element type 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: declaration of 'struct i40e_ppp_version' will not be visible outside of this function [-Werror,-Wvisibility] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->tbl_size = 1; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:18: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:3: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.type = SECTION_TYPE_INFO; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: use of undeclared identifier 'SECTION_TYPE_INFO' sec->section.type = SECTION_TYPE_INFO; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:24: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.size = sizeof(struct i40e_profile_info); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:22: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sec->section.size = sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232:14: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: incomplete definition of type 'struct i40e_profile_info' pinfo->track_id = track_id; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: incomplete definition of type 'struct i40e_profile_info' memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:28: error: use of undeclared identifier 'I40E_PPP_NAME_SIZE' memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:15: error: incomplete definition of type 'struct i40e_profile_info' memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:35: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_ppp_version' memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: note: forward declaration of 'struct i40e_ppp_version' i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:8: error: incomplete definition of type 'struct i40e_profile_info' pinfo->op = I40E_PPP_ADD_TRACKID; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ 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:61: recipe for target 'i40e' failed /home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'net' failed /home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'drivers' failed /home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed Failed Build #15: OS: CentOS7_64 Target: i686-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:34: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:31: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11385:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11403:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ cc1: all warnings being treated as errors Failed Build #16: OS: CentOS7_64 Target: x86_64-native-linuxapp-clang In file included from /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:62: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:33: error: array has incomplete element type 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11217:51: error: declaration of 'struct i40e_ppp_version' will not be visible outside of this function [-Werror,-Wvisibility] i40e_generate_profile_info_sec(char *name, struct i40e_ppp_version *version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->tbl_size = 1; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:18: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->data_end = sizeof(struct i40e_profile_section_header) + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11227:3: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.type = SECTION_TYPE_INFO; ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11228:22: error: use of undeclared identifier 'SECTION_TYPE_INFO' sec->section.type = SECTION_TYPE_INFO; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229:24: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_section_header' sec->section.offset = sizeof(struct i40e_profile_section_header); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:5: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.size = sizeof(struct i40e_profile_info); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11230:22: error: invalid application of 'sizeof' to an incomplete type 'struct i40e_profile_info' sec->section.size = sizeof(struct i40e_profile_info); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232:14: error: incomplete definition of type 'struct i40e_profile_section_header' sec->section.offset); ~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11221:9: note: forward declaration of 'struct i40e_profile_section_header' struct i40e_profile_section_header *sec = NULL; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: incomplete definition of type 'struct i40e_profile_info' pinfo->track_id = track_id; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: incomplete definition of type 'struct i40e_profile_info' memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:15: error: incomplete definition of type 'struct i40e_profile_info' memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version)); ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:8: error: incomplete definition of type 'struct i40e_profile_info' pinfo->op = I40E_PPP_ADD_TRACKID; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:15: error: use of undeclared identifier 'I40E_PPP_ADD_TRACKID' pinfo->op = I40E_PPP_ADD_TRACKID; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:8: error: incomplete definition of type 'struct i40e_profile_info' pinfo->op = I40E_PPP_REMOVE_TRACKID; ~~~~~^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.h:734:9: note: forward declaration of 'struct i40e_profile_info' struct i40e_profile_info p_info[1]; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Failed Build #17: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc-shared ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:34: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:31: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11385:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11403:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ cc1: all warnings being treated as errors Failed Build #18: OS: CentOS7_64 Target: x86_64-native-linuxapp-gcc ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300:34: error: dereferencing pointer to incomplete type !memcmp(&pinfo->version, &p->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11301:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_ppp_version’ sizeof(struct i40e_ppp_version)) && ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:21: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11302:31: error: dereferencing pointer to incomplete type !memcmp(&pinfo->name, &p->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11303:8: error: ‘I40E_PPP_NAME_SIZE’ undeclared (first use in this function) I40E_PPP_NAME_SIZE)) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: In function ‘rte_pmd_i40e_process_ppp_package’: /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11337:21: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_package_header’ if (size < (sizeof(struct i40e_package_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11338:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_metadata_segment’ sizeof(struct i40e_metadata_segment) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11351:13: error: dereferencing pointer to incomplete type if (pkg_hdr->segment_count < 2) { ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: implicit declaration of function ‘i40e_find_segment_in_package’ [-Werror=implicit-function-declaration] metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11357:50: error: ‘SEGMENT_TYPE_METADATA’ undeclared (first use in this function) metadata_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11363:63: error: dereferencing pointer to incomplete type track_id = ((struct i40e_metadata_segment *)metadata_seg_hdr)->track_id; ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11366:49: error: ‘SEGMENT_TYPE_I40E’ undeclared (first use in this function) profile_seg_hdr = i40e_find_segment_in_package(SEGMENT_TYPE_I40E, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11374:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_section_header’ sizeof(struct i40e_profile_section_header) + ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11375:18: error: invalid application of ‘sizeof’ to incomplete type ‘struct i40e_profile_info’ sizeof(struct i40e_profile_info), ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11384:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11385:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: implicit declaration of function ‘i40e_write_profile’ [-Werror=implicit-function-declaration] status = i40e_write_profile(hw, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11395:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs] /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11402:56: error: dereferencing pointer to incomplete type ((struct i40e_profile_segment *)profile_seg_hdr)->name, ^ /home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11403:57: error: dereferencing pointer to incomplete type &((struct i40e_profile_segment *)profile_seg_hdr)->version, ^ cc1: all warnings being treated as errors DPDK STV team