[dpdk-test-report] |FAILURE| pw23704 [PATCH] doc: revise sample testpmd flow commands

sys_stv at intel.com sys_stv at intel.com
Wed Apr 19 10:01:01 CEST 2017


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

http://dpdk.org/patch/23704

_Compilation issues_

Submitter: Bernard Iremonger <bernard.iremonger at intel.com>
Date: Tue, 18 Apr 2017 15:20:46 +0100
DPDK git baseline: Repo:dpdk-next-net, Branch:master, CommitID:b1a45a0fb5805b234753570cc760116a0e38b21c

Patch23704-23704 --> 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-shared
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-debug
OS: UB1604_64
    Kernel Version:4.4.0-64-generic
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
    Clang Version:3.8.0
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
OS: CentOS7_64
    Kernel Version:3.10.0-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc

Failed Build #1:
OS: RHEL7.2_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: extra brace group at end of initializer
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: excess elements in struct initializer [-Werror]
  },
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
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/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: extra brace group at end of initializer
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: excess elements in struct initializer [-Werror]
  },
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
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/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: extra brace group at end of initializer
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: excess elements in struct initializer [-Werror]
  },
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
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/ark/ark_ethdev.c:123:12: error: use of undeclared identifier 'rte_eth_dev_pci_probe'
                .probe = rte_eth_dev_pci_probe,
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: use of undeclared identifier 'rte_eth_dev_pci_remove'; did you mean 'rte_eal_device_remove'?
                .remove = rte_eth_dev_pci_remove,
                          ^~~~~~~~~~~~~~~~~~~~~~
                          rte_eal_device_remove
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_dev.h:145:6: note: 'rte_eal_device_remove' declared here
void rte_eal_device_remove(struct rte_device *dev);
     ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: variable has incomplete type 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: note: forward declaration of 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
              ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function 'rte_eth_copy_pci_info' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        rte_eth_copy_pci_info(dev, pci_dev);
        ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:12: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                ~~~~~~~  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:35: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                                  ~~~~~~~~~~~~  ^
6 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #5:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable 'rte_ark_pmd' has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field 'pci_drv' specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: extra brace group at end of initializer
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: (near initialization for 'rte_ark_pmd')
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: 'rte_eth_dev_pci_probe' undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: 'rte_eth_dev_pci_remove' undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: excess elements in struct initializer [-Werror]
  },
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: (near initialization for 'rte_ark_pmd') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field 'eth_dev_init' specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: (near initialization for 'rte_ark_pmd') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field 'eth_dev_uninit' specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: (near initialization for 'rte_ark_pmd') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field 'dev_private_size' specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: (near initialization for 'rte_ark_pmd') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function 'eth_ark_dev_init':
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function 'rte_eth_copy_pci_info' [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of 'rte_eth_copy_pci_info' [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: 'struct rte_eth_dev' has no member named 'driver'
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: 'struct rte_eth_dev' has no member named 'driver'
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function 'pciinitfn_net_ark':
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type 'struct eth_driver'
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type 'struct eth_driver'
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #6:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: extra brace group at end of initializer
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: excess elements in struct initializer [-Werror]
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: error: excess elements in struct initializer [-Werror]
  .eth_dev_init = eth_ark_dev_init,
                  ^~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: error: excess elements in struct initializer [-Werror]
  .eth_dev_uninit = eth_ark_dev_uninit,
                    ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                      ^~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: storage size of ‘rte_ark_pmd’ isn’t known
 static struct eth_driver rte_ark_pmd = {
                          ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #7:
OS: FC24_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: extra brace group at end of initializer
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: excess elements in struct initializer [-Werror]
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: error: excess elements in struct initializer [-Werror]
  .eth_dev_init = eth_ark_dev_init,
                  ^~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: error: excess elements in struct initializer [-Werror]
  .eth_dev_uninit = eth_ark_dev_uninit,
                    ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                      ^~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: storage size of ‘rte_ark_pmd’ isn’t known
 static struct eth_driver rte_ark_pmd = {
                          ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #8:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: use of undeclared identifier 'rte_eth_dev_pci_probe'
                .probe = rte_eth_dev_pci_probe,
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: use of undeclared identifier 'rte_eth_dev_pci_remove'; did you mean 'rte_eal_device_remove'?
                .remove = rte_eth_dev_pci_remove,
                          ^~~~~~~~~~~~~~~~~~~~~~
                          rte_eal_device_remove
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_dev.h:145:6: note: 'rte_eal_device_remove' declared here
void rte_eal_device_remove(struct rte_device *dev);
     ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: variable has incomplete type 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: note: forward declaration of 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
              ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function 'rte_eth_copy_pci_info' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        rte_eth_copy_pci_info(dev, pci_dev);
        ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:12: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                ~~~~~~~  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:35: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                                  ~~~~~~~~~~~~  ^
6 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #9:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: extra brace group at end of initializer
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: excess elements in struct initializer [-Werror]
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: error: excess elements in struct initializer [-Werror]
  .eth_dev_init = eth_ark_dev_init,
                  ^~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: error: excess elements in struct initializer [-Werror]
  .eth_dev_uninit = eth_ark_dev_uninit,
                    ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                      ^~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: storage size of ‘rte_ark_pmd’ isn’t known
 static struct eth_driver rte_ark_pmd = {
                          ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #10:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug

/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: extra brace group at end of initializer
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: excess elements in struct initializer [-Werror]
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: error: excess elements in struct initializer [-Werror]
  .eth_dev_init = eth_ark_dev_init,
                  ^~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: error: excess elements in struct initializer [-Werror]
  .eth_dev_uninit = eth_ark_dev_uninit,
                    ^~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                      ^~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: storage size of ‘rte_ark_pmd’ isn’t known
 static struct eth_driver rte_ark_pmd = {
                          ^~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #11:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: extra brace group at end of initializer
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: excess elements in struct initializer [-Werror]
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: error: excess elements in struct initializer [-Werror]
  .eth_dev_init = eth_ark_dev_init,
                  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: error: excess elements in struct initializer [-Werror]
  .eth_dev_uninit = eth_ark_dev_uninit,
                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                      ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #12:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: use of undeclared identifier 'rte_eth_dev_pci_probe'
                .probe = rte_eth_dev_pci_probe,
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: use of undeclared identifier 'rte_eth_dev_pci_remove'; did you mean 'rte_eal_device_remove'?
                .remove = rte_eth_dev_pci_remove,
                          ^~~~~~~~~~~~~~~~~~~~~~
                          rte_eal_device_remove
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_dev.h:145:6: note: 'rte_eal_device_remove' declared here
void rte_eal_device_remove(struct rte_device *dev);
     ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: variable has incomplete type 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: note: forward declaration of 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
              ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function 'rte_eth_copy_pci_info' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        rte_eth_copy_pci_info(dev, pci_dev);
        ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:12: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                ~~~~~~~  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:35: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                                  ~~~~~~~~~~~~  ^
6 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #13:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: extra brace group at end of initializer
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: excess elements in struct initializer [-Werror]
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: error: excess elements in struct initializer [-Werror]
  .eth_dev_init = eth_ark_dev_init,
                  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: error: excess elements in struct initializer [-Werror]
  .eth_dev_uninit = eth_ark_dev_uninit,
                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                      ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #14:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: extra brace group at end of initializer
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: error: excess elements in struct initializer [-Werror]
  .pci_drv = {
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:13: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: error: excess elements in struct initializer [-Werror]
  .eth_dev_init = eth_ark_dev_init,
                  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:18: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: error: excess elements in struct initializer [-Werror]
  .eth_dev_uninit = eth_ark_dev_uninit,
                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:20: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                      ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:22: note: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'ark_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'ark' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:103: recipe for target 'install' failed


Failed Build #15:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: extra brace group at end of initializer
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: excess elements in struct initializer [-Werror]
  },
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
cc1: all warnings being treated as errors


Failed Build #16:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: use of undeclared identifier 'rte_eth_dev_pci_probe'
                .probe = rte_eth_dev_pci_probe,
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: use of undeclared identifier 'rte_eth_dev_pci_remove'; did you mean 'rte_eal_device_remove'?
                .remove = rte_eth_dev_pci_remove,
                          ^~~~~~~~~~~~~~~~~~~~~~
                          rte_eal_device_remove
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_dev.h:145:6: note: 'rte_eal_device_remove' declared here
void rte_eal_device_remove(struct rte_device *dev);
     ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:26: error: variable has incomplete type 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
                         ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: note: forward declaration of 'struct eth_driver'
static struct eth_driver rte_ark_pmd = {
              ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function 'rte_eth_copy_pci_info' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        rte_eth_copy_pci_info(dev, pci_dev);
        ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:12: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                ~~~~~~~  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:35: error: no member named 'driver' in 'struct rte_eth_dev'
                eth_dev->driver = ark->eth_dev->driver;
                                  ~~~~~~~~~~~~  ^
6 errors generated.


Failed Build #17:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared

/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: extra brace group at end of initializer
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: excess elements in struct initializer [-Werror]
  },
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
cc1: all warnings being treated as errors


Failed Build #18:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:121:15: error: variable ‘rte_ark_pmd’ has initializer but incomplete type
 static struct eth_driver rte_ark_pmd = {
               ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: unknown field ‘pci_drv’ specified in initializer
  .pci_drv = {
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: extra brace group at end of initializer
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:122:2: error: (near initialization for ‘rte_ark_pmd’)
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:123:12: error: ‘rte_eth_dev_pci_probe’ undeclared here (not in a function)
   .probe = rte_eth_dev_pci_probe,
            ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:124:13: error: ‘rte_eth_dev_pci_remove’ undeclared here (not in a function)
   .remove = rte_eth_dev_pci_remove,
             ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: excess elements in struct initializer [-Werror]
  },
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:127:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: unknown field ‘eth_dev_init’ specified in initializer
  .eth_dev_init = eth_ark_dev_init,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:128:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: unknown field ‘eth_dev_uninit’ specified in initializer
  .eth_dev_uninit = eth_ark_dev_uninit,
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:129:2: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:2: error: unknown field ‘dev_private_size’ specified in initializer
  .dev_private_size = sizeof(struct ark_adapter),
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: excess elements in struct initializer [-Werror]
  .dev_private_size = sizeof(struct ark_adapter),
                                    ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:130:36: error: (near initialization for ‘rte_ark_pmd’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘eth_ark_dev_init’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: implicit declaration of function ‘rte_eth_copy_pci_info’ [-Werror=implicit-function-declaration]
  rte_eth_copy_pci_info(dev, pci_dev);
  ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:261:2: error: nested extern declaration of ‘rte_eth_copy_pci_info’ [-Werror=nested-externs]
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:10: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
          ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:378:33: error: ‘struct rte_eth_dev’ has no member named ‘driver’
   eth_dev->driver = ark->eth_dev->driver;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c: In function ‘pciinitfn_net_ark’:
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
 RTE_PMD_REGISTER_PCI(net_ark, rte_ark_pmd.pci_drv);
 ^
/home/patchWorkOrg/compilation/drivers/net/ark/ark_ethdev.c:966:1: error: invalid use of undefined type ‘struct eth_driver’
cc1: all warnings being treated as errors


DPDK STV team


More information about the test-report mailing list