From: sys_stv@intel.com
To: test-report@dpdk.org
Subject: [dpdk-test-report] |FAILURE| pw(79674) [v2, 56/56] net/txgbe: add Rx and Tx descriptor status
Date: 05 Oct 2020 06:08:24 -0700 [thread overview]
Message-ID: <fecc85$bglsuk@orsmga001.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 198172 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/79674
_Compilation issues_
Submitter: Jiawen Wu <jiawenwu@trustnetic.com>
Date: 2020-10-05 12:09:10
Reply_mail: 20201005120910.189343-57-jiawenwu@trustnetic.com
DPDK git baseline: Repo:dpdk, CommitID: f459f6038283a1ad3b0f4d98edcedae70043428f
Meson Build Summary: 21 Builds Done, 1 Successful, 20 Failures, 0 Blocked
+----------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| CENTOS82-64 | FAIL | FAIL | FAIL | FAIL | FAIL | |
| RHEL82-64 | FAIL | | | | | |
| UB1804-64 | FAIL | | | | | |
| FC32-64 | FAIL | FAIL | | | | |
| UB2004-64 | FAIL | FAIL | FAIL | | | FAIL |
| WIN10-64 | | pass | | | | |
| UB2004-32 | FAIL | | | | | |
| FreeBSD1201-64 | FAIL | FAIL | | FAIL | FAIL | |
| SUSE15-64 | FAIL | FAIL | | | | |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: CENTOS82-64
Kernel Version: 4.18.0-193.el8.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: RHEL82-64
Kernel Version: 4.18.0-193.el8.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
x86_64-native-linuxapp-gcc
OS: UB1804-64
Kernel Version: 5.3.0-59-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
x86_64-native-linuxapp-gcc
OS: FC32-64
Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2004-64
Kernel Version: 5.4.0-26-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-doc
OS: WIN10-64
Kernel Version: N/A
CPU info: N/A
GCC Version: N/A
Clang Version: Clang 8.0.0
x86_64-windows-clang
OS: UB2004-32
Kernel Version: 5.4.0-26-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: FreeBSD1201-64
Kernel Version: 12.1-RELEASE
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: SUSE15-64
Kernel Version: 4.12.14-lp150.11-default
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_setup = txgbe_dev_tx_queue_setup,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_release = txgbe_dev_tx_queue_release,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1664/2645] Generating rte_pmd_vdev_netvsc_def with a custom command
[1665/2645] Generating rte_pmd_tap.pmd.c with a custom command
[1666/2645] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1667/2645] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1668/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1669/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1670/2645] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1671/2645] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1672/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #2:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c:782:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_pf.c:794:2: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
2 errors generated.
[1673/2645] Generating rte_pmd_vhost_def with a custom command
[1674/2645] Generating rte_pmd_vhost_mingw with a custom command
[1675/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: use of undeclared identifier 'RTE_ETH_DEV_CLOSE_REMOVE'; did you mean 'RTE_ETH_DEV_REMOVED'?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../lib/librte_ethdev/rte_ethdev.h:1635:2: note: 'RTE_ETH_DEV_REMOVED' declared here
RTE_ETH_DEV_REMOVED,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_ethdev.c:2809:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_MACSEC,
^
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: incompatible pointer types initializing 'eth_dev_close_t' (aka 'int (*)(struct rte_eth_dev *)') with an expression of type 'void (struct rte_eth_dev *)' [-Werror,-Wincompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: field designator 'rx_queue_count' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'rx_queue_start'?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../lib/librte_ethdev/rte_ethdev_driver.h:628:29: note: 'rx_queue_start' declared here
eth_queue_start_t rx_queue_start;/**< Start RX for a queue. */
^
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: incompatible pointer types initializing 'eth_queue_start_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'uint32_t (struct rte_eth_dev *, uint16_t)' (aka 'unsigned int (struct rte_eth_dev *, unsigned short)') [-Werror,-Wincompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: field designator 'rx_descriptor_done' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: field designator 'rx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: field designator 'tx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^
9 errors generated.
[1676/2645] Generating rte_pmd_tap.sym_chk with a meson_exe.py custom command
[1677/2645] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1678/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1679/2645] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1680/2645] Compiling C object drivers/libtmp_rte_pmd_vhost.a.p/net_vhost_rte_eth_vhost.c.o
[1681/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #3:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
icc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c(632): error: identifier "RTE_ETH_DEV_CLOSE_REMOVE" is undefined
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^
../drivers/net/txgbe/txgbe_ethdev.c(2804): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c(2809): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_MACSEC,
^
../drivers/net/txgbe/txgbe_ethdev.c(4184): error #144: a value of type "void (*)(struct rte_eth_dev *)" cannot be used to initialize an entity of type "eth_dev_close_t"
.dev_close = txgbe_dev_close,
^
../drivers/net/txgbe/txgbe_ethdev.c(4214): error: struct "eth_dev_ops" has no field "rx_queue_count"
.rx_queue_count = txgbe_dev_rx_queue_count,
^
compilation aborted for ../drivers/net/txgbe/txgbe_ethdev.c (code 2)
[1647/2645] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1648/2645] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[1649/2645] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1650/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1651/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
icc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c(782): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c(794): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
compilation aborted for ../drivers/net/txgbe/txgbe_pf.c (code 2)
[1652/2645] Compiling C object drivers/libtmp_rte_pmd_tap.a.p/net_tap_rte_eth_tap.c.o
[1653/2645] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1654/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1655/2645] Compiling C object drivers/libtmp_rte_pmd_octeontx2.a.p/net_octeontx2_otx2_tx.c.o
ninja: build stopped: subcommand failed
*Build Failed #4:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_setup = txgbe_dev_tx_queue_setup,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_release = txgbe_dev_tx_queue_release,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1689/2475] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1690/2475] Linking static target drivers/libtmp_rte_pmd_thunderx.a
[1691/2475] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1692/2475] Generating rte_pmd_tap.sym_chk with a meson_exe.py custom command
[1693/2475] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed
*Build Failed #5:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_setup = txgbe_dev_tx_queue_setup,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_release = txgbe_dev_tx_queue_release,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1668/2645] Generating rte_pmd_thunderx.pmd.c with a custom command
[1669/2645] Linking target drivers/librte_pmd_softnic.so.21.0
[1670/2645] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1671/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1672/2645] Generating rte_pmd_tap.sym_chk with a meson_exe.py custom command
ninja: build stopped: subcommand failed
*Build Failed #6:
OS: FC32-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
632 | eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
2804 | _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
4184 | .dev_close = txgbe_dev_close,
| ^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~
| rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
4218 | .tx_queue_setup = txgbe_dev_tx_queue_setup,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
4219 | .tx_queue_release = txgbe_dev_tx_queue_release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1641/2646] Generating rte_pmd_vdev_netvsc_def with a custom command
[1642/2646] Generating rte_pmd_vdev_netvsc_mingw with a custom command
[1643/2646] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1644/2646] Compiling C object drivers/libtmp_rte_pmd_softnic.a.p/net_softnic_rte_eth_softnic_cli.c.o
[1645/2646] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
782 | _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1646/2646] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1647/2646] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1648/2646] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1649/2646] Compiling C object drivers/libtmp_rte_pmd_tap.a.p/net_tap_rte_eth_tap.c.o
[1650/2646] Compiling C object drivers/libtmp_rte_pmd_octeontx2.a.p/net_octeontx2_otx2_tx.c.o
[1651/2646] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #7:
OS: FC32-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: use of undeclared identifier 'RTE_ETH_DEV_CLOSE_REMOVE'; did you mean 'RTE_ETH_DEV_REMOVED'?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../lib/librte_ethdev/rte_ethdev.h:1635:2: note: 'RTE_ETH_DEV_REMOVED' declared here
RTE_ETH_DEV_REMOVED,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_ethdev.c:2809:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_MACSEC,
^
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: incompatible pointer types initializing 'eth_dev_close_t' (aka 'int (*)(struct rte_eth_dev *)') with an expression of type 'void (struct rte_eth_dev *)' [-Werror,-Wincompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: field designator 'rx_queue_count' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'rx_queue_start'?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../lib/librte_ethdev/rte_ethdev_driver.h:628:29: note: 'rx_queue_start' declared here
eth_queue_start_t rx_queue_start;/**< Start RX for a queue. */
^
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: incompatible pointer types initializing 'eth_queue_start_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'uint32_t (struct rte_eth_dev *, uint16_t)' (aka 'unsigned int (struct rte_eth_dev *, unsigned short)') [-Werror,-Wincompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: field designator 'rx_descriptor_done' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: field designator 'rx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: field designator 'tx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^
9 errors generated.
[1669/2646] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1670/2646] Generating rte_pmd_tap.sym_chk with a meson_exe.py custom command
[1671/2646] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c:782:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_pf.c:794:2: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
2 errors generated.
[1672/2646] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1673/2646] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1674/2646] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1675/2646] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1676/2646] Compiling C object drivers/libtmp_rte_pmd_vhost.a.p/net_vhost_rte_eth_vhost.c.o
[1677/2646] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #8:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function 'eth_txgbe_dev_init':
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: 'RTE_ETH_DEV_CLOSE_REMOVE' undeclared (first use in this function); did you mean 'RTE_ETH_DEV_REMOVED'?
632 | eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function 'txgbe_dev_interrupt_delayed_handler':
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process'; did you mean 'rte_eth_dev_callback_process'? [-Werror=implicit-function-declaration]
2804 | _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of '_rte_eth_dev_callback_process' [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of 'int (*)(struct rte_eth_dev *)' from incompatible pointer type 'void (*)(struct rte_eth_dev *)' [-Werror=incompatible-pointer-types]
4184 | .dev_close = txgbe_dev_close,
| ^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for 'txgbe_eth_dev_ops.dev_close')
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: 'const struct eth_dev_ops' has no member named 'rx_queue_count'; did you mean 'rx_queue_start'?
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~
| rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int)'} from incompatible pointer type 'uint32_t (*)(struct rte_eth_dev *, uint16_t)' {aka 'unsigned int (*)(struct rte_eth_dev *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_enable')
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_enable')
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: 'const struct eth_dev_ops' has no member named 'rx_descriptor_done'
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int)'} from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_disable')
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_disable')
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: 'const struct eth_dev_ops' has no member named 'rx_descriptor_status'
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)'} from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_setup')
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: 'const struct eth_dev_ops' has no member named 'tx_descriptor_status'
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of 'void (*)(void *)' from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_release')
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
4218 | .tx_queue_setup = txgbe_dev_tx_queue_setup,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_setup')
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
4219 | .tx_queue_release = txgbe_dev_tx_queue_release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_release')
cc1: all warnings being treated as errors
[1283/1975] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1284/1975] Generating rte_pmd_sfc.sym_chk with a meson_exe.py custom command
[1285/1975] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1286/1975] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[1287/1975] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
ninja: build stopped: subcommand failed
*Build Failed #9:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c:782:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_pf.c:782:3: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c:794:2: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
3 errors generated.
[1293/1975] Linking target drivers/librte_pmd_sfc.so.21.0
[1294/1975] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: use of undeclared identifier 'RTE_ETH_DEV_CLOSE_REMOVE'; did you mean 'RTE_ETH_DEV_REMOVED'?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../lib/librte_ethdev/rte_ethdev.h:1635:2: note: 'RTE_ETH_DEV_REMOVED' declared here
RTE_ETH_DEV_REMOVED,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c:2809:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_MACSEC,
^
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: incompatible pointer types initializing 'eth_dev_close_t' (aka 'int (*)(struct rte_eth_dev *)') with an expression of type 'void (struct rte_eth_dev *)' [-Werror,-Wincompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: field designator 'rx_queue_count' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'rx_queue_start'?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../lib/librte_ethdev/rte_ethdev_driver.h:628:29: note: 'rx_queue_start' declared here
eth_queue_start_t rx_queue_start;/**< Start RX for a queue. */
^
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: incompatible pointer types initializing 'eth_queue_start_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'uint32_t (struct rte_eth_dev *, uint16_t)' (aka 'unsigned int (struct rte_eth_dev *, unsigned short)') [-Werror,-Wincompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: field designator 'rx_descriptor_done' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: field designator 'rx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: field designator 'tx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^
10 errors generated.
[1295/1975] Generating rte_pmd_thunderx.sym_chk with a meson_exe.py custom command
[1296/1975] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1297/1975] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #10:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function 'eth_txgbe_dev_init':
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: 'RTE_ETH_DEV_CLOSE_REMOVE' undeclared (first use in this function); did you mean 'RTE_ETH_DEV_REMOVED'?
632 | eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function 'txgbe_dev_interrupt_delayed_handler':
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process'; did you mean 'rte_eth_dev_callback_process'? [-Werror=implicit-function-declaration]
2804 | _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of '_rte_eth_dev_callback_process' [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of 'int (*)(struct rte_eth_dev *)' from incompatible pointer type 'void (*)(struct rte_eth_dev *)' [-Werror=incompatible-pointer-types]
4184 | .dev_close = txgbe_dev_close,
| ^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for 'txgbe_eth_dev_ops.dev_close')
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: 'const struct eth_dev_ops' has no member named 'rx_queue_count'; did you mean 'rx_queue_start'?
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~
| rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int)'} from incompatible pointer type 'uint32_t (*)(struct rte_eth_dev *, uint16_t)' {aka 'unsigned int (*)(struct rte_eth_dev *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_enable')
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_enable')
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: 'const struct eth_dev_ops' has no member named 'rx_descriptor_done'
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int)'} from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_disable')
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_disable')
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: 'const struct eth_dev_ops' has no member named 'rx_descriptor_status'
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)'} from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_setup')
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: 'const struct eth_dev_ops' has no member named 'tx_descriptor_status'
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of 'void (*)(void *)' from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_release')
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
4218 | .tx_queue_setup = txgbe_dev_tx_queue_setup,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_setup')
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
4219 | .tx_queue_release = txgbe_dev_tx_queue_release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_release')
cc1: all warnings being treated as errors
[1309/1855] Linking static target drivers/net/txgbe/base/libtxgbe_base.a
[1310/1855] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1311/1855] Generating rte_pmd_sfc.sym_chk with a meson_exe.py custom command
[1312/1855] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1313/1855] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function 'txgbe_rcv_msg_from_vf':
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function '_rte_eth_dev_callback_process'; did you mean 'rte_eth_dev_callback_process'? [-Werror=implicit-function-declaration]
782 | _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of '_rte_eth_dev_callback_process' [-Werror=nested-externs]
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed
*Build Failed #11:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function 'eth_txgbe_dev_init':
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: 'RTE_ETH_DEV_CLOSE_REMOVE' undeclared (first use in this function); did you mean 'RTE_ETH_DEV_REMOVED'?
632 | eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function 'txgbe_dev_interrupt_delayed_handler':
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process'; did you mean 'rte_eth_dev_callback_process'? [-Werror=implicit-function-declaration]
2804 | _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of '_rte_eth_dev_callback_process' [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of 'int (*)(struct rte_eth_dev *)' from incompatible pointer type 'void (*)(struct rte_eth_dev *)' [-Werror=incompatible-pointer-types]
4184 | .dev_close = txgbe_dev_close,
| ^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for 'txgbe_eth_dev_ops.dev_close')
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: 'const struct eth_dev_ops' has no member named 'rx_queue_count'; did you mean 'rx_queue_start'?
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~
| rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int)'} from incompatible pointer type 'uint32_t (*)(struct rte_eth_dev *, uint16_t)' {aka 'unsigned int (*)(struct rte_eth_dev *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_enable')
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_enable')
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: 'const struct eth_dev_ops' has no member named 'rx_descriptor_done'
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int)'} from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_disable')
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for 'txgbe_eth_dev_ops.rx_queue_intr_disable')
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: 'const struct eth_dev_ops' has no member named 'rx_descriptor_status'
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of 'int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)' {aka 'int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)'} from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_setup')
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: 'const struct eth_dev_ops' has no member named 'tx_descriptor_status'
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of 'void (*)(void *)' from incompatible pointer type 'int (*)(void *, uint16_t)' {aka 'int (*)(void *, short unsigned int)'} [-Werror=incompatible-pointer-types]
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_release')
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
4218 | .tx_queue_setup = txgbe_dev_tx_queue_setup,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_setup')
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
4219 | .tx_queue_release = txgbe_dev_tx_queue_release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for 'txgbe_eth_dev_ops.tx_queue_release')
cc1: all warnings being treated as errors
[1280/1975] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[1281/1975] Generating rte_pmd_sfc.pmd.c with a custom command
[1282/1975] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1283/1975] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1284/1975] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function 'txgbe_rcv_msg_from_vf':
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function '_rte_eth_dev_callback_process'; did you mean 'rte_eth_dev_callback_process'? [-Werror=implicit-function-declaration]
782 | _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of '_rte_eth_dev_callback_process' [-Werror=nested-externs]
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed
*Build Failed #12:
OS: RHEL82-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_setup = txgbe_dev_tx_queue_setup,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_release = txgbe_dev_tx_queue_release,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1662/2645] Generating rte_pmd_vdev_netvsc_mingw with a custom command
[1663/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1664/2645] Generating rte_pmd_tap.pmd.c with a custom command
[1665/2645] Generating rte_pmd_softnic.pmd.c with a custom command
[1666/2645] Linking target drivers/librte_pmd_sfc.so.21.0
[1667/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1668/2645] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1669/2645] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1670/2645] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #13:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c:782:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_pf.c:782:3: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
2 errors generated.
[1664/2614] Linking static target drivers/libtmp_rte_pmd_tap.a
[1665/2614] Generating rte_pmd_vdev_netvsc_def with a custom command
[1666/2614] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_rxtx.c.o
[1667/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1668/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: use of undeclared identifier 'RTE_ETH_DEV_CLOSE_REMOVE'; did you mean 'RTE_ETH_DEV_REMOVED'?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../lib/librte_ethdev/rte_ethdev.h:1635:2: note: 'RTE_ETH_DEV_REMOVED' declared here
RTE_ETH_DEV_REMOVED,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: incompatible pointer types initializing 'eth_dev_close_t' (aka 'int (*)(struct rte_eth_dev *)') with an expression of type 'void (struct rte_eth_dev *)' [-Werror,-Wincompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: field designator 'rx_queue_count' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'rx_queue_start'?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../lib/librte_ethdev/rte_ethdev_driver.h:628:29: note: 'rx_queue_start' declared here
eth_queue_start_t rx_queue_start;/**< Start RX for a queue. */
^
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: incompatible pointer types initializing 'eth_queue_start_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'uint32_t (struct rte_eth_dev *, uint16_t)' (aka 'unsigned int (struct rte_eth_dev *, unsigned short)') [-Werror,-Wincompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: field designator 'rx_descriptor_done' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: field designator 'rx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: field designator 'tx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^
9 errors generated.
[1669/2614] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1670/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1671/2614] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1672/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #14:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_setup = txgbe_dev_tx_queue_setup,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_release = txgbe_dev_tx_queue_release,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1656/2614] Generating rte_pmd_txgbe_mingw with a custom command
[1657/2614] Generating rte_pmd_tap.pmd.c with a custom command
[1658/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1659/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1660/2614] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1661/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1662/2614] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1663/2614] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1664/2614] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #15:
OS: UB1804-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_setup = txgbe_dev_tx_queue_setup,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
.tx_queue_release = txgbe_dev_tx_queue_release,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1661/2634] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_rxtx.c.o
[1662/2634] Compiling C object drivers/libtmp_rte_pmd_tap.a.p/net_tap_rte_eth_tap.c.o
[1663/2634] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1664/2634] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1665/2634] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1666/2634] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1667/2634] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1668/2634] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1669/2634] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #16:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
632 | eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
2804 | _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
4184 | .dev_close = txgbe_dev_close,
| ^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~
| rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
4218 | .tx_queue_setup = txgbe_dev_tx_queue_setup,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
4219 | .tx_queue_release = txgbe_dev_tx_queue_release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1472/2374] Generating rte_pmd_octeontx2.pmd.c with a custom command
[1473/2374] Compiling C object drivers/librte_pmd_tap.a.p/meson-generated_.._rte_pmd_tap.pmd.c.o
[1474/2374] Generating rte_pmd_txgbe_def with a custom command
[1475/2374] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1476/2374] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1477/2374] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
782 | _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1478/2374] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1479/2374] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1480/2374] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #17:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c:782:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_pf.c:794:2: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
2 errors generated.
[1661/2636] Compiling C object drivers/librte_pmd_tap.a.p/meson-generated_.._rte_pmd_tap.pmd.c.o
[1662/2636] Generating rte_pmd_txgbe_mingw with a custom command
[1663/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: use of undeclared identifier 'RTE_ETH_DEV_CLOSE_REMOVE'; did you mean 'RTE_ETH_DEV_REMOVED'?
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_ETH_DEV_REMOVED
../lib/librte_ethdev/rte_ethdev.h:1635:2: note: 'RTE_ETH_DEV_REMOVED' declared here
RTE_ETH_DEV_REMOVED,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: note: did you mean 'rte_eth_dev_callback_process'?
../lib/librte_ethdev/rte_ethdev_driver.h:844:5: note: 'rte_eth_dev_callback_process' declared here
int rte_eth_dev_callback_process(struct rte_eth_dev *dev,
^
../drivers/net/txgbe/txgbe_ethdev.c:2809:3: error: implicit declaration of function '_rte_eth_dev_callback_process' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_MACSEC,
^
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: incompatible pointer types initializing 'eth_dev_close_t' (aka 'int (*)(struct rte_eth_dev *)') with an expression of type 'void (struct rte_eth_dev *)' [-Werror,-Wincompatible-pointer-types]
.dev_close = txgbe_dev_close,
^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: field designator 'rx_queue_count' does not refer to any field in type 'const struct eth_dev_ops'; did you mean 'rx_queue_start'?
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~
rx_queue_start
../lib/librte_ethdev/rte_ethdev_driver.h:628:29: note: 'rx_queue_start' declared here
eth_queue_start_t rx_queue_start;/**< Start RX for a queue. */
^
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: incompatible pointer types initializing 'eth_queue_start_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'uint32_t (struct rte_eth_dev *, uint16_t)' (aka 'unsigned int (struct rte_eth_dev *, unsigned short)') [-Werror,-Wincompatible-pointer-types]
.rx_queue_count = txgbe_dev_rx_queue_count,
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: field designator 'rx_descriptor_done' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_done = txgbe_dev_rx_descriptor_done,
^
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: field designator 'rx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.rx_descriptor_status = txgbe_dev_rx_descriptor_status,
^
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: field designator 'tx_descriptor_status' does not refer to any field in type 'const struct eth_dev_ops'
.tx_descriptor_status = txgbe_dev_tx_descriptor_status,
^
9 errors generated.
[1664/2636] Compiling C object drivers/librte_pmd_tap.so.21.0.p/meson-generated_.._rte_pmd_tap.pmd.c.o
[1665/2636] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1666/2636] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1667/2636] Generating rte_pmd_softnic.sym_chk with a meson_exe.py custom command
[1668/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1669/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #18:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
632 | eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
2804 | _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
4184 | .dev_close = txgbe_dev_close,
| ^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~
| rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
4218 | .tx_queue_setup = txgbe_dev_tx_queue_setup,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
4219 | .tx_queue_release = txgbe_dev_tx_queue_release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1654/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1655/2636] Compiling C object drivers/librte_pmd_softnic.so.21.0.p/meson-generated_.._rte_pmd_softnic.pmd.c.o
[1656/2636] Compiling C object drivers/librte_pmd_softnic.a.p/meson-generated_.._rte_pmd_softnic.pmd.c.o
[1657/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1658/2636] Compiling C object drivers/libtmp_rte_pmd_tap.a.p/net_tap_rte_eth_tap.c.o
[1659/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
782 | _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1660/2636] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1661/2636] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1662/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #19:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
icc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c(632): error: identifier "RTE_ETH_DEV_CLOSE_REMOVE" is undefined
eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
^
../drivers/net/txgbe/txgbe_ethdev.c(2804): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
^
../drivers/net/txgbe/txgbe_ethdev.c(2809): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_MACSEC,
^
../drivers/net/txgbe/txgbe_ethdev.c(4184): error #144: a value of type "void (*)(struct rte_eth_dev *)" cannot be used to initialize an entity of type "eth_dev_close_t"
.dev_close = txgbe_dev_close,
^
../drivers/net/txgbe/txgbe_ethdev.c(4214): error: struct "eth_dev_ops" has no field "rx_queue_count"
.rx_queue_count = txgbe_dev_rx_queue_count,
^
compilation aborted for ../drivers/net/txgbe/txgbe_ethdev.c (code 2)
[1646/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
icc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c(782): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
../drivers/net/txgbe/txgbe_pf.c(794): error #266: function "_rte_eth_dev_callback_process" declared implicitly
_rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
^
compilation aborted for ../drivers/net/txgbe/txgbe_pf.c (code 2)
[1647/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ptypes.c.o
[1648/2636] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1649/2636] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o
[1650/2636] Linking target drivers/librte_pmd_softnic.so.21.0
[1651/2636] Compiling C object drivers/libtmp_rte_pmd_tap.a.p/net_tap_rte_eth_tap.c.o
[1652/2636] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1653/2636] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1654/2636] Compiling C object drivers/libtmp_rte_pmd_octeontx2.a.p/net_octeontx2_otx2_tx.c.o
ninja: build stopped: subcommand failed
*Build Failed #20:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o -c ../drivers/net/txgbe/txgbe_ethdev.c
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘eth_txgbe_dev_init’:
../drivers/net/txgbe/txgbe_ethdev.c:632:30: error: ‘RTE_ETH_DEV_CLOSE_REMOVE’ undeclared (first use in this function); did you mean ‘RTE_ETH_DEV_REMOVED’?
632 | eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_REMOVED
../drivers/net/txgbe/txgbe_ethdev.c:632:30: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/txgbe/txgbe_ethdev.c: In function ‘txgbe_dev_interrupt_delayed_handler’:
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
2804 | _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_ethdev.c:2804:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
../drivers/net/txgbe/txgbe_ethdev.c: At top level:
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: error: initialization of ‘int (*)(struct rte_eth_dev *)’ from incompatible pointer type ‘void (*)(struct rte_eth_dev *)’ [-Werror=incompatible-pointer-types]
4184 | .dev_close = txgbe_dev_close,
| ^~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4184:32: note: (near initialization for ‘txgbe_eth_dev_ops.dev_close’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_queue_count’; did you mean ‘rx_queue_start’?
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~
| rx_queue_start
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘uint32_t (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘unsigned int (*)(struct rte_eth_dev *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4214 | .rx_queue_count = txgbe_dev_rx_queue_count,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4214:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_enable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_done’
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4215 | .rx_descriptor_done = txgbe_dev_rx_descriptor_done,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: error: initialized field overwritten [-Werror=override-init]
../drivers/net/txgbe/txgbe_ethdev.c:4215:32: note: (near initialization for ‘txgbe_eth_dev_ops.rx_queue_intr_disable’)
../drivers/net/txgbe/txgbe_ethdev.c:4216:3: error: ‘const struct eth_dev_ops’ has no member named ‘rx_descriptor_status’
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: error: initialization of ‘int (*)(struct rte_eth_dev *, uint16_t, uint16_t, unsigned int, const struct rte_eth_txconf *)’ {aka ‘int (*)(struct rte_eth_dev *, short unsigned int, short unsigned int, unsigned int, const struct rte_eth_txconf *)’} from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4216 | .rx_descriptor_status = txgbe_dev_rx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4216:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4217:3: error: ‘const struct eth_dev_ops’ has no member named ‘tx_descriptor_status’
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘int (*)(void *, uint16_t)’ {aka ‘int (*)(void *, short unsigned int)’} [-Werror=incompatible-pointer-types]
4217 | .tx_descriptor_status = txgbe_dev_tx_descriptor_status,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4217:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: error: initialized field overwritten [-Werror=override-init]
4218 | .tx_queue_setup = txgbe_dev_tx_queue_setup,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4218:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_setup’)
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: error: initialized field overwritten [-Werror=override-init]
4219 | .tx_queue_release = txgbe_dev_tx_queue_release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/txgbe/txgbe_ethdev.c:4219:32: note: (near initialization for ‘txgbe_eth_dev_ops.tx_queue_release’)
cc1: all warnings being treated as errors
[1672/2489] Linking static target drivers/librte_pmd_softnic.a
[1673/2489] Generating rte_pmd_vdev_netvsc_def with a custom command
[1674/2489] Compiling C object drivers/libtmp_rte_pmd_tap.a.p/net_tap_rte_eth_tap.c.o
[1675/2489] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_rte_pmd_txgbe.c.o
[1676/2489] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
FAILED: drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o
gcc -Idrivers/libtmp_rte_pmd_txgbe.a.p -Idrivers -I../drivers -Idrivers/net/txgbe -I../drivers/net/txgbe -Idrivers/net/txgbe/base -I../drivers/net/txgbe/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -MF drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o.d -o drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_pf.c.o -c ../drivers/net/txgbe/txgbe_pf.c
../drivers/net/txgbe/txgbe_pf.c: In function ‘txgbe_rcv_msg_from_vf’:
../drivers/net/txgbe/txgbe_pf.c:782:3: error: implicit declaration of function ‘_rte_eth_dev_callback_process’; did you mean ‘rte_eth_dev_callback_process’? [-Werror=implicit-function-declaration]
782 | _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_VF_MBOX,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| rte_eth_dev_callback_process
../drivers/net/txgbe/txgbe_pf.c:782:3: error: nested extern declaration of ‘_rte_eth_dev_callback_process’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1677/2489] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o
[1678/2489] Compiling C object drivers/libtmp_rte_pmd_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1679/2489] Compiling C object drivers/libtmp_rte_pmd_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o
[1680/2489] Compiling C object drivers/libtmp_rte_pmd_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed
DPDK STV team
reply other threads:[~2020-10-05 13:10 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='fecc85$bglsuk@orsmga001.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).