[dpdk-test-report] |FAILURE| pw22424 [PATCH v5 4/5] app/testpmd: add command for getting loaded profiles

sys_stv at intel.com sys_stv at intel.com
Mon Mar 27 23:46:04 CEST 2017


Test-Label: Intel-compilation
Test-Status: FAILURE

http://dpdk.org/patch/22424

_Compilation issues_

Submitter: Beilei Xing <beilei.xing at intel.com>
Date: Mon, 27 Mar 2017 14:17:52 +0800
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:5b2976c718e0717f5e1b39b50ac71fb2ce80e47c

Patch22421-22424 --> 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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228:5: error: dereferencing pointer to incomplete type
  sec->tbl_size = 1;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229: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:11229: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:11230: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:11231:5: error: dereferencing pointer to incomplete type
  sec->section.type = SECTION_TYPE_INFO;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11232: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:11233:5: error: dereferencing pointer to incomplete type
  sec->section.size = sizeof(struct i40e_profile_info);
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233: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:11235:14: error: dereferencing pointer to incomplete type
           sec->section.offset);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11236:7: error: dereferencing pointer to incomplete type
  pinfo->track_id = track_id;
       ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:14: error: dereferencing pointer to incomplete type
  memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11238: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:11240:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_ADD_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_REMOVE_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11255:10: error: dereferencing pointer to incomplete type
       sec->section.offset))->track_id;
          ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11257:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11290: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:11290:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300: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:11305: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:11307: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:11342: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:11343: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:11356:13: error: dereferencing pointer to incomplete type
  if (pkg_hdr->segment_count < 2) {
             ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11362:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11368: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:11371: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:11379: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:11380: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:11390:56: error: dereferencing pointer to incomplete type
        ((struct i40e_profile_segment *)profile_seg_hdr)->name,
                                                        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11391:57: error: dereferencing pointer to incomplete type
        &((struct i40e_profile_segment *)profile_seg_hdr)->version,
                                                         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11401: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:11401: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228:5: error: dereferencing pointer to incomplete type
  sec->tbl_size = 1;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229: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:11229: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:11230: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:11231:5: error: dereferencing pointer to incomplete type
  sec->section.type = SECTION_TYPE_INFO;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11232: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:11233:5: error: dereferencing pointer to incomplete type
  sec->section.size = sizeof(struct i40e_profile_info);
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233: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:11235:14: error: dereferencing pointer to incomplete type
           sec->section.offset);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11236:7: error: dereferencing pointer to incomplete type
  pinfo->track_id = track_id;
       ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:14: error: dereferencing pointer to incomplete type
  memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11238: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:11240:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_ADD_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_REMOVE_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11255:10: error: dereferencing pointer to incomplete type
       sec->section.offset))->track_id;
          ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11257:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11290: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:11290:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300: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:11305: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:11307: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:11342: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:11343: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:11356:13: error: dereferencing pointer to incomplete type
  if (pkg_hdr->segment_count < 2) {
             ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11362:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11368: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:11371: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:11379: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:11380: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:11390:56: error: dereferencing pointer to incomplete type
        ((struct i40e_profile_segment *)profile_seg_hdr)->name,
                                                        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11391:57: error: dereferencing pointer to incomplete type
        &((struct i40e_profile_segment *)profile_seg_hdr)->version,
                                                         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11401: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:11401: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228:5: error: dereferencing pointer to incomplete type
  sec->tbl_size = 1;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229: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:11229: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:11230: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:11231:5: error: dereferencing pointer to incomplete type
  sec->section.type = SECTION_TYPE_INFO;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11232: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:11233:5: error: dereferencing pointer to incomplete type
  sec->section.size = sizeof(struct i40e_profile_info);
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233: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:11235:14: error: dereferencing pointer to incomplete type
           sec->section.offset);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11236:7: error: dereferencing pointer to incomplete type
  pinfo->track_id = track_id;
       ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:14: error: dereferencing pointer to incomplete type
  memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11238: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:11240:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_ADD_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_REMOVE_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11255:10: error: dereferencing pointer to incomplete type
       sec->section.offset))->track_id;
          ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11257:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11290: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:11290:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300: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:11305: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:11307: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:11342: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:11343: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:11356:13: error: dereferencing pointer to incomplete type
  if (pkg_hdr->segment_count < 2) {
             ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11362:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11368: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:11371: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:11379: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:11380: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:11390:56: error: dereferencing pointer to incomplete type
        ((struct i40e_profile_segment *)profile_seg_hdr)->name,
                                                        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11391:57: error: dereferencing pointer to incomplete type
        &((struct i40e_profile_segment *)profile_seg_hdr)->version,
                                                         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11401: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:11401: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:11220: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:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header'
        sec->tbl_size = 1;
        ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11224: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:11231:22: error: use of undeclared identifier 'SECTION_TYPE_INFO'
        sec->section.type = SECTION_TYPE_INFO;
                            ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11224: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:11232: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:14: error: incomplete definition of type 'struct i40e_profile_section_header'
                                             sec->section.offset);
                                             ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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:11236:7: error: incomplete definition of type 'struct i40e_profile_info'
        pinfo->track_id = track_id;
        ~~~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11238: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11222:11: error: 'struct i40e_ppp_version' declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228:5: error: dereferencing pointer to incomplete type
  sec->tbl_size = 1;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229: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:11229: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:11230: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:11231:5: error: dereferencing pointer to incomplete type
  sec->section.type = SECTION_TYPE_INFO;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11232: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:11233:5: error: dereferencing pointer to incomplete type
  sec->section.size = sizeof(struct i40e_profile_info);
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233: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:11235:14: error: dereferencing pointer to incomplete type
           sec->section.offset);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11236:7: error: dereferencing pointer to incomplete type
  pinfo->track_id = track_id;
       ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:14: error: dereferencing pointer to incomplete type
  memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11238: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:11240:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_ADD_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_REMOVE_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11255:10: error: dereferencing pointer to incomplete type
       sec->section.offset))->track_id;
          ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11257:2: error: nested extern declaration of 'i40e_aq_write_ppp' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11290: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:11290:2: error: nested extern declaration of 'i40e_aq_get_ppp_list' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300: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:11305: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:11307: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:11342: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:11343: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:11356:13: error: dereferencing pointer to incomplete type
  if (pkg_hdr->segment_count < 2) {
             ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11362:2: error: nested extern declaration of 'i40e_find_segment_in_package' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11368: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:11371: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:11379: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:11380: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:11390:56: error: dereferencing pointer to incomplete type
        ((struct i40e_profile_segment *)profile_seg_hdr)->name,
                                                        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11391:57: error: dereferencing pointer to incomplete type
        &((struct i40e_profile_segment *)profile_seg_hdr)->version,
                                                         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11401: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:11401: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:11220: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:11228: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:11229: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:11230: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:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11233: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:11236: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:11237: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:11238: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:11240: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:11242: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:11255: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:11257: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:11257: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:11290: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:11290: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:11300: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:11305: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:11307: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:11342: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:11343: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:11356: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:11362: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:11362: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:11362: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:11368: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:11371: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:11379: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:11380: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:11390: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:11401: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:11401: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:11220: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:11228: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:11229: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:11230: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:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11233: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:11236: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:11237: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:11238: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:11240: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:11242: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:11255: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:11257: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:11257: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:11290: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:11290: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:11300: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:11305: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:11307: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:11342: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:11343: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:11356: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:11362: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:11362: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:11362: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:11368: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:11371: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:11379: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:11380: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:11390: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:11401: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:11401: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:11220: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:11228: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:11229: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:11230: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:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11233: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:11236: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:11237: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:11238: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:11240: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:11242: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:11255: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:11257: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:11257: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:11290: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:11290: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:11300: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:11305: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:11307: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:11342: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:11343: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:11356: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:11362: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:11362: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:11362: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:11368: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:11371: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:11379: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:11380: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:11390: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:11401: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:11401: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:11220: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:11228: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:11229: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:11230: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:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11233: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:11236: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:11237: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:11238: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:11240: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:11242: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:11255: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:11257: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:11257: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:11290: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:11290: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:11300: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:11305: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:11307: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:11342: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:11343: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:11356: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:11362: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:11362: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:11362: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:11368: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:11371: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:11379: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:11380: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:11390: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:11401: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:11401: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:11220: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:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header'
        sec->tbl_size = 1;
        ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11224: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:11231:22: error: use of undeclared identifier 'SECTION_TYPE_INFO'
        sec->section.type = SECTION_TYPE_INFO;
                            ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11224: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:11232: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:14: error: incomplete definition of type 'struct i40e_profile_section_header'
                                             sec->section.offset);
                                             ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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:11236:7: error: incomplete definition of type 'struct i40e_profile_info'
        pinfo->track_id = track_id;
        ~~~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11238: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:11220: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:11240: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228: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:11229: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:11230: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:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11233: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:11236: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:11237: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:11238: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:11240: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:11242: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:11255: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:11257: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:11257: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:11290: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:11290: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:11300: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:11305: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:11307: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:11342: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:11343: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:11356: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:11362: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:11362: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:11362: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:11368: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:11371: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:11379: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:11380: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:11390: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:11401: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:11401: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228: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:11229: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:11230: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:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11233: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:11236: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:11237: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:11238: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:11240: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:11242: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:11255: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:11257: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:11257: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:11290: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:11290: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:11300: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:11305: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:11307: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:11342: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:11343: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:11356: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:11362: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:11362: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:11362: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:11368: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:11371: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:11379: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:11380: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:11390: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:11401: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:11401: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228: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:11229: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:11230: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:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11233: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:11236: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:11237: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:11238: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:11240: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:11242: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:11255: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:11257: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:11257: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:11290: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:11290: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:11300: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:11305: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:11307: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:11342: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:11343: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:11356: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:11362: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:11362: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:11362: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:11368: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:11371: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:11379: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:11380: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:11390: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:11401: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:11401: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:11220: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:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header'
        sec->tbl_size = 1;
        ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11224: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:11231:22: error: use of undeclared identifier 'SECTION_TYPE_INFO'
        sec->section.type = SECTION_TYPE_INFO;
                            ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11224: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:11232: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:14: error: incomplete definition of type 'struct i40e_profile_section_header'
                                             sec->section.offset);
                                             ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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:11236:7: error: incomplete definition of type 'struct i40e_profile_info'
        pinfo->track_id = track_id;
        ~~~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11238: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:11220: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:11240: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228:5: error: dereferencing pointer to incomplete type
  sec->tbl_size = 1;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229: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:11229: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:11230: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:11231:5: error: dereferencing pointer to incomplete type
  sec->section.type = SECTION_TYPE_INFO;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11232: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:11233:5: error: dereferencing pointer to incomplete type
  sec->section.size = sizeof(struct i40e_profile_info);
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233: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:11235:14: error: dereferencing pointer to incomplete type
           sec->section.offset);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11236:7: error: dereferencing pointer to incomplete type
  pinfo->track_id = track_id;
       ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:14: error: dereferencing pointer to incomplete type
  memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11238: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:11240:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_ADD_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_REMOVE_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11255:10: error: dereferencing pointer to incomplete type
       sec->section.offset))->track_id;
          ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11257:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11290: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:11290:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300: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:11305: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:11307: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:11342: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:11343: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:11356:13: error: dereferencing pointer to incomplete type
  if (pkg_hdr->segment_count < 2) {
             ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11362:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11368: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:11371: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:11379: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:11380: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:11390:56: error: dereferencing pointer to incomplete type
        ((struct i40e_profile_segment *)profile_seg_hdr)->name,
                                                        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11391:57: error: dereferencing pointer to incomplete type
        &((struct i40e_profile_segment *)profile_seg_hdr)->version,
                                                         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11401: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:11401: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:11220: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:11228:5: error: incomplete definition of type 'struct i40e_profile_section_header'
        sec->tbl_size = 1;
        ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11224: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:11231:22: error: use of undeclared identifier 'SECTION_TYPE_INFO'
        sec->section.type = SECTION_TYPE_INFO;
                            ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11224: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:11232: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:11224: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: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:11224: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: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11235:14: error: incomplete definition of type 'struct i40e_profile_section_header'
                                             sec->section.offset);
                                             ~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11224: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:11236:7: error: incomplete definition of type 'struct i40e_profile_info'
        pinfo->track_id = track_id;
        ~~~~~^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11238: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242: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:11225:9: note: forward declaration of 'struct i40e_profile_info'
        struct i40e_profile_info *pinfo;
               ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228:5: error: dereferencing pointer to incomplete type
  sec->tbl_size = 1;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229: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:11229: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:11230: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:11231:5: error: dereferencing pointer to incomplete type
  sec->section.type = SECTION_TYPE_INFO;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11232: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:11233:5: error: dereferencing pointer to incomplete type
  sec->section.size = sizeof(struct i40e_profile_info);
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233: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:11235:14: error: dereferencing pointer to incomplete type
           sec->section.offset);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11236:7: error: dereferencing pointer to incomplete type
  pinfo->track_id = track_id;
       ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:14: error: dereferencing pointer to incomplete type
  memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11238: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:11240:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_ADD_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_REMOVE_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11255:10: error: dereferencing pointer to incomplete type
       sec->section.offset))->track_id;
          ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11257:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11290: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:11290:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300: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:11305: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:11307: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:11342: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:11343: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:11356:13: error: dereferencing pointer to incomplete type
  if (pkg_hdr->segment_count < 2) {
             ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11362:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11368: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:11371: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:11379: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:11380: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:11390:56: error: dereferencing pointer to incomplete type
        ((struct i40e_profile_segment *)profile_seg_hdr)->name,
                                                        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11391:57: error: dereferencing pointer to incomplete type
        &((struct i40e_profile_segment *)profile_seg_hdr)->version,
                                                         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11401: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:11401: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:11222:11: error: ‘struct i40e_ppp_version’ declared inside parameter list [-Werror]
           bool add)
           ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11222: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:11228:5: error: dereferencing pointer to incomplete type
  sec->tbl_size = 1;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11229: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:11229: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:11230: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:11231:5: error: dereferencing pointer to incomplete type
  sec->section.type = SECTION_TYPE_INFO;
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11231: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:11231:22: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11232: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:11232: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:11233:5: error: dereferencing pointer to incomplete type
  sec->section.size = sizeof(struct i40e_profile_info);
     ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11233: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:11235:14: error: dereferencing pointer to incomplete type
           sec->section.offset);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11236:7: error: dereferencing pointer to incomplete type
  pinfo->track_id = track_id;
       ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237:14: error: dereferencing pointer to incomplete type
  memcpy(pinfo->name, name, I40E_PPP_NAME_SIZE);
              ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11237: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:11238: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:11238: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:11240:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_ADD_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11240: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:11242:8: error: dereferencing pointer to incomplete type
   pinfo->op = I40E_PPP_REMOVE_TRACKID;
        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11242: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:11255:10: error: dereferencing pointer to incomplete type
       sec->section.offset))->track_id;
          ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11257:2: error: nested extern declaration of ‘i40e_aq_write_ppp’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11257: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:11290: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:11290:2: error: nested extern declaration of ‘i40e_aq_get_ppp_list’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11300: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:11305: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:11307: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:11342: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:11343: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:11356:13: error: dereferencing pointer to incomplete type
  if (pkg_hdr->segment_count < 2) {
             ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11362:2: error: nested extern declaration of ‘i40e_find_segment_in_package’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11362: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:11368: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:11371: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:11379: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:11380: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:11390:56: error: dereferencing pointer to incomplete type
        ((struct i40e_profile_segment *)profile_seg_hdr)->name,
                                                        ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11391:57: error: dereferencing pointer to incomplete type
        &((struct i40e_profile_segment *)profile_seg_hdr)->version,
                                                         ^
/home/patchWorkOrg/compilation/drivers/net/i40e/i40e_ethdev.c:11401: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:11401:3: error: nested extern declaration of ‘i40e_write_profile’ [-Werror=nested-externs]
cc1: all warnings being treated as errors


DPDK STV team


More information about the test-report mailing list