From: sys_stv@intel.com
To: test-report@dpdk.org
Cc: beilei.xing@intel.com
Subject: [dpdk-test-report] |FAILURE| pw22422 [PATCH v5 2/5] app/testpmd: add command for loading a profile
Date: 27 Mar 2017 14:16:14 -0700 [thread overview]
Message-ID: <e81775$11jgo2g@fmsmga001.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 172080 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/22422
_Compilation issues_
Submitter: Beilei Xing <beilei.xing@intel.com>
Date: Mon, 27 Mar 2017 14:17:52 +0800
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:5b2976c718e0717f5e1b39b50ac71fb2ce80e47c
Patch22421-22422 --> 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: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
sec->tbl_size = 1;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: dereferencing pointer to incomplete type
sec->data_end = sizeof(struct i40e_profile_section_header) +
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.type = SECTION_TYPE_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:5: error: dereferencing pointer to incomplete type
sec->section.offset = sizeof(struct i40e_profile_section_header);
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.size = sizeof(struct i40e_profile_info);
^
/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:11232:14: error: dereferencing pointer to incomplete type
sec->section.offset);
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type
pinfo->track_id = track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: dereferencing pointer to incomplete type
memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
^
/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:15: error: dereferencing pointer to incomplete type
memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version));
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_ADD_TRACKID;
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_REMOVE_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
sec->section.offset))->track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: 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]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:49: error: dereferencing pointer to incomplete type
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:11287:2: 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:11287:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11297: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:11302: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:11304: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:11339: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:11340: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:11353:13: error: dereferencing pointer to incomplete type
if (pkg_hdr->segment_count < 2) {
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11359:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11365: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:11368: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:11376: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:11377: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:11387:56: error: dereferencing pointer to incomplete type
((struct i40e_profile_segment *)profile_seg_hdr)->name,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11388:57: error: dereferencing pointer to incomplete type
&((struct i40e_profile_segment *)profile_seg_hdr)->version,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
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: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
sec->tbl_size = 1;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: dereferencing pointer to incomplete type
sec->data_end = sizeof(struct i40e_profile_section_header) +
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.type = SECTION_TYPE_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:5: error: dereferencing pointer to incomplete type
sec->section.offset = sizeof(struct i40e_profile_section_header);
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.size = sizeof(struct i40e_profile_info);
^
/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:11232:14: error: dereferencing pointer to incomplete type
sec->section.offset);
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type
pinfo->track_id = track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: dereferencing pointer to incomplete type
memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
^
/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:15: error: dereferencing pointer to incomplete type
memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version));
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_ADD_TRACKID;
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_REMOVE_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
sec->section.offset))->track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: 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]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:49: error: dereferencing pointer to incomplete type
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:11287:2: 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:11287:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11297: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:11302: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:11304: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:11339: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:11340: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:11353:13: error: dereferencing pointer to incomplete type
if (pkg_hdr->segment_count < 2) {
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11359:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11365: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:11368: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:11376: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:11377: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:11387:56: error: dereferencing pointer to incomplete type
((struct i40e_profile_segment *)profile_seg_hdr)->name,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11388:57: error: dereferencing pointer to incomplete type
&((struct i40e_profile_segment *)profile_seg_hdr)->version,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
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: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
sec->tbl_size = 1;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: dereferencing pointer to incomplete type
sec->data_end = sizeof(struct i40e_profile_section_header) +
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.type = SECTION_TYPE_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:5: error: dereferencing pointer to incomplete type
sec->section.offset = sizeof(struct i40e_profile_section_header);
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.size = sizeof(struct i40e_profile_info);
^
/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:11232:14: error: dereferencing pointer to incomplete type
sec->section.offset);
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type
pinfo->track_id = track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: dereferencing pointer to incomplete type
memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
^
/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:15: error: dereferencing pointer to incomplete type
memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version));
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_ADD_TRACKID;
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_REMOVE_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
sec->section.offset))->track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: 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]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:49: error: dereferencing pointer to incomplete type
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:11287:2: 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:11287:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11297: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:11302: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:11304: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:11339: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:11340: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:11353:13: error: dereferencing pointer to incomplete type
if (pkg_hdr->segment_count < 2) {
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11359:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11365: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:11368: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:11376: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:11377: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:11387:56: error: dereferencing pointer to incomplete type
((struct i40e_profile_segment *)profile_seg_hdr)->name,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11388:57: error: dereferencing pointer to incomplete type
&((struct i40e_profile_segment *)profile_seg_hdr)->version,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
Failed Build #4:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-clang
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: use of undeclared identifier 'I40E_PPP_REMOVE_TRACKID'
pinfo->op = I40E_PPP_REMOVE_TRACKID;
^
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #5:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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
sec->tbl_size = 1;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: dereferencing pointer to incomplete type
sec->data_end = sizeof(struct i40e_profile_section_header) +
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.type = SECTION_TYPE_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:5: error: dereferencing pointer to incomplete type
sec->section.offset = sizeof(struct i40e_profile_section_header);
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.size = sizeof(struct i40e_profile_info);
^
/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:11232:14: error: dereferencing pointer to incomplete type
sec->section.offset);
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type
pinfo->track_id = track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: dereferencing pointer to incomplete type
memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
^
/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:15: error: dereferencing pointer to incomplete type
memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version));
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_ADD_TRACKID;
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_REMOVE_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
sec->section.offset))->track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: 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]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:49: error: dereferencing pointer to incomplete type
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:11287:2: 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:11287:2: error: nested extern declaration of 'i40e_aq_get_ppp_list' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11297: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:11302: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:11304: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:11339: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:11340: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:11353:13: error: dereferencing pointer to incomplete type
if (pkg_hdr->segment_count < 2) {
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11359:2: error: nested extern declaration of 'i40e_find_segment_in_package' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11365: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:11368: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:11376: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:11377: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:11387:56: error: dereferencing pointer to incomplete type
((struct i40e_profile_segment *)profile_seg_hdr)->name,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11388:57: error: dereferencing pointer to incomplete type
&((struct i40e_profile_segment *)profile_seg_hdr)->version,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11398: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:11398:3: error: nested extern declaration of 'i40e_write_profile' [-Werror=nested-externs]
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #6:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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:11287: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:11287: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:11297: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:11302: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:11304: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:11339: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:11340: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:11353: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:11359: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:11359: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:11359: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:11365: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:11368: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:11376: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:11377: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:11387: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:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
status = i40e_write_profile(hw,
^~~~~~
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #7:
OS: FC24_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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:11287: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:11287: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:11297: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:11302: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:11304: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:11339: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:11340: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:11353: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:11359: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:11359: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:11359: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:11365: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:11368: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:11376: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:11377: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:11387: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:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
status = i40e_write_profile(hw,
^~~~~~
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #8:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
/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:11287: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:11287: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:11297: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:11302: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:11304: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:11339: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:11340: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:11353: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:11359: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:11359: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:11359: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:11365: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:11368: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:11376: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:11377: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:11387: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:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
status = i40e_write_profile(hw,
^~~~~~
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #9:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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:11287: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:11287: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:11297: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:11302: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:11304: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:11339: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:11340: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:11353: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:11359: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:11359: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:11359: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:11365: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:11368: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:11376: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:11377: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:11387: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:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
status = i40e_write_profile(hw,
^~~~~~
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #10:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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;
^
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #11:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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:11287: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:11287: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:11297: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:11302: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:11304: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:11339: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:11340: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:11353: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:11359: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:11359: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:11359: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:11365: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:11368: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:11376: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:11377: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:11387: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:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
status = i40e_write_profile(hw,
^
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #12:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
/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:11287: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:11287: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:11297: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:11302: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:11304: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:11339: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:11340: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:11353: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:11359: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:11359: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:11359: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:11365: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:11368: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:11376: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:11377: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:11387: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:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
status = i40e_write_profile(hw,
^
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #13:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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:11287: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:11287: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:11297: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:11302: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:11304: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:11339: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:11340: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:11353: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:11359: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:11359: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:11359: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:11365: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:11368: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:11376: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:11377: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:11387: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:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
status = i40e_write_profile(hw,
^
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #14:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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;
^
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:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed
Failed Build #15:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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
sec->tbl_size = 1;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: dereferencing pointer to incomplete type
sec->data_end = sizeof(struct i40e_profile_section_header) +
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.type = SECTION_TYPE_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:5: error: dereferencing pointer to incomplete type
sec->section.offset = sizeof(struct i40e_profile_section_header);
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.size = sizeof(struct i40e_profile_info);
^
/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:11232:14: error: dereferencing pointer to incomplete type
sec->section.offset);
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type
pinfo->track_id = track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: dereferencing pointer to incomplete type
memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
^
/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:15: error: dereferencing pointer to incomplete type
memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version));
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_ADD_TRACKID;
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_REMOVE_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
sec->section.offset))->track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: 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]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:49: error: dereferencing pointer to incomplete type
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:11287:2: 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:11287:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11297: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:11302: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:11304: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:11339: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:11340: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:11353:13: error: dereferencing pointer to incomplete type
if (pkg_hdr->segment_count < 2) {
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11359:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11365: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:11368: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:11376: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:11377: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:11387:56: error: dereferencing pointer to incomplete type
((struct i40e_profile_segment *)profile_seg_hdr)->name,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11388:57: error: dereferencing pointer to incomplete type
&((struct i40e_profile_segment *)profile_seg_hdr)->version,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
Failed Build #16:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c: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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/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.c:11222:9: note: forward declaration of 'struct i40e_profile_info'
struct i40e_profile_info *pinfo;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11239:15: error: use of undeclared identifier 'I40E_PPP_REMOVE_TRACKID'
pinfo->op = I40E_PPP_REMOVE_TRACKID;
^
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: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
sec->tbl_size = 1;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: dereferencing pointer to incomplete type
sec->data_end = sizeof(struct i40e_profile_section_header) +
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.type = SECTION_TYPE_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:5: error: dereferencing pointer to incomplete type
sec->section.offset = sizeof(struct i40e_profile_section_header);
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.size = sizeof(struct i40e_profile_info);
^
/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:11232:14: error: dereferencing pointer to incomplete type
sec->section.offset);
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type
pinfo->track_id = track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: dereferencing pointer to incomplete type
memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
^
/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:15: error: dereferencing pointer to incomplete type
memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version));
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_ADD_TRACKID;
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_REMOVE_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
sec->section.offset))->track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: 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]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:49: error: dereferencing pointer to incomplete type
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:11287:2: 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:11287:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11297: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:11302: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:11304: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:11339: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:11340: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:11353:13: error: dereferencing pointer to incomplete type
if (pkg_hdr->segment_count < 2) {
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11359:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11365: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:11368: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:11376: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:11377: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:11387:56: error: dereferencing pointer to incomplete type
((struct i40e_profile_segment *)profile_seg_hdr)->name,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11388:57: error: dereferencing pointer to incomplete type
&((struct i40e_profile_segment *)profile_seg_hdr)->version,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
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: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
sec->tbl_size = 1;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11226:5: error: dereferencing pointer to incomplete type
sec->data_end = sizeof(struct i40e_profile_section_header) +
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.type = SECTION_TYPE_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:5: error: dereferencing pointer to incomplete type
sec->section.offset = sizeof(struct i40e_profile_section_header);
^
/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:5: error: dereferencing pointer to incomplete type
sec->section.size = sizeof(struct i40e_profile_info);
^
/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:11232:14: error: dereferencing pointer to incomplete type
sec->section.offset);
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233:7: error: dereferencing pointer to incomplete type
pinfo->track_id = track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11234:14: error: dereferencing pointer to incomplete type
memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
^
/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:15: error: dereferencing pointer to incomplete type
memcpy(&pinfo->version, version, sizeof(struct i40e_ppp_version));
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_ADD_TRACKID;
^
/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:8: error: dereferencing pointer to incomplete type
pinfo->op = I40E_PPP_REMOVE_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
sec->section.offset))->track_id;
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:2: 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]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11254:49: error: dereferencing pointer to incomplete type
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:11287:2: 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:11287:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11297: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:11302: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:11304: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:11339: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:11340: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:11353:13: error: dereferencing pointer to incomplete type
if (pkg_hdr->segment_count < 2) {
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11359:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11359: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:11365: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:11368: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:11376: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:11377: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:11387:56: error: dereferencing pointer to incomplete type
((struct i40e_profile_segment *)profile_seg_hdr)->name,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11388:57: error: dereferencing pointer to incomplete type
&((struct i40e_profile_segment *)profile_seg_hdr)->version,
^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11398: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:11398:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
DPDK STV team
reply other threads:[~2017-03-27 21:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='e81775$11jgo2g@fmsmga001.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=beilei.xing@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).