Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/69107 _Compilation issues_ Submitter: Ibtisam Tariq Date: 2020-04-22 12:57:45 Reply_mail: 20200422125745.19744-3-ibtisam.tariq@emumba.com DPDK git baseline: Repo:dpdk, CommitID: fed5ee5f18155429107a7218e24539c3d74670e7 Makefile build Summary: 22 Builds Done, 22 Successful, 0 Failures Meson build Summary: 8 Builds Done, 6 Successful, 2 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +----------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +----------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL80-64 | pass | | | | | | | | UB1804-64 | pass | pass | pass | | | pass | pass | | FC32-64 | | pass | | | | | | | UB1604-32 | | | | | | pass | | | CENTOS77-64 | pass | | | | | | | | UB1604-64 | pass | | | | | | | | CENTOS80-64 | pass | pass | pass | pass | pass | FAIL | | | UB1804-32 | pass | | | | | | | | UB1910-64 | pass | | | | | | | | FC31-64 | pass | | | | | pass | | | WIN10-64 | | | | | | pass | | | FreeBSD1201-64 | pass | pass | | pass | pass | FAIL | | | RHEL77-64 | pass | | | | | | | | SUSE15-64 | pass | pass | | | | pass | | +----------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc OS: FC32-64 Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9) Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32) x86_64-native-linuxapp-clang OS: UB1604-64 Kernel Version: 4.13.0-36-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: UB1910-64 Kernel Version: 5.3.0-18-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008 Clang Version: 9.0.0-2 (tags/RELEASE_900/final) x86_64-native-linuxapp-gcc OS: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 7.0.1 (tags/RELEASE_701/final) x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang OS: UB1804-32 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz GCC Version: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) i686-native-linuxapp-gcc OS: FC31-64 Kernel Version: 5.3.15-300.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) x86_64-native-linuxapp-gcc OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 6.0.1 (tags/RELEASE_601/final) x86_64-native-linuxapp-gcc OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.73-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-clang OS: RHEL77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang ** Meson build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 7.0.1 (tags/RELEASE_701/final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: FC31-64 Kernel Version: 5.4.18-200.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.12.82-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default *Meson Build Failed #1: OS: CENTOS80-64 Target:./build-gcc-static [2184/2302] Linking target examples/dpdk-l2fwd-keepalive. [2185/2302] Linking target examples/dpdk-l2fwd-jobstats. [2186/2302] Compiling C object 'examples/c590b3c@@dpdk-l3fwd@exe/l3fwd_l3fwd_em.c.o'. [2187/2302] Compiling C object 'examples/c590b3c@@dpdk-l3fwd@exe/l3fwd_l3fwd_event_internal_port.c.o'. [2188/2302] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. FAILED: lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o cc -Ilib/76b5a35@@rte_pipeline@sta -Ilib -I../lib -Ilib/librte_pipeline -I../lib/librte_pipeline -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_port -I../lib/librte_port -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_kni -I../lib/librte_kni -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_table -I../lib/librte_table -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_acl -I../lib/librte_acl -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=nehalem -mno-avx512f -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -MD -MQ 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o' -MF 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o.d' -o 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o' -c ../lib/librte_pipeline/rte_table_action.c {standard input}: Assembler messages: {standard input}:766733: Warning: end of file not at end of a line; newline inserted {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive cc: fatal error: Killed signal terminated program cc1 compilation terminated. [2189/2302] Compiling C object 'examples/c590b3c@@dpdk-l3fwd@exe/l3fwd_l3fwd_event.c.o'. [2190/2302] Compiling C object 'examples/c590b3c@@dpdk-l3fwd@exe/l3fwd_l3fwd_event_generic.c.o'. [2191/2302] Compiling C object 'examples/c590b3c@@dpdk-l3fwd@exe/l3fwd_main.c.o'. [2192/2302] Compiling C object 'examples/c590b3c@@dpdk-l3fwd-acl@exe/l3fwd-acl_main.c.o'. [2193/2302] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'. [2194/2302] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-crypto@exe/l2fwd-crypto_main.c.o'. [2195/2302] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker_dual.c.o'. [2196/2302] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker.c.o'. [2197/2302] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'. ninja: build stopped: subcommand failed. DESTDIR=/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-x86-default/install ninja -C /root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-x86-default install >/dev/null ## Building cmdline gmake: Entering directory '/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-x86-default/install/usr/local/share/dpdk/examples/cmdline' rm -f build/cmdline build/cmdline-static build/cmdline-shared test -d build && rmdir -p build || true *Meson Build Failed #2: OS: FreeBSD1201-64 Target:./build-gcc-static [1568/1687] Compiling C object 'examples/c590b3c@@dpdk-ioat@exe/ioat_ioatfwd.c.o'. [1569/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec_process.c.o'. [1570/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec.c.o'. [1571/1687] Linking target examples/dpdk-ioat. [1572/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o'. FAILED: examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o gcc -Iexamples/c590b3c@@dpdk-ipsec-secgw@exe -Iexamples -I../examples -Iexamples/ipsec-secgw -I../examples/ipsec-secgw -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_security -I../lib/librte_security -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_acl -I../lib/librte_acl -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_ipsec -I../lib/librte_ipsec -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o' -MF 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o.d' -o 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o' -c ../examples/ipsec-secgw/parser.c ../examples/ipsec-secgw/parser.c: In function 'parse_ipv4_addr': ../examples/ipsec-secgw/parser.c:67:16: error: 'AF_INET' undeclared (first use in this function) 67 | if (inet_pton(AF_INET, token, ipv4) != 1) | ^~~~~~~ -- [1577/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec-secgw.c.o'. [1578/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_sa.c.o'. [1579/1687] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker.c.o'. [1580/1687] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event@sta/event_octeontx2_otx2_worker_dual.c.o'. [1581/1687] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=l3fwd --buildtype=debugoptimized --default-library=static /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/devtools/.. ./build-clang-static The Meson build system Version: 0.53.0 Source dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk Build dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-clang-static -- [1578/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec.c.o'. [1579/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec_process.c.o'. [1580/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_rt.c.o'. [1581/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_sad.c.o'. [1582/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o'. FAILED: examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o clang -Iexamples/c590b3c@@dpdk-ipsec-secgw@exe -Iexamples -I../examples -Iexamples/ipsec-secgw -I../examples/ipsec-secgw -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_security -I../lib/librte_security -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_acl -I../lib/librte_acl -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_ipsec -I../lib/librte_ipsec -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o' -MF 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o.d' -o 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o' -c ../examples/ipsec-secgw/parser.c ../examples/ipsec-secgw/parser.c:67:16: error: use of undeclared identifier 'AF_INET' if (inet_pton(AF_INET, token, ipv4) != 1) ^ ../examples/ipsec-secgw/parser.c:98:16: error: use of undeclared identifier 'AF_INET6' -- [1587/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_sp6.c.o'. [1588/1687] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec-secgw.c.o'. [1589/1687] Compiling C object 'examples/c590b3c@@dpdk-ipv4_multicast@exe/ipv4_multicast_main.c.o'. [1590/1687] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'. [1591/1687] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'. ninja: build stopped: subcommand failed. meson --werror -Dexamples=all --buildtype=debugoptimized -Dlibdir=lib -Dmachine=nehalem --default-library=shared /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/devtools/.. ./build-x86-default The Meson build system Version: 0.53.0 Source dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk Build dir: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-x86-default -- [1572/1692] Linking target examples/dpdk-ip_fragmentation. [1573/1692] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_event_helper.c.o'. [1574/1692] Linking target examples/dpdk-ip_reassembly. [1575/1692] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_esp.c.o'. [1576/1692] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o'. FAILED: examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o cc -Iexamples/c590b3c@@dpdk-ipsec-secgw@exe -Iexamples -I../examples -Iexamples/ipsec-secgw -I../examples/ipsec-secgw -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_security -I../lib/librte_security -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_acl -I../lib/librte_acl -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_ipsec -I../lib/librte_ipsec -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=nehalem -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o' -MF 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o.d' -o 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_parser.c.o' -c ../examples/ipsec-secgw/parser.c ../examples/ipsec-secgw/parser.c:67:16: error: use of undeclared identifier 'AF_INET' if (inet_pton(AF_INET, token, ipv4) != 1) ^ ../examples/ipsec-secgw/parser.c:98:16: error: use of undeclared identifier 'AF_INET6' -- [1581/1692] Compiling C object 'examples/c590b3c@@dpdk-ioat@exe/ioat_ioatfwd.c.o'. [1582/1692] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'. [1583/1692] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring_perf.c.o'. [1584/1692] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. [1585/1692] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_ring.c.o'. ninja: build stopped: subcommand failed. DESTDIR=/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-x86-default/install ninja -C /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-x86-default install >/dev/null find: /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/069ef9a861914c46811bdc5ba062aa93/dpdk/build-x86-default/install: No such file or directory usage: dirname string [...] DPDK STV team