From: sys_stv@intel.com
To: test-report@dpdk.org, stefan.laesser@omicronenergy.com
Subject: compilation|FAILURE| pw(144335) sid(33087) job(PER_PATCH_BUILD13220)[v2] net/af_packet: add timestamp offloading support
Date: 20 Sep 2024 00:02:57 -0700 [thread overview]
Message-ID: <bb5594$2p566k@fmviesa002-auth.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 110614 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/144335
_Compilation issues_
Submitter: Stefan Laesser <stefan.laesser@omicronenergy.com>
Date: 2024-09-20 06:44:08
Reply_mail: <20240920064408.64651-1-stefan.laesser@omicronenergy.com>
DPDK git baseline: Repo:dpdk-next-net, CommitID: e4299cf61002cfd1bbad806c73cf6fa6ded9bc1c
Meson Build Summary: 23 Builds Done, 4 Successful, 19 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | fail | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | fail | fail | | fail | fail | | |
| SUSE15-64 | fail | fail | | | | | |
| CBL-Mariner2.0-64 | fail | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL93-64 | fail | | | | | | |
| UB2404-64 | fail | fail | | | | fail | fail |
| RHEL94-64Rt | fail | | | | | | |
| UB2204-64 | fail | | | | | | |
| FC40-64 | fail | fail | | | | | |
| UB2404-64Rt | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL93-64
Kernel Version: 5.14.0-362.8.1.el9_3.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL94-64Rt
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-94-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
OS: FC40-64
Kernel Version: 6.8.5-301.fc40.x86_64
GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)
Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.8-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
*RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: note: each undeclared identifier is reported only once for each function it appears in
*RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:22: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function); did you mean ‘timestamp_dynflag’?
mbuf->ol_flags |= af_packet_timestamp_dynflag;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
timestamp_dynflag
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:48: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:6: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function); did you mean ‘timestamp_dynflag’?
&af_packet_timestamp_dynflag);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
timestamp_dynflag
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
static int timestamp_dynfield_offset = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
static uint64_t timestamp_dynflag;
^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1029/2985] Compiling C object drivers/librte_dma_ioat.so.25.0.p/meson-generated_.._rte_dma_ioat.pmd.c.o
[1030/2985] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1031/2985] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1032/2985] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1033/2985] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1034/2985] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1035/2985] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1036/2985] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1037/2985] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #2:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1054/3039] Linking static target drivers/librte_dma_odm.a
[1055/3039] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1056/3039] Generating drivers/rte_dma_dpaa2.sym_chk with a custom command (wrapped by meson to capture output)
[1057/3039] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1058/3039] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1059/3039] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1060/3039] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1061/3039] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1062/3039] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #3:
OS: RHEL94-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
clang -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'; did you mean 'timestamp_dynfield_offset'?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: expanded from macro 'RTE_MBUF_DYNFIELD'
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: note: 'timestamp_dynfield_offset' declared here
44 | static int timestamp_dynfield_offset = -1;
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:172:22: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:337:48: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:338:6: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
338 | &af_packet_timestamp_dynflag);
| ^
4 errors generated.
[1039/3000] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1040/3000] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1041/3000] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1042/3000] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1043/3000] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1044/3000] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1045/3000] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1046/3000] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1047/3000] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #4:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1062/2889] Generating drivers/rte_dma_dpaa2.pmd.c with a custom command
[1063/2889] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1064/2889] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1065/2889] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1066/2889] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1067/2889] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1068/2889] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1069/2889] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1070/2889] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #5:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1040/3035] Compiling C object drivers/librte_dma_odm.so.25.0.p/meson-generated_.._rte_dma_odm.pmd.c.o
[1041/3035] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1042/3035] Compiling C object drivers/libtmp_rte_net_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1043/3035] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1044/3035] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1045/3035] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1046/3035] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1047/3035] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1048/3035] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #6:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
clang -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'; did you mean 'timestamp_dynfield_offset'?
*RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timestamp_dynfield_offset
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: expanded from macro 'RTE_MBUF_DYNFIELD'
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: note: 'timestamp_dynfield_offset' declared here
static int timestamp_dynfield_offset = -1;
^
../drivers/net/af_packet/rte_eth_af_packet.c:172:22: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
mbuf->ol_flags |= af_packet_timestamp_dynflag;
^
../drivers/net/af_packet/rte_eth_af_packet.c:337:48: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'
int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
^
../drivers/net/af_packet/rte_eth_af_packet.c:338:6: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
&af_packet_timestamp_dynflag);
^
4 errors generated.
[1021/3006] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1022/3006] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1023/3006] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1024/3006] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1025/3006] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1026/3006] Generating drivers/rte_dma_dpaa2.sym_chk with a custom command (wrapped by meson to capture output)
[1027/3006] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1028/3006] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1029/3006] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #7:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34:0,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
*RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: note: each undeclared identifier is reported only once for each function it appears in
*RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
^
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:22: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function); did you mean ‘af_packet_timestamp_dynfield_offset’?
mbuf->ol_flags |= af_packet_timestamp_dynflag;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
af_packet_timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:48: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:6: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function); did you mean ‘af_packet_timestamp_dynfield_offset’?
&af_packet_timestamp_dynflag);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
af_packet_timestamp_dynfield_offset
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
static int timestamp_dynfield_offset = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
static uint64_t timestamp_dynflag;
^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1007/3004] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[1008/3004] Generating drivers/rte_dma_cnxk.pmd.c with a custom command
[1009/3004] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1010/3004] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1011/3004] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1012/3004] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1013/3004] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1014/3004] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1015/3004] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #8:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1025/2986] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1026/2986] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1027/2986] Linking static target drivers/libtmp_rte_dma_dpaa2.a
[1028/2986] Linking target drivers/librte_dma_ioat.so.25.0
[1029/2986] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1030/2986] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1031/2986] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1032/2986] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1033/2986] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #9:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[779/2281] Generating drivers/rte_dma_ioat.pmd.c with a custom command
[780/2281] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[781/2281] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o
[782/2281] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[783/2281] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[784/2281] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[785/2281] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[786/2281] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[787/2281] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped
*Build Failed #10:
OS: RHEL93-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1034/3055] Compiling C object drivers/librte_dma_ioat.so.25.0.p/meson-generated_.._rte_dma_ioat.pmd.c.o
[1035/3055] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1036/3055] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1037/3055] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1038/3055] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1039/3055] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1040/3055] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1041/3055] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1042/3055] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #11:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1061/3194] Linking static target drivers/libtmp_rte_dma_dpaa2.a
[1062/3194] Compiling C object drivers/librte_dma_odm.so.25.0.p/meson-generated_.._rte_dma_odm.pmd.c.o
[1063/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1064/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1065/3194] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1066/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1067/3194] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1068/3194] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1069/3194] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #12:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1054/3190] Linking target drivers/librte_dma_odm.so.25.0
[1055/3190] Compiling C object drivers/libtmp_rte_dma_cnxk.a.p/dma_cnxk_cnxk_dmadev_fp.c.o
[1056/3190] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1057/3190] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1058/3190] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1059/3190] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1060/3190] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1061/3190] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1062/3190] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #13:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
clang -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'; did you mean 'timestamp_dynfield_offset'?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: expanded from macro 'RTE_MBUF_DYNFIELD'
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: note: 'timestamp_dynfield_offset' declared here
44 | static int timestamp_dynfield_offset = -1;
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:172:22: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:337:48: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:338:6: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
338 | &af_packet_timestamp_dynflag);
| ^
4 errors generated.
[1063/3190] Compiling C object drivers/librte_dma_odm.a.p/meson-generated_.._rte_dma_odm.pmd.c.o
[1064/3190] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1065/3190] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1066/3190] Generating drivers/rte_dma_dpaa2.sym_chk with a custom command (wrapped by meson to capture output)
[1067/3190] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1068/3190] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1069/3190] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1070/3190] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1071/3190] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #14:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1056/3017] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1057/3017] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1058/3017] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1059/3017] Generating drivers/rte_dma_cnxk.pmd.c with a custom command
[1060/3017] Generating symbol file drivers/librte_mempool_cnxk.so.25.0.p/librte_mempool_cnxk.so.25.0.symbols
[1061/3017] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1062/3017] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1063/3017] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1064/3017] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #15:
OS: RHEL94-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1045/3039] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1046/3039] Linking target drivers/librte_dma_ioat.so.25.0
[1047/3039] Compiling C object drivers/librte_dma_idxd.so.25.0.p/meson-generated_.._rte_dma_idxd.pmd.c.o
[1048/3039] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1049/3039] Generating drivers/rte_dma_dpaa2.sym_chk with a custom command (wrapped by meson to capture output)
[1050/3039] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1051/3039] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1052/3039] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1053/3039] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #16:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1044/3036] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1045/3036] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1046/3036] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1047/3036] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1048/3036] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1049/3036] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1050/3036] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1051/3036] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1052/3036] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #17:
OS: FC40-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1065/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1066/3194] Generating drivers/rte_dma_cnxk.pmd.c with a custom command
[1067/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1068/3194] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[1069/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_mpu.c.o
[1070/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1071/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[1072/3194] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1073/3194] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #18:
OS: FC40-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
clang -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
../drivers/net/af_packet/rte_eth_af_packet.c:168:29: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'; did you mean 'timestamp_dynfield_offset'?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: expanded from macro 'RTE_MBUF_DYNFIELD'
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: note: 'timestamp_dynfield_offset' declared here
44 | static int timestamp_dynfield_offset = -1;
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:172:22: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:337:48: error: use of undeclared identifier 'af_packet_timestamp_dynfield_offset'
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^
../drivers/net/af_packet/rte_eth_af_packet.c:338:6: error: use of undeclared identifier 'af_packet_timestamp_dynflag'
338 | &af_packet_timestamp_dynflag);
| ^
4 errors generated.
[1072/3194] Generating symbol file drivers/librte_mempool_cnxk.so.25.0.p/librte_mempool_cnxk.so.25.0.symbols
[1073/3194] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1074/3194] Generating drivers/rte_dma_dpaa2.sym_chk with a custom command (wrapped by meson to capture output)
[1075/3194] Generating symbol file drivers/librte_dma_cnxk.so.25.0.p/librte_dma_cnxk.so.25.0.symbols
[1076/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1077/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1078/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1079/3194] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1080/3194] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #19:
OS: UB2404-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
gcc -Idrivers/libtmp_rte_net_af_packet.a.p -Idrivers -I../drivers -Idrivers/net/af_packet -I../drivers/net/af_packet -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_packet -MD -MQ drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -MF drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o.d -o drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o -c ../drivers/net/af_packet/rte_eth_af_packet.c
In file included from ../lib/ethdev/rte_flow.h:34,
from ../lib/ethdev/rte_eth_ctrl.h:11,
from ../lib/ethdev/rte_ethdev.h:1459,
from ../lib/ethdev/ethdev_driver.h:25,
from ../drivers/net/af_packet/rte_eth_af_packet.c:12:
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_af_packet_rx’:
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:168:50: note: each undeclared identifier is reported only once for each function it appears in
168 | *RTE_MBUF_DYNFIELD(mbuf, af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mbuf/rte_mbuf_dyn.h:227:70: note: in definition of macro ‘RTE_MBUF_DYNFIELD’
227 | #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
| ^~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:172:43: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
172 | mbuf->ol_flags |= af_packet_timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: In function ‘eth_dev_start’:
../drivers/net/af_packet/rte_eth_af_packet.c:337:62: error: ‘af_packet_timestamp_dynfield_offset’ undeclared (first use in this function); did you mean ‘timestamp_dynfield_offset’?
337 | int rc = rte_mbuf_dyn_rx_timestamp_register(&af_packet_timestamp_dynfield_offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| timestamp_dynfield_offset
../drivers/net/af_packet/rte_eth_af_packet.c:338:34: error: ‘af_packet_timestamp_dynflag’ undeclared (first use in this function)
338 | &af_packet_timestamp_dynflag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c: At top level:
../drivers/net/af_packet/rte_eth_af_packet.c:44:12: error: ‘timestamp_dynfield_offset’ defined but not used [-Werror=unused-variable]
44 | static int timestamp_dynfield_offset = -1;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/af_packet/rte_eth_af_packet.c:43:17: error: ‘timestamp_dynflag’ defined but not used [-Werror=unused-variable]
43 | static uint64_t timestamp_dynflag;
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1065/3194] Generating drivers/rte_dma_odm.pmd.c with a custom command
[1066/3194] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1067/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[1068/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[1069/3194] Generating drivers/rte_dma_dpaa2.sym_chk with a custom command (wrapped by meson to capture output)
[1070/3194] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[1071/3194] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[1072/3194] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1073/3194] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
DPDK STV team
reply other threads:[~2024-09-20 7:03 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='bb5594$2p566k@fmviesa002-auth.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=stefan.laesser@omicronenergy.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).