Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/111913 _Compilation issues_ Submitter: Kai Ji Date: 2022-05-26 10:47:03 Reply_mail: <20220526104703.83605-1-kai.ji@intel.com> DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 30b86c203bc16aff690144813c960089a0fad2ec Meson Build Summary: 21 Builds Done, 11 Successful, 10 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | fail | fail | | fail | fail | | | | SUSE15-64 | fail | fail | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | fail | fail | | | | fail | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | fail | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc *Build Failed #1: OS: RHEL86-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function ‘aes_ipsecmb_job’: ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: ‘IMB_STATUS_COMPLETED’ undeclared (first use in this function); did you mean ‘STS_COMPLETED’? if (job->status == IMB_STATUS_COMPLETED) ^~~~~~~~~~~~~~~~~~~~ STS_COMPLETED ../drivers/crypto/qat/qat_sym_session.c:1130:22: note: each undeclared identifier is reported only once for each function it appears in ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: implicit declaration of function ‘imb_get_errno’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] err = imb_get_errno(m); ^~~~~~~~~~~~~ imb_get_version ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: nested extern declaration of ‘imb_get_errno’ [-Werror=nested-externs] In file included from ../drivers/crypto/qat/qat_sym_session.c:25: ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: implicit declaration of function ‘imb_get_strerror’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ "%s(): " fmt "\n", __func__, ## args) ^~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: nested extern declaration of ‘imb_get_strerror’ [-Werror=nested-externs] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ "%s(): " fmt "\n", __func__, ## args) ^~~~ ../drivers/common/qat/qat_logs.h:13:4: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] "%s(): " fmt "\n", __func__, ## args) ^~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:3: note: in expansion of macro ‘QAT_LOG’ QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:25: note: format string is defined here QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ~^ %d ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes_ipsec_mb’: ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function ‘init_mb_mgr_auto’; did you mean ‘init_mb_mgr_avx2’? [-Werror=implicit-function-declaration] init_mb_mgr_auto(m, NULL); ^~~~~~~~~~~~~~~~ init_mb_mgr_avx2 ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: nested extern declaration of ‘init_mb_mgr_auto’ [-Werror=nested-externs] cc1: all warnings being treated as errors [847/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [848/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [849/3532] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o [850/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [851/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [852/3532] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) [853/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [854/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [855/3532] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #2: OS: RHEL86-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o clang -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: use of undeclared identifier 'IMB_STATUS_COMPLETED' if (job->status == IMB_STATUS_COMPLETED) ^ ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: implicit declaration of function 'imb_get_errno' is invalid in C99 [-Werror,-Wimplicit-function-declaration] err = imb_get_errno(m); ^ ../drivers/crypto/qat/qat_sym_session.c:1134:8: note: did you mean 'imb_get_version'? /usr/include/intel-ipsec-mb.h:882:25: note: 'imb_get_version' declared here IMB_DLL_EXPORT unsigned imb_get_version(void); ^ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: implicit declaration of function 'imb_get_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^ ../drivers/crypto/qat/qat_sym_session.c:1136:32: note: did you mean 'imb_get_errno'? ../drivers/crypto/qat/qat_sym_session.c:1134:8: note: 'imb_get_errno' declared here err = imb_get_errno(m); ^ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ~~ ^~~~~~~~~~~~~~~~~~~~~ %d ../drivers/common/qat/qat_logs.h:13:36: note: expanded from macro 'QAT_LOG' "%s(): " fmt "\n", __func__, ## args) ~~~ ^~~~ ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function 'init_mb_mgr_auto' is invalid in C99 [-Werror,-Wimplicit-function-declaration] init_mb_mgr_auto(m, NULL); ^ 5 errors generated. [847/3532] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o [848/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [849/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [850/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [851/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [852/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [853/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [854/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [855/3532] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #3: OS: RHEL86-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function ‘aes_ipsecmb_job’: ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: ‘IMB_STATUS_COMPLETED’ undeclared (first use in this function); did you mean ‘STS_COMPLETED’? if (job->status == IMB_STATUS_COMPLETED) ^~~~~~~~~~~~~~~~~~~~ STS_COMPLETED ../drivers/crypto/qat/qat_sym_session.c:1130:22: note: each undeclared identifier is reported only once for each function it appears in ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: implicit declaration of function ‘imb_get_errno’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] err = imb_get_errno(m); ^~~~~~~~~~~~~ imb_get_version ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: nested extern declaration of ‘imb_get_errno’ [-Werror=nested-externs] In file included from ../drivers/crypto/qat/qat_sym_session.c:25: ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: implicit declaration of function ‘imb_get_strerror’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ "%s(): " fmt "\n", __func__, ## args) ^~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: nested extern declaration of ‘imb_get_strerror’ [-Werror=nested-externs] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ "%s(): " fmt "\n", __func__, ## args) ^~~~ ../drivers/common/qat/qat_logs.h:13:4: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] "%s(): " fmt "\n", __func__, ## args) ^~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:3: note: in expansion of macro ‘QAT_LOG’ QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:25: note: format string is defined here QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ~^ %d ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes_ipsec_mb’: ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function ‘init_mb_mgr_auto’; did you mean ‘init_mb_mgr_avx2’? [-Werror=implicit-function-declaration] init_mb_mgr_auto(m, NULL); ^~~~~~~~~~~~~~~~ init_mb_mgr_avx2 ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: nested extern declaration of ‘init_mb_mgr_auto’ [-Werror=nested-externs] cc1: all warnings being treated as errors [861/3387] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [862/3387] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [863/3387] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [864/3387] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) [865/3387] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [866/3387] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [867/3387] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [868/3387] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [869/3387] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #4: OS: RHEL86-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function ‘aes_ipsecmb_job’: ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: ‘IMB_STATUS_COMPLETED’ undeclared (first use in this function); did you mean ‘STS_COMPLETED’? if (job->status == IMB_STATUS_COMPLETED) ^~~~~~~~~~~~~~~~~~~~ STS_COMPLETED ../drivers/crypto/qat/qat_sym_session.c:1130:22: note: each undeclared identifier is reported only once for each function it appears in ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: implicit declaration of function ‘imb_get_errno’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] err = imb_get_errno(m); ^~~~~~~~~~~~~ imb_get_version ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: nested extern declaration of ‘imb_get_errno’ [-Werror=nested-externs] In file included from ../drivers/crypto/qat/qat_sym_session.c:25: ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: implicit declaration of function ‘imb_get_strerror’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ "%s(): " fmt "\n", __func__, ## args) ^~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: nested extern declaration of ‘imb_get_strerror’ [-Werror=nested-externs] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ "%s(): " fmt "\n", __func__, ## args) ^~~~ ../drivers/common/qat/qat_logs.h:13:4: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] "%s(): " fmt "\n", __func__, ## args) ^~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:3: note: in expansion of macro ‘QAT_LOG’ QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:25: note: format string is defined here QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ~^ %d ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes_ipsec_mb’: ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function ‘init_mb_mgr_auto’; did you mean ‘init_mb_mgr_avx2’? [-Werror=implicit-function-declaration] init_mb_mgr_auto(m, NULL); ^~~~~~~~~~~~~~~~ init_mb_mgr_avx2 ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: nested extern declaration of ‘init_mb_mgr_auto’ [-Werror=nested-externs] cc1: all warnings being treated as errors [841/3532] Compiling C object drivers/librte_common_cnxk.a.p/meson-generated_.._rte_common_cnxk.pmd.c.o [842/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o [843/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [844/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [845/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [846/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [847/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [848/3532] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) [849/3532] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o ninja: build stopped *Build Failed #5: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o clang -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -DOPENSSL_LOAD_CONF -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c In file included from ../drivers/crypto/qat/qat_sym_session.c:11: /usr/include/intel-ipsec-mb.h:208:9: error: redefinition of 'SHA1' SHA1 = 1, /* HMAC-SHA1 */ ^ /usr/include/openssl/sha.h:44:16: note: previous definition is here unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^ In file included from ../drivers/crypto/qat/qat_sym_session.c:11: /usr/include/intel-ipsec-mb.h:214:9: error: redefinition of 'MD5' MD5, /* HMAC-MD5 */ ^ /usr/include/openssl/md5.h:43:16: note: previous definition is here unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^ ../drivers/crypto/qat/qat_sym_session.c:1096:55: error: unknown type name 'IMB_MGR'; did you mean 'MB_MGR'? static int aes_ipsecmb_job(uint8_t *in, uint8_t *out, IMB_MGR *m, ^~~~~~~ MB_MGR /usr/include/intel-ipsec-mb.h:980:3: note: 'MB_MGR' declared here } MB_MGR; ^ ../drivers/crypto/qat/qat_sym_session.c:1113:6: error: incompatible pointer types assigning to 'struct IMB_JOB *' from 'JOB_AES_HMAC *' (aka 'struct JOB_AES_HMAC *') [-Werror,-Wincompatible-pointer-types] job = IMB_GET_NEXT_JOB(m); ^ ~~~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1115:5: error: incomplete definition of type 'struct IMB_JOB' job->src = in; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1116:5: error: incomplete definition of type 'struct IMB_JOB' job->dst = out; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1117:5: error: incomplete definition of type 'struct IMB_JOB' job->enc_keys = expkey; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1118:5: error: incomplete definition of type 'struct IMB_JOB' job->key_len_in_bytes = auth_keylen; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1119:5: error: incomplete definition of type 'struct IMB_JOB' job->msg_len_to_cipher_in_bytes = 16; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1120:5: error: incomplete definition of type 'struct IMB_JOB' job->iv_len_in_bytes = 0; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1121:5: error: incomplete definition of type 'struct IMB_JOB' job->cipher_direction = IMB_DIR_ENCRYPT; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1121:26: error: use of undeclared identifier 'IMB_DIR_ENCRYPT' job->cipher_direction = IMB_DIR_ENCRYPT; ^ ../drivers/crypto/qat/qat_sym_session.c:1122:5: error: incomplete definition of type 'struct IMB_JOB' job->cipher_mode = IMB_CIPHER_ECB; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1122:21: error: use of undeclared identifier 'IMB_CIPHER_ECB' job->cipher_mode = IMB_CIPHER_ECB; ^ ../drivers/crypto/qat/qat_sym_session.c:1123:5: error: incomplete definition of type 'struct IMB_JOB' job->hash_alg = IMB_AUTH_NULL; ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1123:18: error: use of undeclared identifier 'IMB_AUTH_NULL' job->hash_alg = IMB_AUTH_NULL; ^ ../drivers/crypto/qat/qat_sym_session.c:1128:6: error: incompatible pointer types assigning to 'struct IMB_JOB *' from 'JOB_AES_HMAC *' (aka 'struct JOB_AES_HMAC *') [-Werror,-Wincompatible-pointer-types] job = IMB_SUBMIT_JOB(m); ^ ~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1130:10: error: incomplete definition of type 'struct IMB_JOB' if (job->status == IMB_STATUS_COMPLETED) ~~~^ ../drivers/crypto/qat/qat_sym_session.c:1100:9: note: forward declaration of 'struct IMB_JOB' struct IMB_JOB *job; ^ ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: use of undeclared identifier 'IMB_STATUS_COMPLETED' if (job->status == IMB_STATUS_COMPLETED) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [842/3570] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o [843/3570] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [844/3570] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) [845/3570] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [846/3570] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [847/3570] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [848/3570] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [849/3570] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [850/3570] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #6: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -DOPENSSL_LOAD_CONF -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: /usr/include/intel-ipsec-mb.h:208:9: error: ‘SHA1’ redeclared as different kind of symbol SHA1 = 1, /* HMAC-SHA1 */ ^~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5:0: /usr/include/openssl/sha.h:44:16: note: previous declaration of ‘SHA1’ was here unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); ^~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: /usr/include/intel-ipsec-mb.h:214:9: error: ‘MD5’ redeclared as different kind of symbol MD5, /* HMAC-MD5 */ ^~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:7:0: /usr/include/openssl/md5.h:43:16: note: previous declaration of ‘MD5’ was here unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); ^~~ ../drivers/crypto/qat/qat_sym_session.c:1096:55: error: unknown type name ‘IMB_MGR’; did you mean ‘MB_MGR’? static int aes_ipsecmb_job(uint8_t *in, uint8_t *out, IMB_MGR *m, ^~~~~~~ MB_MGR ../drivers/crypto/qat/qat_sym_session.c:1143:40: error: unknown type name ‘IMB_MGR’; did you mean ‘MB_MGR’? uint8_t *data_in, uint8_t *data_out, IMB_MGR *m) ^~~~~~~ MB_MGR ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes_ipsec_mb’: ../drivers/crypto/qat/qat_sym_session.c:1216:2: error: unknown type name ‘IMB_MGR’; did you mean ‘MB_MGR’? IMB_MGR *m; ^~~~~~~ MB_MGR ../drivers/crypto/qat/qat_sym_session.c:1217:4: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] m = alloc_mb_mgr(0); ^ ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function ‘init_mb_mgr_auto’; did you mean ‘init_mb_mgr_avx2’? [-Werror=implicit-function-declaration] init_mb_mgr_auto(m, NULL); ^~~~~~~~~~~~~~~~ init_mb_mgr_avx2 ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: nested extern declaration of ‘init_mb_mgr_auto’ [-Werror=nested-externs] In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: ../drivers/crypto/qat/qat_sym_session.c:1247:4: error: request for member ‘keyexp_128’ in something not a structure or union IMB_AES_KEYEXP_128(m, p_state_buf, expkey, dust); ^ ../drivers/crypto/qat/qat_sym_session.c:1251:4: error: request for member ‘cmac_subkey_gen_128’ in something not a structure or union IMB_AES_CMAC_SUBKEY_GEN_128(m, expkey, k1, k2); ^ ../drivers/crypto/qat/qat_sym_session.c:1255:16: error: passing argument 1 of ‘free_mb_mgr’ from incompatible pointer type [-Werror=incompatible-pointer-types] free_mb_mgr(m); ^ In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: /usr/include/intel-ipsec-mb.h:1011:21: note: expected ‘MB_MGR * {aka struct MB_MGR *}’ but argument is of type ‘int *’ IMB_DLL_EXPORT void free_mb_mgr(MB_MGR *state); ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1283:8: error: implicit declaration of function ‘aes_ipsecmb_job’ [-Werror=implicit-function-declaration] if (aes_ipsecmb_job(in, out, m, auth_key, auth_keylen)) { ^~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1283:8: error: nested extern declaration of ‘aes_ipsecmb_job’ [-Werror=nested-externs] ../drivers/crypto/qat/qat_sym_session.c:1297:15: error: passing argument 1 of ‘free_mb_mgr’ from incompatible pointer type [-Werror=incompatible-pointer-types] free_mb_mgr(m); ^ In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: /usr/include/intel-ipsec-mb.h:1011:21: note: expected ‘MB_MGR * {aka struct MB_MGR *}’ but argument is of type ‘int *’ IMB_DLL_EXPORT void free_mb_mgr(MB_MGR *state); ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1323:15: error: passing argument 1 of ‘free_mb_mgr’ from incompatible pointer type [-Werror=incompatible-pointer-types] free_mb_mgr(m); ^ In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: /usr/include/intel-ipsec-mb.h:1011:21: note: expected ‘MB_MGR * {aka struct MB_MGR *}’ but argument is of type ‘int *’ IMB_DLL_EXPORT void free_mb_mgr(MB_MGR *state); ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1336:15: error: passing argument 1 of ‘free_mb_mgr’ from incompatible pointer type [-Werror=incompatible-pointer-types] free_mb_mgr(m); ^ In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: /usr/include/intel-ipsec-mb.h:1011:21: note: expected ‘MB_MGR * {aka struct MB_MGR *}’ but argument is of type ‘int *’ IMB_DLL_EXPORT void free_mb_mgr(MB_MGR *state); ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1350:6: error: implicit declaration of function ‘partial_hash_compute_ipsec_mb’; did you mean ‘qat_sym_do_precomputes_ipsec_mb’? [-Werror=implicit-function-declaration] if (partial_hash_compute_ipsec_mb(hash_alg, ipad, p_state_buf, m)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qat_sym_do_precomputes_ipsec_mb ../drivers/crypto/qat/qat_sym_session.c:1350:6: error: nested extern declaration of ‘partial_hash_compute_ipsec_mb’ [-Werror=nested-externs] ../drivers/crypto/qat/qat_sym_session.c:1372:14: error: passing argument 1 of ‘free_mb_mgr’ from incompatible pointer type [-Werror=incompatible-pointer-types] free_mb_mgr(m); ^ In file included from ../drivers/crypto/qat/qat_sym_session.c:11:0: /usr/include/intel-ipsec-mb.h:1011:21: note: expected ‘MB_MGR * {aka struct MB_MGR *}’ but argument is of type ‘int *’ IMB_DLL_EXPORT void free_mb_mgr(MB_MGR *state); ^~~~~~~~~~~ cc1: all warnings being treated as errors [841/3568] Linking static target drivers/librte_common_cnxk.a [842/3568] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [843/3568] Generating symbol file drivers/librte_bus_fslmc.so.22.2.p/librte_bus_fslmc.so.22.2.symbols [844/3568] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [845/3568] Generating symbol file drivers/librte_bus_dpaa.so.22.2.p/librte_bus_dpaa.so.22.2.symbols [846/3568] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) [847/3568] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [848/3568] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [849/3568] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o ninja: build stopped *Build Failed #7: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o clang -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: use of undeclared identifier 'IMB_STATUS_COMPLETED' if (job->status == IMB_STATUS_COMPLETED) ^ ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: implicit declaration of function 'imb_get_errno' is invalid in C99 [-Werror,-Wimplicit-function-declaration] err = imb_get_errno(m); ^ ../drivers/crypto/qat/qat_sym_session.c:1134:8: note: did you mean 'imb_get_version'? /usr/include/intel-ipsec-mb.h:919:25: note: 'imb_get_version' declared here IMB_DLL_EXPORT unsigned imb_get_version(void); ^ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: implicit declaration of function 'imb_get_strerror' is invalid in C99 [-Werror,-Wimplicit-function-declaration] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^ ../drivers/crypto/qat/qat_sym_session.c:1136:32: note: did you mean 'imb_get_errno'? ../drivers/crypto/qat/qat_sym_session.c:1134:8: note: 'imb_get_errno' declared here err = imb_get_errno(m); ^ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: format specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ~~ ^~~~~~~~~~~~~~~~~~~~~ %d ../drivers/common/qat/qat_logs.h:13:36: note: expanded from macro 'QAT_LOG' "%s(): " fmt "\n", __func__, ## args) ~~~ ^~~~ ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function 'init_mb_mgr_auto' is invalid in C99 [-Werror,-Wimplicit-function-declaration] init_mb_mgr_auto(m, NULL); ^ 5 errors generated. [851/3605] Generating rte_common_qat_def with a custom command [852/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [853/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [854/3605] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o [855/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [856/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [857/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [858/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [859/3605] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #8: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function ‘aes_ipsecmb_job’: ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: ‘IMB_STATUS_COMPLETED’ undeclared (first use in this function); did you mean ‘STS_COMPLETED’? 1130 | if (job->status == IMB_STATUS_COMPLETED) | ^~~~~~~~~~~~~~~~~~~~ | STS_COMPLETED ../drivers/crypto/qat/qat_sym_session.c:1130:22: note: each undeclared identifier is reported only once for each function it appears in ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: implicit declaration of function ‘imb_get_errno’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] 1134 | err = imb_get_errno(m); | ^~~~~~~~~~~~~ | imb_get_version ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: nested extern declaration of ‘imb_get_errno’ [-Werror=nested-externs] In file included from ../drivers/crypto/qat/qat_sym_session.c:25: ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: implicit declaration of function ‘imb_get_strerror’ [-Werror=implicit-function-declaration] 1136 | QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); | ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ 13 | "%s(): " fmt "\n", __func__, ## args) | ^~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: nested extern declaration of ‘imb_get_strerror’ [-Werror=nested-externs] 1136 | QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); | ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ 13 | "%s(): " fmt "\n", __func__, ## args) | ^~~~ ../drivers/common/qat/qat_logs.h:13:4: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 13 | "%s(): " fmt "\n", __func__, ## args) | ^~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:3: note: in expansion of macro ‘QAT_LOG’ 1136 | QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); | ^~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes_ipsec_mb’: ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function ‘init_mb_mgr_auto’; did you mean ‘init_mb_mgr_avx2’? [-Werror=implicit-function-declaration] 1221 | init_mb_mgr_auto(m, NULL); | ^~~~~~~~~~~~~~~~ | init_mb_mgr_avx2 ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: nested extern declaration of ‘init_mb_mgr_auto’ [-Werror=nested-externs] cc1: all warnings being treated as errors [848/3616] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [849/3616] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [850/3616] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [851/3616] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o [852/3616] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [853/3616] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [854/3616] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [855/3616] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [856/3616] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #9: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function ‘aes_ipsecmb_job’: ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: ‘IMB_STATUS_COMPLETED’ undeclared (first use in this function); did you mean ‘STS_COMPLETED’? 1130 | if (job->status == IMB_STATUS_COMPLETED) | ^~~~~~~~~~~~~~~~~~~~ | STS_COMPLETED ../drivers/crypto/qat/qat_sym_session.c:1130:22: note: each undeclared identifier is reported only once for each function it appears in ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: implicit declaration of function ‘imb_get_errno’; did you mean ‘imb_get_version’? [-Werror=implicit-function-declaration] 1134 | err = imb_get_errno(m); | ^~~~~~~~~~~~~ | imb_get_version ../drivers/crypto/qat/qat_sym_session.c:1134:8: error: nested extern declaration of ‘imb_get_errno’ [-Werror=nested-externs] In file included from ../drivers/crypto/qat/qat_sym_session.c:25: ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: implicit declaration of function ‘imb_get_strerror’ [-Werror=implicit-function-declaration] 1136 | QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); | ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ 13 | "%s(): " fmt "\n", __func__, ## args) | ^~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:32: error: nested extern declaration of ‘imb_get_strerror’ [-Werror=nested-externs] 1136 | QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); | ^~~~~~~~~~~~~~~~ ../drivers/common/qat/qat_logs.h:13:36: note: in definition of macro ‘QAT_LOG’ 13 | "%s(): " fmt "\n", __func__, ## args) | ^~~~ ../drivers/common/qat/qat_logs.h:13:4: error: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Werror=format=] 13 | "%s(): " fmt "\n", __func__, ## args) | ^~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1136:3: note: in expansion of macro ‘QAT_LOG’ 1136 | QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); | ^~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes_ipsec_mb’: ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function ‘init_mb_mgr_auto’; did you mean ‘init_mb_mgr_avx2’? [-Werror=implicit-function-declaration] 1221 | init_mb_mgr_auto(m, NULL); | ^~~~~~~~~~~~~~~~ | init_mb_mgr_avx2 ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: nested extern declaration of ‘init_mb_mgr_auto’ [-Werror=nested-externs] cc1: all warnings being treated as errors [845/3385] Generating rte_common_qat_def with a custom command [846/3385] Linking static target drivers/librte_common_cnxk.a [847/3385] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [848/3385] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [849/3385] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o [850/3385] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [851/3385] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [852/3385] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [853/3385] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o ninja: build stopped *Build Failed #10: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function 'aes_ipsecmb_job': ../drivers/crypto/qat/qat_sym_session.c:1130:22: error: 'IMB_STATUS_COMPLETED' undeclared (first use in this function) if (job->status == IMB_STATUS_COMPLETED) ^ ../drivers/crypto/qat/qat_sym_session.c:1130:22: note: each undeclared identifier is reported only once for each function it appears in ../drivers/crypto/qat/qat_sym_session.c:1134:2: error: implicit declaration of function 'imb_get_errno' [-Werror=implicit-function-declaration] err = imb_get_errno(m); ^ ../drivers/crypto/qat/qat_sym_session.c:1134:2: error: nested extern declaration of 'imb_get_errno' [-Werror=nested-externs] ../drivers/crypto/qat/qat_sym_session.c:1136:3: error: implicit declaration of function 'imb_get_strerror' [-Werror=implicit-function-declaration] QAT_LOG(ERR, "Error: %s!\n", imb_get_strerror(err)); ^ ../drivers/crypto/qat/qat_sym_session.c:1136:3: error: nested extern declaration of 'imb_get_strerror' [-Werror=nested-externs] ../drivers/crypto/qat/qat_sym_session.c:1136:3: error: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Werror=format=] ../drivers/crypto/qat/qat_sym_session.c: In function 'qat_sym_do_precomputes_ipsec_mb': ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: implicit declaration of function 'init_mb_mgr_auto' [-Werror=implicit-function-declaration] init_mb_mgr_auto(m, NULL); ^ ../drivers/crypto/qat/qat_sym_session.c:1221:2: error: nested extern declaration of 'init_mb_mgr_auto' [-Werror=nested-externs] cc1: all warnings being treated as errors [836/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [837/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [838/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [839/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o [840/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [841/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [842/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [843/3515] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [844/3515] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped DPDK STV team