From: sys_stv@intel.com
To: test-report@dpdk.org
Cc: zijie.pan@6wind.com
Subject: [dpdk-test-report] |FAILURE| pw36149 [PATCH v2 3/5] net/ixgbe: add module EEPROM callbacks for ixgbe
Date: 16 Mar 2018 03:58:00 -0700 [thread overview]
Message-ID: <0590c7$15kjf2@orsmga001.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 87359 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/36149
_Compilation issues_
Submitter: Zijie Pan <zijie.pan@6wind.com>
Date: Fri, 16 Mar 2018 10:42:11 +0100
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:09e1e8d256b0832a64af6d13bf96fcb49e1e7ded
Patch36149-36149 --> compile error
Build Summary: 15 Builds Done, 0 Successful, 15 Failures
Test environment and configuration as below:
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-clang
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-gcc
OS: UB1604_64
Kernel Version:4.4.0-78-generic
CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Clang Version:3.8.0
i686-native-linuxapp-gcc
x86_64-native-linuxapp-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: FreeBSD10.3_64
Target: x86_64-native-bsdapp-clang
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:3: error: field designator 'get_module_info' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'get_dcb_info'?
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~
get_dcb_info
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_ethdev_core.h:473:29: note: 'get_dcb_info' declared here
eth_get_dcb_info get_dcb_info; /** Get DCB information. */
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: incompatible pointer types initializing 'eth_get_dcb_info' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_dcb_info *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_dev_module_info *)' [-Werror,-Wincompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:3: error: field designator 'get_module_eeprom' does not refer to any field in type 'const struct eth_dev_ops'
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for 'ixgbe_get_module_info'
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration is here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8079;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8079'
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8472;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8472'
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8472_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
if (i < ETH_MODULE_SFF_8079_LEN)
^
15 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #2:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: 'struct rte_dev_module_info' declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field 'get_module_info' specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for 'ixgbe_eth_dev_ops.filter_ctrl') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for 'ixgbe_eth_dev_ops.filter_ctrl') [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field 'get_module_eeprom' specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: (near initialization for 'ixgbe_eth_dev_ops.get_dcb_info') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: (near initialization for 'ixgbe_eth_dev_ops.get_dcb_info') [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: 'struct rte_dev_module_info' declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for 'ixgbe_get_module_info'
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of 'ixgbe_get_module_info' was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function 'ixgbe_get_module_info':
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: 'ETH_MODULE_SFF_8079' undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: 'ETH_MODULE_SFF_8079_LEN' undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: 'ETH_MODULE_SFF_8472' undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: 'ETH_MODULE_SFF_8472_LEN' undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function 'ixgbe_get_module_eeprom':
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: 'ETH_MODULE_SFF_8079_LEN' undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: 'ixgbe_get_module_info' used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: 'ixgbe_get_module_info' defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #3:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo);
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_eeprom = ixgbe_get_module_eeprom,
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo)
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type ‘struct rte_dev_module_info’
modinfo->type = ETH_MODULE_SFF_8079;
^~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #4:
OS: FC24_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo);
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_eeprom = ixgbe_get_module_eeprom,
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo)
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type ‘struct rte_dev_module_info’
modinfo->type = ETH_MODULE_SFF_8079;
^~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #5:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:3: error: field designator 'get_module_info' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'get_dcb_info'?
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~
get_dcb_info
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev_core.h:473:29: note: 'get_dcb_info' declared here
eth_get_dcb_info get_dcb_info; /** Get DCB information. */
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: incompatible pointer types initializing 'eth_get_dcb_info' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_dcb_info *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_dev_module_info *)' [-Werror,-Wincompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:3: error: field designator 'get_module_eeprom' does not refer to any field in type 'const struct eth_dev_ops'
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for 'ixgbe_get_module_info'
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration is here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8079;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8079'
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8472;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8472'
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8472_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
if (i < ETH_MODULE_SFF_8079_LEN)
^
15 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #6:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo);
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_eeprom = ixgbe_get_module_eeprom,
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo)
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type ‘struct rte_dev_module_info’
modinfo->type = ETH_MODULE_SFF_8079;
^~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #7:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo);
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_eeprom = ixgbe_get_module_eeprom,
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_dev_module_info *modinfo)
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type ‘struct rte_dev_module_info’
modinfo->type = ETH_MODULE_SFF_8079;
^~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #8:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type ‘struct rte_dev_module_info’
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #9:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type ‘struct rte_dev_module_info’
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #10:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: note: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:26: note: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’)
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type ‘struct rte_dev_module_info’
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #11:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:3: error: field designator 'get_module_info' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'get_dcb_info'?
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~
get_dcb_info
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev_core.h:473:29: note: 'get_dcb_info' declared here
eth_get_dcb_info get_dcb_info; /** Get DCB information. */
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: incompatible pointer types initializing 'eth_get_dcb_info' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_dcb_info *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_dev_module_info *)' [-Werror,-Wincompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:3: error: field designator 'get_module_eeprom' does not refer to any field in type 'const struct eth_dev_ops'
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for 'ixgbe_get_module_info'
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration is here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8079;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8079'
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8472;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8472'
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8472_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
if (i < ETH_MODULE_SFF_8079_LEN)
^
15 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'ixgbe_ethdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'ixgbe' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: 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:79: recipe for target 'install' failed
Failed Build #12:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’) [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’) [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
cc1: all warnings being treated as errors
Failed Build #13:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:3: error: field designator 'get_module_info' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'get_dcb_info'?
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~
get_dcb_info
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_ethdev_core.h:473:29: note: 'get_dcb_info' declared here
eth_get_dcb_info get_dcb_info; /** Get DCB information. */
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:26: error: incompatible pointer types initializing 'eth_get_dcb_info' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_dcb_info *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_dev_module_info *)' [-Werror,-Wincompatible-pointer-types]
.get_module_info = ixgbe_get_module_info,
^~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:3: error: field designator 'get_module_eeprom' does not refer to any field in type 'const struct eth_dev_ops'
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: declaration of 'struct rte_dev_module_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for 'ixgbe_get_module_info'
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration is here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8079;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8079'
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->type = ETH_MODULE_SFF_8472;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: use of undeclared identifier 'ETH_MODULE_SFF_8472'
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: incomplete definition of type 'struct rte_dev_module_info'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
~~~~~~~^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: note: forward declaration of 'struct rte_dev_module_info'
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: use of undeclared identifier 'ETH_MODULE_SFF_8472_LEN'
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: use of undeclared identifier 'ETH_MODULE_SFF_8079_LEN'
if (i < ETH_MODULE_SFF_8079_LEN)
^
15 errors generated.
Failed Build #14:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’) [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’) [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
cc1: all warnings being treated as errors
Failed Build #15:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
SYMLINK-FILE include/rte_pmd_ixgbe.h/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo);
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:332:13: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: unknown field ‘get_module_info’ specified in initializer
.get_module_info = ixgbe_get_module_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: initialized field overwritten [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:573:2: error: (near initialization for ‘ixgbe_eth_dev_ops.filter_ctrl’) [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: unknown field ‘get_module_eeprom’ specified in initializer
.get_module_eeprom = ixgbe_get_module_eeprom,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: initialization from incompatible pointer type [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:574:2: error: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: initialized field overwritten [-Werror=override-init]
.get_dcb_info = ixgbe_dev_get_dcb_info,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:575:2: error: (near initialization for ‘ixgbe_eth_dev_ops.get_dcb_info’) [-Werror=override-init]
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7178:16: error: ‘struct rte_dev_module_info’ declared inside parameter list [-Werror]
struct rte_dev_module_info *modinfo)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: conflicting types for ‘ixgbe_get_module_info’
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: note: previous declaration of ‘ixgbe_get_module_info’ was here
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_info’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: error: ‘ETH_MODULE_SFF_8079’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8079;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7209:19: note: each undeclared identifier is reported only once for each function it appears in
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7210:25: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8079_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:10: error: dereferencing pointer to incomplete type
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7213:19: error: ‘ETH_MODULE_SFF_8472’ undeclared (first use in this function)
modinfo->type = ETH_MODULE_SFF_8472;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:10: error: dereferencing pointer to incomplete type
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7214:25: error: ‘ETH_MODULE_SFF_8472_LEN’ undeclared (first use in this function)
modinfo->eeprom_len = ETH_MODULE_SFF_8472_LEN;
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: In function ‘ixgbe_get_module_eeprom’:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7234:11: error: ‘ETH_MODULE_SFF_8079_LEN’ undeclared (first use in this function)
if (i < ETH_MODULE_SFF_8079_LEN)
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:331:12: error: ‘ixgbe_get_module_info’ used but never defined [-Werror]
static int ixgbe_get_module_info(struct rte_eth_dev *dev,
^
/home/patchWorkOrg/compilation/drivers/net/ixgbe/ixgbe_ethdev.c:7177:1: error: ‘ixgbe_get_module_info’ defined but not used [-Werror=unused-function]
ixgbe_get_module_info(struct rte_eth_dev *dev,
^
cc1: all warnings being treated as errors
DPDK STV team
reply other threads:[~2018-03-16 10:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='0590c7$15kjf2@orsmga001.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
--cc=zijie.pan@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).