Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/97958 _Compilation issues_ Submitter: Stephen Hemminger Date: 2021-09-03 22:06:09 Reply_mail: 20210903220609.41899-6-stephen@networkplumber.org DPDK git baseline: Repo:dpdk, CommitID: b344eb5d941a7522ff27b6b7b5419f68c3fea9a0 Meson Build Summary: 22 Builds Done, 13 Successful, 9 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | fail | | | pass | | RHEL83-64 | pass | pass | fail | fail | fail | | | FC34-64 | pass | pass | | | | | | UB2104-64 | pass | | | | | | | WIN10-64 | | fail | | | | | | UB2004-32 | pass | | | | | | | CENTOS83-64 | pass | pass | | | | | | FreeBSD1201-64 | fail | fail | | fail | fail | | | SUSE15-64 | pass | pass | | | | | +----------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: RHEL83-64 Kernel Version: 4.18.0-305.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc FAILED: app/dpdk-dumpcap.p/dumpcap_main.c.o gcc -Iapp/dpdk-dumpcap.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/pdump -I../lib/pdump -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-dumpcap.p/dumpcap_main.c.o -MF app/dpdk-dumpcap.p/dumpcap_main.c.o.d -o app/dpdk-dumpcap.p/dumpcap_main.c.o -c ../app/dumpcap/main.c ../app/dumpcap/main.c: In function 'elapsed': ../app/dumpcap/main.c:412:16: error: 'CLOCK_MONOTONIC_COARSE' undeclared (first use in this function); did you mean 'CLOCK_MONOTONIC_FAST'? 412 | clock_gettime(CLOCK_MONOTONIC_COARSE, &now); | ^~~~~~~~~~~~~~~~~~~~~~ | CLOCK_MONOTONIC_FAST ../app/dumpcap/main.c:412:16: note: each undeclared identifier is reported only once for each function it appears in ../app/dumpcap/main.c: In function 'main': ../app/dumpcap/main.c:763:13: error: implicit declaration of function 'basename' [-Werror=implicit-function-declaration] 763 | progname = basename(argv[0]); | ^~~~~~~~ ../app/dumpcap/main.c:763:13: error: nested extern declaration of 'basename' [-Werror=nested-externs] ../app/dumpcap/main.c:763:11: error: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 763 | progname = basename(argv[0]); | ^ cc1: all warnings being treated as errors [1732/2141] Generating rte_baseband_fpga_lte_fec.sym_chk with a meson_exe.py custom command [1733/2141] Linking target drivers/librte_baseband_fpga_5gnr_fec.so.22.0 [1734/2141] Compiling C object drivers/libtmp_rte_baseband_acc100.a.p/baseband_acc100_rte_acc100_pmd.c.o [1735/2141] Compiling C object app/dpdk-pdump.p/pdump_main.c.o [1736/2141] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang FAILED: app/dpdk-dumpcap.p/dumpcap_main.c.o clang -Iapp/dpdk-dumpcap.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/pdump -I../lib/pdump -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-dumpcap.p/dumpcap_main.c.o -MF app/dpdk-dumpcap.p/dumpcap_main.c.o.d -o app/dpdk-dumpcap.p/dumpcap_main.c.o -c ../app/dumpcap/main.c ../app/dumpcap/main.c:412:16: error: use of undeclared identifier 'CLOCK_MONOTONIC_COARSE' clock_gettime(CLOCK_MONOTONIC_COARSE, &now); ^ ../app/dumpcap/main.c:763:13: error: implicit declaration of function 'basename' is invalid in C99 [-Werror,-Wimplicit-function-declaration] progname = basename(argv[0]); ^ ../app/dumpcap/main.c:763:13: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] ../app/dumpcap/main.c:763:11: error: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Werror,-Wint-conversion] progname = basename(argv[0]); ^ ~~~~~~~~~~~~~~~~~ 4 errors generated. [1673/2107] Linking static target drivers/libtmp_rte_baseband_fpga_lte_fec.a [1674/2107] Generating rte_event_sw.sym_chk with a meson_exe.py custom command [1675/2107] Generating rte_crypto_octeontx.sym_chk with a meson_exe.py custom command [1676/2107] Generating rte_baseband_fpga_5gnr_fec.pmd.c with a custom command [1677/2107] Generating rte_event_octeontx.sym_chk with a meson_exe.py custom command [1678/2107] Compiling C object app/dpdk-pdump.p/pdump_main.c.o [1679/2107] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o [1680/2107] Compiling C object drivers/libtmp_rte_baseband_acc100.a.p/baseband_acc100_rte_acc100_pmd.c.o [1681/2107] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: app/dpdk-dumpcap.p/dumpcap_main.c.o gcc -Iapp/dpdk-dumpcap.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/pdump -I../lib/pdump -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-dumpcap.p/dumpcap_main.c.o -MF app/dpdk-dumpcap.p/dumpcap_main.c.o.d -o app/dpdk-dumpcap.p/dumpcap_main.c.o -c ../app/dumpcap/main.c ../app/dumpcap/main.c: In function 'elapsed': ../app/dumpcap/main.c:412:16: error: 'CLOCK_MONOTONIC_COARSE' undeclared (first use in this function); did you mean 'CLOCK_MONOTONIC_FAST'? 412 | clock_gettime(CLOCK_MONOTONIC_COARSE, &now); | ^~~~~~~~~~~~~~~~~~~~~~ | CLOCK_MONOTONIC_FAST ../app/dumpcap/main.c:412:16: note: each undeclared identifier is reported only once for each function it appears in ../app/dumpcap/main.c: In function 'main': ../app/dumpcap/main.c:763:13: error: implicit declaration of function 'basename' [-Werror=implicit-function-declaration] 763 | progname = basename(argv[0]); | ^~~~~~~~ ../app/dumpcap/main.c:763:13: error: nested extern declaration of 'basename' [-Werror=nested-externs] ../app/dumpcap/main.c:763:11: error: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 763 | progname = basename(argv[0]); | ^ cc1: all warnings being treated as errors [1721/2021] Generating rte_baseband_fpga_5gnr_fec.pmd.c with a custom command [1722/2021] Generating rte_event_octeontx.pmd.c with a custom command [1723/2021] Generating rte_event_sw.sym_chk with a meson_exe.py custom command [1724/2021] Compiling C object drivers/libtmp_rte_baseband_fpga_lte_fec.a.p/baseband_fpga_lte_fec_fpga_lte_fec.c.o [1725/2021] Compiling C object drivers/libtmp_rte_baseband_null.a.p/baseband_null_bbdev_null.c.o [1726/2021] Compiling C object app/dpdk-pdump.p/pdump_main.c.o [1727/2021] Compiling C object drivers/libtmp_rte_baseband_turbo_sw.a.p/baseband_turbo_sw_bbdev_turbo_software.c.o [1728/2021] Compiling C object drivers/libtmp_rte_baseband_acc100.a.p/baseband_acc100_rte_acc100_pmd.c.o [1729/2021] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o gcc -Ilib/librte_pcapng.a.p -Ilib -I../lib -Ilib/pcapng -I../lib/pcapng -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.pcapng -MD -MQ lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o -MF lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o.d -o lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o -c ../lib/pcapng/rte_pcapng.c In file included from ../lib/pcapng/rte_pcapng.c:19: ../lib/pcapng/rte_pcapng.c: In function 'rte_pcapng_copy': ../lib/pcapng/rte_pcapng.c:408:43: error: returning 'int' from a function with return type 'struct rte_mbuf *' makes pointer from integer without a cast [-Werror=int-conversion] 408 | RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -EINVAL); | ^ ../lib/ethdev/rte_ethdev.h:1736:10: note: in definition of macro 'RTE_ETH_VALID_PORTID_OR_ERR_RET' 1736 | return retval; \ | ^~~~~~ cc1: all warnings being treated as errors [329/2141] Generating rawdev.sym_chk with a meson_exe.py custom command [330/2141] Generating reorder.sym_chk with a meson_exe.py custom command [331/2141] Generating regexdev.sym_chk with a meson_exe.py custom command [332/2141] Generating stack.sym_chk with a meson_exe.py custom command [333/2141] Compiling C object lib/librte_security.a.p/security_rte_security.c.o [334/2141] Generating rib.sym_chk with a meson_exe.py custom command [335/2141] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o [336/2141] Generating eal.sym_chk with a meson_exe.py custom command [337/2141] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o ninja: build stopped *Build Failed #5: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_pdump.a.p/pdump_rte_pdump.c.o icc -Ilib/librte_pdump.a.p -Ilib -I../lib -Ilib/pdump -I../lib/pdump -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.pdump -MD -MQ lib/librte_pdump.a.p/pdump_rte_pdump.c.o -MF lib/librte_pdump.a.p/pdump_rte_pdump.c.o.d -o lib/librte_pdump.a.p/pdump_rte_pdump.c.o -c ../lib/pdump/rte_pdump.c ../lib/pdump/rte_pdump.c(732): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_rx_queues, pdump_stats->rx, stats); ^ ../lib/pdump/rte_pdump.c(733): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_tx_queues, pdump_stats->tx, stats); ^ compilation aborted for ../lib/pdump/rte_pdump.c (code 2) [467/3019] Compiling C object lib/librte_port.a.p/port_rte_port_source_sink.c.o [468/3019] Compiling C object lib/librte_table.a.p/table_rte_swx_table_em.c.o [469/3019] Compiling C object lib/librte_port.a.p/port_rte_swx_port_fd.c.o [470/3019] Generating ethdev.sym_chk with a meson_exe.py custom command [471/3019] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o [472/3019] Compiling C object lib/librte_port.a.p/port_rte_port_eventdev.c.o [473/3019] Compiling C object lib/librte_port.a.p/port_rte_port_sym_crypto.c.o [474/3019] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_atl_rxtx.c.o [475/3019] Compiling C object lib/librte_port.a.p/port_rte_port_ring.c.o [476/3019] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [477/3019] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o ninja: build stopped *Build Failed #6: OS: WIN10-64 Target: x86_64-windows-clang Compiler for C supports arguments -mavx: YES Run-time dependency jansson found: NO (tried pkgconfig) lib\meson.build:163:12: ERROR: Problem encountered: Missing internal dependency "bpf" for pdump [lib/pdump] A full log can be found at C:\windows-dpdk\dpdk\build\meson-logs\meson-log.txt ninja: Entering directory `build' *Build Failed #7: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: app/dpdk-dumpcap gcc -o app/dpdk-dumpcap 'app/a172ced@@dpdk-dumpcap@exe/dumpcap_main.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--no-as-needed -pthread -Wl,--start-group -lm -ldl -lnuma lib/librte_ethdev.so.22.0 lib/librte_eal.so.22.0 lib/librte_kvargs.so.22.0 lib/librte_telemetry.so.22.0 lib/librte_net.so.22.0 lib/librte_mbuf.so.22.0 lib/librte_mempool.so.22.0 lib/librte_ring.so.22.0 lib/librte_meter.so.22.0 lib/librte_pdump.so.22.0 lib/librte_bpf.so.22.0 lib/librte_pcapng.so.22.0 /usr/lib64/libelf.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../lib:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' -Wl,-rpath-link,/root/RHEL83-64_K4.18.0_GCC8.3.1/x86_64-native-linuxapp-gcc+shared/18672/dpdk/x86_64-native-linuxapp-gcc+shared/lib app/a172ced@@dpdk-dumpcap@exe/dumpcap_main.c.o: In function `create_output': main.c:(.text+0x182): undefined reference to `pcap_open_dead_with_tstamp_precision' main.c:(.text+0x1a5): undefined reference to `pcap_dump_fopen' main.c:(.text+0x1b2): undefined reference to `pcap_geterr' app/a172ced@@dpdk-dumpcap@exe/dumpcap_main.c.o: In function `main': main.c:(.text.startup+0xa11): undefined reference to `pcap_dump' main.c:(.text.startup+0xcc3): undefined reference to `pcap_dump_close' main.c:(.text.startup+0x10fd): undefined reference to `pcap_open_dead' main.c:(.text.startup+0x111f): undefined reference to `pcap_compile' main.c:(.text.startup+0x112b): undefined reference to `pcap_geterr' collect2: error: ld returned 1 exit status [2371/2662] Linking target drivers/librte_baseband_fpga_5gnr_fec.so.22.0. [2372/2662] Compiling C object 'drivers/a715181@@tmp_rte_baseband_null@sta/baseband_null_bbdev_null.c.o'. [2373/2662] Generating rte_baseband_fpga_lte_fec.pmd.c with a custom command. [2374/2662] Generating rte_event_octeontx.pmd.c with a custom command. [2375/2662] Compiling C object 'app/a172ced@@dpdk-pdump@exe/pdump_main.c.o'. [2376/2662] Compiling C object 'app/a172ced@@dpdk-proc-info@exe/proc-info_main.c.o'. [2377/2662] Compiling C object 'drivers/a715181@@tmp_rte_baseband_turbo_sw@sta/baseband_turbo_sw_bbdev_turbo_software.c.o'. [2378/2662] Compiling C object 'drivers/a715181@@tmp_rte_baseband_acc100@sta/baseband_acc100_rte_acc100_pmd.c.o'. [2379/2662] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq_seg.c.o'. [2380/2662] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker.c.o'. [2381/2662] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker_dual.c.o'. ninja: build stopped *Build Failed #8: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o gcc -Ilib/76b5a35@@rte_pcapng@sta -Ilib -I../lib -Ilib/pcapng -I../lib/pcapng -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.pcapng -MD -MQ 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o' -MF 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o.d' -o 'lib/76b5a35@@rte_pcapng@sta/pcapng_rte_pcapng.c.o' -c ../lib/pcapng/rte_pcapng.c In file included from ../lib/pcapng/rte_pcapng.c:19: ../lib/pcapng/rte_pcapng.c: In function ‘rte_pcapng_copy’: ../lib/pcapng/rte_pcapng.c:408:43: error: returning ‘int’ from a function with return type ‘struct rte_mbuf *’ makes pointer from integer without a cast [-Werror=int-conversion] RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -EINVAL); ^ ../lib/ethdev/rte_ethdev.h:1736:10: note: in definition of macro ‘RTE_ETH_VALID_PORTID_OR_ERR_RET’ return retval; \ ^~~~~~ cc1: all warnings being treated as errors [344/2830] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_cppc_cpufreq.c.o'. [345/2830] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'. [346/2830] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_empty_poll.c.o'. [347/2830] Compiling C object 'lib/76b5a35@@rte_power@sta/power_guest_channel.c.o'. [348/2830] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_pmd_mgmt.c.o'. ninja: build stopped *Build Failed #9: OS: RHEL83-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_pdump.a.p/pdump_rte_pdump.c.o icc -Ilib/librte_pdump.a.p -Ilib -I../lib -Ilib/pdump -I../lib/pdump -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.pdump -MD -MQ lib/librte_pdump.a.p/pdump_rte_pdump.c.o -MF lib/librte_pdump.a.p/pdump_rte_pdump.c.o.d -o lib/librte_pdump.a.p/pdump_rte_pdump.c.o -c ../lib/pdump/rte_pdump.c ../lib/pdump/rte_pdump.c(732): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_rx_queues, pdump_stats->rx, stats); ^ ../lib/pdump/rte_pdump.c(733): error #167: argument of type "struct rte_pdump_stats (*)[1024]" is incompatible with parameter of type "const struct rte_pdump_stats (*)[1024]" pdump_sum_stats(port, dev_info.nb_tx_queues, pdump_stats->tx, stats); ^ compilation aborted for ../lib/pdump/rte_pdump.c (code 2) [492/3082] Linking static target drivers/librte_net_af_packet.a [493/3082] Linking target lib/librte_fib.so.22.0 [494/3082] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlantic_atl_ethdev.c.o [495/3082] Compiling C object lib/librte_port.a.p/port_rte_swx_port_source_sink.c.o [496/3082] Compiling C object lib/librte_port.a.p/port_rte_port_eventdev.c.o [497/3082] Compiling C object lib/librte_port.a.p/port_rte_port_kni.c.o [498/3082] Compiling C object lib/librte_port.a.p/port_rte_port_ring.c.o [499/3082] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [500/3082] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o ninja: build stopped DPDK STV team