compilation|FAILURE| pw(167144) sid(38855) job(PER_PATCH_BUILD19629)[v2, 22/22] doc: add release note about rte_ethdev changes

sys_stv at intel.com sys_stv at intel.com
Mon Aug 3 19:17:33 CEST 2026


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/167144

_Compilation issues_

Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: 2026-08-03 16:52:08
Reply_mail: <20260803165304.289869-23-stephen at networkplumber.org>

DPDK git baseline: Repo:dpdk, CommitID: c1a46b9d9243e922428e8a5f87fa3c6ac177dc5a


Meson Build Summary: 23 Builds Done, 14 Successful, 9 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail       |              |            |            |           |          |            |
| FreeBSD15-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL96-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE16-64         | fail       | fail         |            |            |           |          |            |
| AzureLinux3.0-64  | pass       |              |            |            |           |          |            |
| UB2604-32         | pass       |              |            |            |           |          |            |
| RHEL10.1-64       | pass       |              |            |            |           |          |            |
| UB2604-64         | fail       | fail         |            |            |           | fail     | fail       |
| RHEL10-64RT       | pass       |              |            |            |           |          |            |
| UB2510-64         | pass       |              |            |            |           |          |            |
| Fedora43-64       | fail       | fail         |            |            |           |          |            |
| OpenEuler2404-64  | pass       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

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.10-64
	Kernel Version: 5.10.134-18.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
	Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
	x86_64-native-linuxapp-gcc

OS: FreeBSD15-64
	Kernel Version: 15.0-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 14.2.0
	Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL96-64
	Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
	GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE16-64
	Kernel Version: 6.12.0-160000.26-default
	GCC Version: gcc (SUSE Linux) 15.2.0
	Clang Version: 19.1.7
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: AzureLinux3.0-64
	Kernel Version: 6.6.47.1-1.azl3
	GCC Version: gcc (GCC) 13.2.0
	Clang Version: 18.1.2
	x86_64-native-linuxapp-gcc

OS: UB2604-32
	Kernel Version: 7.0.0-14-generic
	GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
	Clang Version: 21.1.8 (6ubuntu1)
	i686-native-linuxapp-gcc

OS: RHEL10.1-64
	Kernel Version: 6.12.0-124.8.1.el10_1.x86_64
	GCC Version: gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
	Clang Version: 20.1.8 (Red Hat, Inc. 20.1.8-1.el10)
	x86_64-native-linuxapp-gcc

OS: UB2604-64
	Kernel Version: 7.0.0-14-generic
	GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
	Clang Version: 21.1.8 (6ubuntu1)
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: RHEL10-64RT
	Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
	GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
	x86_64-native-linuxapp-gcc

OS: UB2510-64
	Kernel Version: 6.17.0-5-generic
	GCC Version: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: Fedora43-64
	Kernel Version: 6.17.1-300.fc43.x86_64
	GCC Version: gcc (GCC) 15.2.1 20250924 (Red Hat 15.2.1-2)
	Clang Version: 21.1.8 (Fedora 21.1.8-4.fc43)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: OpenEuler2404-64
	Kernel Version: 6.6.0-132.0.0.111.oe2403sp3.x86_64
	GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-105.oe2403sp3)
	Clang Version: 17.0.6 ( 17.0.6-63.oe2403sp3)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/pcap -I../drivers/net/pcap -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c: In function ‘setup_mbufs’:
../app/test/test_bpf.c:4411:4: error: dereferencing pointer to incomplete type ‘struct rte_udp_hdr’
    *udp = (struct rte_udp_hdr) {
    ^~~~
../app/test/test_bpf.c:4412:6: error: ‘struct rte_udp_hdr’ has no member named ‘src_port’
     .src_port = rte_cpu_to_be_16(9), /* discard */
      ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .src_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .src_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4413:6: error: ‘struct rte_udp_hdr’ has no member named ‘dst_port’
     .dst_port = rte_cpu_to_be_16(9), /* discard */
      ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .dst_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .dst_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4414:6: error: ‘struct rte_udp_hdr’ has no member named ‘dgram_len’
     .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      ^~~~~~~~~
../app/test/test_bpf.c:4345:26: error: excess elements in struct initializer [-Werror]
 #define BPF_TEST_PKT_LEN 64 /* Ether + IP + TCP */
                          ^~
../app/test/test_bpf.c:4414:18: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
     .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
                  ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4345:26: note: (near initialization for ‘(anonymous)’)
 #define BPF_TEST_PKT_LEN 64 /* Ether + IP + TCP */
                          ^~
../app/test/test_bpf.c:4414:18: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
     .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
                  ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4411:32: error: invalid use of undefined type ‘struct rte_udp_hdr’
    *udp = (struct rte_udp_hdr) {
                                ^
../app/test/test_bpf.c:4423:4: error: dereferencing pointer to incomplete type ‘struct rte_tcp_hdr’
    *tcp = (struct rte_tcp_hdr) {
    ^~~~
../app/test/test_bpf.c:4424:6: error: ‘struct rte_tcp_hdr’ has no member named ‘src_port’
     .src_port = rte_cpu_to_be_16(9), /* discard */
      ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .src_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .src_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4425:6: error: ‘struct rte_tcp_hdr’ has no member named ‘dst_port’
     .dst_port = rte_cpu_to_be_16(9), /* discard */
      ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .dst_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?  \
                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
 #define rte_cpu_to_be_16(x) rte_bswap16(x)
                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:17: note: in expansion of macro ‘rte_cpu_to_be_16’
     .dst_port = rte_cpu_to_be_16(9), /* discard */
                 ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:6: error: ‘struct rte_tcp_hdr’ has no member named ‘tcp_flags’
     .tcp_flags = RTE_TCP_RST_FLAG,
      ^~~~~~~~~
../app/test/test_bpf.c:4426:18: error: ‘RTE_TCP_RST_FLAG’ undeclared (first use in this function); did you mean ‘RTE_ETH_RSS_VLAN’?
     .tcp_flags = RTE_TCP_RST_FLAG,
                  ^~~~~~~~~~~~~~~~
                  RTE_ETH_RSS_VLAN
../app/test/test_bpf.c:4426:18: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_bpf.c:4426:18: error: excess elements in struct initializer [-Werror]
../app/test/test_bpf.c:4426:18: note: (near initialization for ‘(anonymous)’)
../app/test/test_bpf.c:4423:32: error: invalid use of undefined type ‘struct rte_tcp_hdr’
    *tcp = (struct rte_tcp_hdr) {
                                ^
cc1: all warnings being treated as errors
[3409/3759] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
[3410/3759] Compiling C object app/dpdk-test.p/test_test_common.c.o
[3411/3759] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
[3412/3759] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3413/3759] Compiling C object app/dpdk-test.p/test_test_crc.c.o
[3414/3759] Compiling C object app/dpdk-test.p/test_test_compressdev.c.o
[3415/3759] Compiling C object app/dpdk-test.p/test_test_cryptodev_blockcipher.c.o
[3416/3759] Compiling C object app/dpdk-test.p/test_test_cryptodev_asym.c.o
[3417/3759] Compiling C object app/dpdk-test.p/test_test_cryptodev.c.o
ninja: build stopped




*Build Failed #2:
OS: SUSE16-64
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c:4411:11: error: variable has incomplete type 'struct rte_udp_hdr'
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                ^~~~~~~~~~~~~~~~~~~~~~
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4415 |                         };
      |                         ~
../app/test/test_bpf.c:4406:11: note: forward declaration of 'struct rte_udp_hdr'
 4406 |                         struct rte_udp_hdr *udp
      |                                ^
../app/test/test_bpf.c:4426:18: error: use of undeclared identifier 'RTE_TCP_RST_FLAG'
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^
2 errors generated.
[3323/3682] Compiling C object app/dpdk-test.p/test_test_bitset.c.o
[3324/3682] Compiling C object app/dpdk-test.p/test_test_cpuflags.c.o
[3325/3682] Compiling C object app/dpdk-test.p/test_test_common.c.o
[3326/3682] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3327/3682] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3328/3682] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3329/3682] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
[3330/3682] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
[3331/3682] Compiling C object app/dpdk-test.p/test_test_compressdev.c.o
ninja: build stopped




*Build Failed #3:
OS: SUSE16-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c: In function ‘setup_mbufs’:
../app/test/test_bpf.c:4412:34: error: ‘struct rte_udp_hdr’ has no member named ‘src_port’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4413:34: error: ‘struct rte_udp_hdr’ has no member named ‘dst_port’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4414:34: error: ‘struct rte_udp_hdr’ has no member named ‘dgram_len’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4345:33: error: excess elements in struct initializer [-Werror]
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4345:33: note: (near initialization for ‘(anonymous)’)
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4411:53: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4411:30: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                              ^
../app/test/test_bpf.c:4424:34: error: ‘struct rte_tcp_hdr’ has no member named ‘src_port’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4425:34: error: ‘struct rte_tcp_hdr’ has no member named ‘dst_port’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:34: error: ‘struct rte_tcp_hdr’ has no member named ‘tcp_flags’
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4426:46: error: ‘RTE_TCP_RST_FLAG’ undeclared (first use in this function)
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:46: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_bpf.c:4426:46: error: excess elements in struct initializer [-Werror]
../app/test/test_bpf.c:4426:46: note: (near initialization for ‘(anonymous)’)
../app/test/test_bpf.c:4423:53: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4423:30: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                              ^
cc1: all warnings being treated as errors
[3317/3682] Compiling C object app/dpdk-test.p/test_test_cmdline_string.c.o
[3318/3682] Compiling C object app/dpdk-test.p/test_test_cmdline_num.c.o
[3319/3682] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
[3320/3682] Compiling C object app/dpdk-test.p/test_test_common.c.o
[3321/3682] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3322/3682] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3323/3682] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
[3324/3682] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3325/3682] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
ninja: build stopped




*Build Failed #4:
OS: UB2604-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/pcap -I../drivers/net/pcap -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c: In function ‘setup_mbufs’:
../app/test/test_bpf.c:4412:34: error: ‘struct rte_udp_hdr’ has no member named ‘src_port’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4413:34: error: ‘struct rte_udp_hdr’ has no member named ‘dst_port’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4414:34: error: ‘struct rte_udp_hdr’ has no member named ‘dgram_len’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4345:33: error: excess elements in struct initializer [-Werror]
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4345:33: note: (near initialization for ‘(anonymous)’)
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4411:53: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4411:30: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                              ^
../app/test/test_bpf.c:4424:34: error: ‘struct rte_tcp_hdr’ has no member named ‘src_port’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4425:34: error: ‘struct rte_tcp_hdr’ has no member named ‘dst_port’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:34: error: ‘struct rte_tcp_hdr’ has no member named ‘tcp_flags’
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4426:46: error: ‘RTE_TCP_RST_FLAG’ undeclared (first use in this function)
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:46: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_bpf.c:4426:46: error: excess elements in struct initializer [-Werror]
../app/test/test_bpf.c:4426:46: note: (near initialization for ‘(anonymous)’)
../app/test/test_bpf.c:4423:53: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4423:30: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                              ^
cc1: all warnings being treated as errors
[3587/3941] Compiling C object app/dpdk-test.p/test_test_bitops.c.o
[3588/3941] Compiling C object app/dpdk-test.p/test_test_cmdline_cirbuf.c.o
[3589/3941] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3590/3941] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3591/3941] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
[3592/3941] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
[3593/3941] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3594/3941] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
[3595/3941] Compiling C object app/dpdk-test.p/test_test_bitset.c.o
ninja: build stopped




*Build Failed #5:
OS: UB2604-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/pcap -I../drivers/net/pcap -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c: In function ‘setup_mbufs’:
../app/test/test_bpf.c:4412:34: error: ‘struct rte_udp_hdr’ has no member named ‘src_port’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4413:34: error: ‘struct rte_udp_hdr’ has no member named ‘dst_port’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4414:34: error: ‘struct rte_udp_hdr’ has no member named ‘dgram_len’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4345:33: error: excess elements in struct initializer [-Werror]
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4345:33: note: (near initialization for ‘(anonymous)’)
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4411:53: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4411:30: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                              ^
../app/test/test_bpf.c:4424:34: error: ‘struct rte_tcp_hdr’ has no member named ‘src_port’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4425:34: error: ‘struct rte_tcp_hdr’ has no member named ‘dst_port’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:34: error: ‘struct rte_tcp_hdr’ has no member named ‘tcp_flags’
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4426:46: error: ‘RTE_TCP_RST_FLAG’ undeclared (first use in this function)
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:46: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_bpf.c:4426:46: error: excess elements in struct initializer [-Werror]
../app/test/test_bpf.c:4426:46: note: (near initialization for ‘(anonymous)’)
../app/test/test_bpf.c:4423:53: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4423:30: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                              ^
cc1: all warnings being treated as errors
[3589/3941] Compiling C object app/dpdk-test.p/test_test_cmdline_lib.c.o
[3590/3941] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
[3591/3941] Compiling C object app/dpdk-test.p/test_test_cmdline_num.c.o
[3592/3941] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3593/3941] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3594/3941] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
[3595/3941] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3596/3941] Compiling C object app/dpdk-test.p/test_test_bitset.c.o
[3597/3941] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
ninja: build stopped




*Build Failed #6:
OS: UB2604-64
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/pcap -I../drivers/net/pcap -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c:4411:11: error: variable has incomplete type 'struct rte_udp_hdr'
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                ^~~~~~~~~~~~~~~~~~~~~~
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4415 |                         };
      |                         ~
../app/test/test_bpf.c:4406:11: note: forward declaration of 'struct rte_udp_hdr'
 4406 |                         struct rte_udp_hdr *udp
      |                                ^
../app/test/test_bpf.c:4426:18: error: use of undeclared identifier 'RTE_TCP_RST_FLAG'
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^~~~~~~~~~~~~~~~
2 errors generated.
[3594/3942] Compiling C object app/dpdk-test.p/test_test_bitops.c.o
[3595/3942] Compiling C object app/dpdk-test.p/test_test_cmdline_lib.c.o
[3596/3942] Compiling C object app/dpdk-test.p/test_test_cmdline_num.c.o
[3597/3942] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3598/3942] Compiling C object app/dpdk-test.p/test_test_bitset.c.o
[3599/3942] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3600/3942] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
[3601/3942] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3602/3942] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
ninja: build stopped




*Build Failed #7:
OS: UB2604-64
Target: x86_64-native-linuxapp-doc
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/pcap -I../drivers/net/pcap -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c: In function ‘setup_mbufs’:
../app/test/test_bpf.c:4412:34: error: ‘struct rte_udp_hdr’ has no member named ‘src_port’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4413:34: error: ‘struct rte_udp_hdr’ has no member named ‘dst_port’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4414:34: error: ‘struct rte_udp_hdr’ has no member named ‘dgram_len’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4345:33: error: excess elements in struct initializer [-Werror]
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4345:33: note: (near initialization for ‘(anonymous)’)
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4411:53: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4411:30: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                              ^
../app/test/test_bpf.c:4424:34: error: ‘struct rte_tcp_hdr’ has no member named ‘src_port’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4425:34: error: ‘struct rte_tcp_hdr’ has no member named ‘dst_port’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:34: error: ‘struct rte_tcp_hdr’ has no member named ‘tcp_flags’
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4426:46: error: ‘RTE_TCP_RST_FLAG’ undeclared (first use in this function)
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:46: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_bpf.c:4426:46: error: excess elements in struct initializer [-Werror]
../app/test/test_bpf.c:4426:46: note: (near initialization for ‘(anonymous)’)
../app/test/test_bpf.c:4423:53: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4423:30: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                              ^
cc1: all warnings being treated as errors
[3570/3750] Compiling C object app/dpdk-test.p/test_test_cmdline_lib.c.o
[3571/3750] Compiling C object app/dpdk-test.p/test_test_cmdline_cirbuf.c.o
[3572/3750] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3573/3750] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3574/3750] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
[3575/3750] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
[3576/3750] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3577/3750] Compiling C object app/dpdk-test.p/test_test_bitset.c.o
[3578/3750] Generating doc/guides/html_guides with a custom command
ninja: build stopped




*Build Failed #8:
OS: Fedora43-64
Target: x86_64-native-linuxapp-gcc
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -DWITH_GZFILEOP -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c: In function ‘setup_mbufs’:
../app/test/test_bpf.c:4412:34: error: ‘struct rte_udp_hdr’ has no member named ‘src_port’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_core.h:22,
                 from ../lib/mbuf/rte_mbuf.h:43,
                 from ../app/test/test_bpf.c:22:
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4412:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4413:34: error: ‘struct rte_udp_hdr’ has no member named ‘dst_port’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4413:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4414:34: error: ‘struct rte_udp_hdr’ has no member named ‘dgram_len’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4345:33: error: excess elements in struct initializer [-Werror]
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4345:33: note: (near initialization for ‘(anonymous)’)
 4345 | #define BPF_TEST_PKT_LEN        64 /* Ether + IP + TCP */
      |                                 ^~
../app/test/test_bpf.c:4414:46: note: in expansion of macro ‘BPF_TEST_PKT_LEN’
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4411:53: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4411:30: error: invalid use of undefined type ‘struct rte_udp_hdr’
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                              ^
../app/test/test_bpf.c:4424:34: error: ‘struct rte_tcp_hdr’ has no member named ‘src_port’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4424:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4424 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4425:34: error: ‘struct rte_tcp_hdr’ has no member named ‘dst_port’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                  ^~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: error: excess elements in struct initializer [-Werror]
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../lib/eal/x86/include/rte_byteorder.h:51:24: note: (near initialization for ‘(anonymous)’)
   51 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ?            \
      |                        ^
../lib/eal/x86/include/rte_byteorder.h:79:29: note: in expansion of macro ‘rte_bswap16’
   79 | #define rte_cpu_to_be_16(x) rte_bswap16(x)
      |                             ^~~~~~~~~~~
../app/test/test_bpf.c:4425:45: note: in expansion of macro ‘rte_cpu_to_be_16’
 4425 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                             ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:34: error: ‘struct rte_tcp_hdr’ has no member named ‘tcp_flags’
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                  ^~~~~~~~~
../app/test/test_bpf.c:4426:46: error: ‘RTE_TCP_RST_FLAG’ undeclared (first use in this function)
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^~~~~~~~~~~~~~~~
../app/test/test_bpf.c:4426:46: note: each undeclared identifier is reported only once for each function it appears in
../app/test/test_bpf.c:4426:46: error: excess elements in struct initializer [-Werror]
../app/test/test_bpf.c:4426:46: note: (near initialization for ‘(anonymous)’)
../app/test/test_bpf.c:4423:53: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                                                     ^
../app/test/test_bpf.c:4423:30: error: invalid use of undefined type ‘struct rte_tcp_hdr’
 4423 |                         *tcp = (struct rte_tcp_hdr) {
      |                              ^
cc1: all warnings being treated as errors
[3316/3681] Linking target app/dpdk-test-security-perf
[3317/3681] Compiling C object app/dpdk-test.p/test_test_bitops.c.o
[3318/3681] Compiling C object app/dpdk-test.p/test_test_cmdline_cirbuf.c.o
[3319/3681] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3320/3681] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3321/3681] Compiling C object app/dpdk-test.p/test_test_bitset.c.o
[3322/3681] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
[3323/3681] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3324/3681] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
ninja: build stopped




*Build Failed #9:
OS: Fedora43-64
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-test.p/test_test_bpf.c.o 
clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -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 -Ilib/acl -I../lib/acl -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Idrivers/net/af_packet -I../drivers/net/af_packet -Idrivers/net/tap -I../drivers/net/tap -Ilib/gso -I../lib/gso -Ilib/pmu -I../lib/pmu -Ilib/power -I../lib/power -Idrivers/power/acpi -I../drivers/power/acpi -Idrivers/power/kvm_vm -I../drivers/power/kvm_vm -Idrivers/power/intel_pstate -I../drivers/power/intel_pstate -Idrivers/power/amd_pstate -I../drivers/power/amd_pstate -Idrivers/power/cppc -I../drivers/power/cppc -Idrivers/power/intel_uncore -I../drivers/power/intel_uncore -Ilib/ptr_compress -I../lib/ptr_compress -Ilib/rawdev -I../lib/rawdev -Idrivers/raw/skeleton -I../drivers/raw/skeleton -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Iapp/test/bpf -Iapp/test/test_cfgfiles -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -DWITH_GZFILEOP -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-vla -Wno-shadow -fno-strict-aliasing -DALLOW_INTERNAL_API -DTEST_BPF_ELF_LOAD -MD -MQ app/dpdk-test.p/test_test_bpf.c.o -MF app/dpdk-test.p/test_test_bpf.c.o.d -o app/dpdk-test.p/test_test_bpf.c.o -c ../app/test/test_bpf.c
../app/test/test_bpf.c:4411:11: error: variable has incomplete type 'struct rte_udp_hdr'
 4411 |                         *udp = (struct rte_udp_hdr) {
      |                                ^~~~~~~~~~~~~~~~~~~~~~
 4412 |                                 .src_port = rte_cpu_to_be_16(9),        /* discard */
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4413 |                                 .dst_port = rte_cpu_to_be_16(9),        /* discard */
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4414 |                                 .dgram_len = BPF_TEST_PKT_LEN - sizeof(eh) - sizeof(iph),
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4415 |                         };
      |                         ~
../app/test/test_bpf.c:4406:11: note: forward declaration of 'struct rte_udp_hdr'
 4406 |                         struct rte_udp_hdr *udp
      |                                ^
../app/test/test_bpf.c:4426:18: error: use of undeclared identifier 'RTE_TCP_RST_FLAG'
 4426 |                                 .tcp_flags = RTE_TCP_RST_FLAG,
      |                                              ^~~~~~~~~~~~~~~~
2 errors generated.
[3318/3681] Compiling C object app/dpdk-test.p/test_test_cmdline_portlist.c.o
[3319/3681] Compiling C object app/dpdk-test.p/test_test_cmdline_num.c.o
[3320/3681] Compiling C object app/dpdk-test.p/test_test_bitset.c.o
[3321/3681] Compiling C object app/dpdk-test.p/test_test_cmdline_string.c.o
[3322/3681] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o
[3323/3681] Compiling C object app/dpdk-test.p/test_test_cksum.c.o
[3324/3681] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o
[3325/3681] Compiling C object app/dpdk-test.p/test_test_bpf_validate.c.o
[3326/3681] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list