automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(117207) sid(24932) job(PER_PATCH_BUILD4466)[v2, 2/2] crypto/qat : add SM3 hash algorithm
@ 2022-09-30 11:03 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-09-30 11:03 UTC (permalink / raw)
  To: test-report, arkadiuszx.kusztal

[-- Attachment #1: Type: text/plain, Size: 202052 bytes --]


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

_Compilation issues_

Submitter: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Date: 2022-09-30 09:41:08
Reply_mail: <20220930094108.6406-3-arkadiuszx.kusztal@intel.com>

DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 3c7c78b707873ac81dd11cda20ea4a186c6e4fbf


Meson Build Summary: 24 Builds Done, 4 Successful, 20 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FC36-64      | fail       | fail         |            |            |           |          |            |
| FreeBSD13-64 | pass       | pass         |            | pass       | pass      |          |            |
| RHEL86-64    | fail       | fail         |            | fail       | fail      |          |            |
| SUSE15-64    | fail       | fail         |            |            |           |          |            |
| RHEL90-64    | fail       |              |            |            |           |          |            |
| UB2004-64    | fail       | fail         |            |            |           | fail     |            |
| UB2204-32    | fail       |              |            |            |           |          |            |
| UB2204-64    | fail       | fail         |            |            |           | fail     | fail       |
| CentOS79-64  | fail       |              |            |            |           |          |            |
| RHEL86-64Rt  | fail       | 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-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD13-64
	Kernel Version: 13.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
	Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
	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.14.21-150400.22-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: RHEL90-64
	Kernel Version: 5.14.0-70.13.1.el9_0.x86_64
	GCC Version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
	Clang Version: 13.0.1 (Red Hat 13.0.1-1.el9)
	x86_64-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

OS: RHEL86-64Rt
	Kernel Version: 4.18.0-372.9.1.rt7.166.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



*Build Failed #1:
OS: FC36-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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:14: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |         case RTE_CRYPTO_CIPHER_SM4_ECB:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:14: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |         case RTE_CRYPTO_CIPHER_SM4_CBC:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |         case RTE_CRYPTO_CIPHER_SM4_CTR:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:14: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |         case RTE_CRYPTO_AUTH_SM3:
      |              ^~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_AUTH_SHA1
[848/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[849/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[850/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[851/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   94 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   97 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  100 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[852/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  134 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  137 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  140 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[853/3595] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[854/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[855/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[856/3595] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #2:
OS: FC36-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:475:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_ECB
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/qat_sym_session.c:479:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        case RTE_CRYPTO_CIPHER_SM4_CBC:
             ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_CTR
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_CTR'
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:346:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_AES_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:488:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_ECB'
        case RTE_CRYPTO_CIPHER_AES_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:475:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:718:7: error: use of undeclared identifier 'RTE_CRYPTO_AUTH_SM3'
        case RTE_CRYPTO_AUTH_SM3:
             ^
6 errors generated.
[850/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[851/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[852/3595] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[853/3595] Generating rte_common_cnxk.pmd.c with a custom command
[854/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:144:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:145:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:146:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:151:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen3);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[855/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[856/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:132:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:133:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:134:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:111:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen4);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[857/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[858/3595] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped




*Build Failed #3:
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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:7: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  case RTE_CRYPTO_CIPHER_SM4_ECB:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  case RTE_CRYPTO_CIPHER_SM4_CBC:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  case RTE_CRYPTO_CIPHER_SM4_CTR:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:7: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  case RTE_CRYPTO_AUTH_SM3:
       ^~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_AUTH_SHA1
[846/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[847/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[848/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[849/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^~~~~~~~~~~~~~~~~~
[850/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^~~~~~~~~~~~~~~~~~
[851/3541] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[852/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[853/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[854/3541] 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-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:475:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_ECB
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/qat_sym_session.c:479:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        case RTE_CRYPTO_CIPHER_SM4_CBC:
             ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_CTR
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_CTR'
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:346:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_AES_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:488:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_ECB'
        case RTE_CRYPTO_CIPHER_AES_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:475:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:718:7: error: use of undeclared identifier 'RTE_CRYPTO_AUTH_SM3'
        case RTE_CRYPTO_AUTH_SM3:
             ^
6 errors generated.
[850/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[851/3541] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[852/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:50:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:51:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:52:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:111:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen4);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[853/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:62:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:63:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:64:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:151:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen3);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[854/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[855/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[856/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[857/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[858/3541] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #5:
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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:7: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  case RTE_CRYPTO_CIPHER_SM4_ECB:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  case RTE_CRYPTO_CIPHER_SM4_CBC:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  case RTE_CRYPTO_CIPHER_SM4_CTR:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:7: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  case RTE_CRYPTO_AUTH_SM3:
       ^~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_AUTH_SHA1
[857/3398] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o
[858/3398] Generating rte_common_cnxk.pmd.c with a custom command
[859/3398] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[860/3398] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[861/3398] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[862/3398] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^~~~~~~~~~~~~~~~~~
[863/3398] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[864/3398] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[865/3398] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped




*Build Failed #6:
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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:7: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  case RTE_CRYPTO_CIPHER_SM4_ECB:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  case RTE_CRYPTO_CIPHER_SM4_CBC:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  case RTE_CRYPTO_CIPHER_SM4_CTR:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:7: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  case RTE_CRYPTO_AUTH_SM3:
       ^~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_AUTH_SHA1
[842/3541] Generating rte_common_cnxk.pmd.c with a custom command
[843/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[844/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[845/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[846/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^~~~~~~~~~~~~~~~~~
[847/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^~~~~~~~~~~~~~~~~~
[848/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[849/3541] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[850/3541] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped




*Build Failed #7:
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
../drivers/crypto/qat/qat_sym_session.c:475:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_ECB
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/qat_sym_session.c:479:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        case RTE_CRYPTO_CIPHER_SM4_CBC:
             ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_CTR
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_CTR'
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:346:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_AES_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:488:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_ECB'
        case RTE_CRYPTO_CIPHER_AES_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:475:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:718:7: error: use of undeclared identifier 'RTE_CRYPTO_AUTH_SM3'
        case RTE_CRYPTO_AUTH_SM3:
             ^
6 errors generated.
[850/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[851/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[852/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[853/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:163:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:164:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:165:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:151:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities []'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen3);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[854/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:151:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:152:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:153:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:111:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities []'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen4);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[855/3619] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[856/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[857/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[858/3619] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #8:
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
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:7: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  case RTE_CRYPTO_CIPHER_SM4_ECB:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_SM4_ECB’?
  case RTE_CRYPTO_CIPHER_SM4_CBC:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_SM4_ECB
../drivers/crypto/qat/qat_sym_session.c:483:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_SM4_CBC’?
  case RTE_CRYPTO_CIPHER_SM4_CTR:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_SM4_CBC
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:7: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  case RTE_CRYPTO_AUTH_SM3:
       ^~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_AUTH_SHA1
[835/3617] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[836/3617] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[837/3617] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[838/3617] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
[839/3617] Generating drivers/rte_bus_dpaa.sym_chk with a custom command (wrapped by meson to capture output)
[840/3617] Generating drivers/rte_bus_fslmc.sym_chk with a custom command (wrapped by meson to capture output)
[841/3617] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[842/3617] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[843/3617] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #9:
OS: RHEL90-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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:14: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |         case RTE_CRYPTO_CIPHER_SM4_ECB:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:14: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |         case RTE_CRYPTO_CIPHER_SM4_CBC:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |         case RTE_CRYPTO_CIPHER_SM4_CTR:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:14: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |         case RTE_CRYPTO_AUTH_SM3:
      |              ^~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_AUTH_SHA1
[843/3512] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[844/3512] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[845/3512] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[846/3512] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  134 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  137 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  140 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[847/3512] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   94 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   97 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  100 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[848/3512] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[849/3512] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
[850/3512] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[851/3512] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #10:
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:475:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_ECB
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/qat_sym_session.c:479:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        case RTE_CRYPTO_CIPHER_SM4_CBC:
             ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_CTR
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_CTR'
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:346:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_AES_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:488:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_ECB'
        case RTE_CRYPTO_CIPHER_AES_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:475:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:718:7: error: use of undeclared identifier 'RTE_CRYPTO_AUTH_SM3'
        case RTE_CRYPTO_AUTH_SM3:
             ^
6 errors generated.
[846/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[847/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[848/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[849/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:161:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:162:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:163:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:151:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities []'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen3);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[850/3619] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[851/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:149:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:150:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:151:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:111:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities []'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen4);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[852/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[853/3619] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[854/3619] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #11:
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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:7: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |  case RTE_CRYPTO_CIPHER_SM4_ECB:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |  case RTE_CRYPTO_CIPHER_SM4_CBC:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |  case RTE_CRYPTO_CIPHER_SM4_CTR:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:7: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |  case RTE_CRYPTO_AUTH_SM3:
      |       ^~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_AUTH_SHA1
[840/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o
[841/3630] Generating rte_common_cnxk.pmd.c with a custom command
[842/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[843/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o
[844/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[845/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[846/3630] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[847/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[848/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped




*Build Failed #12:
OS: UB2204-32
Target: i686-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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:14: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |         case RTE_CRYPTO_CIPHER_SM4_ECB:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:14: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |         case RTE_CRYPTO_CIPHER_SM4_CBC:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |         case RTE_CRYPTO_CIPHER_SM4_CTR:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:14: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |         case RTE_CRYPTO_AUTH_SM3:
      |              ^~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_AUTH_SHA1
[745/2440] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[746/2440] Generating symbol file drivers/librte_bus_dpaa.so.23.0.p/librte_bus_dpaa.so.23.0.symbols
[747/2440] Generating drivers/rte_bus_fslmc.sym_chk with a custom command (wrapped by meson to capture output)
[748/2440] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[749/2440] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   94 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   97 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  100 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[750/2440] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  134 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  137 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  140 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[751/2440] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[752/2440] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
[753/2440] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped




*Build Failed #13:
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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:7: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |  case RTE_CRYPTO_CIPHER_SM4_ECB:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |  case RTE_CRYPTO_CIPHER_SM4_CBC:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |  case RTE_CRYPTO_CIPHER_SM4_CTR:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:7: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |  case RTE_CRYPTO_AUTH_SM3:
      |       ^~~~~~~~~~~~~~~~~~~
      |       RTE_CRYPTO_AUTH_SHA1
[847/3395] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o
[848/3395] Compiling C object drivers/librte_common_cnxk.a.p/meson-generated_.._rte_common_cnxk.pmd.c.o
[849/3395] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[850/3395] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |     .algo = RTE_CRYPTO_CIPHER_##n,  \
      |             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   94 |  QAT_SYM_CIPHER_CAP(SM4_ECB,
      |  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |     .algo = RTE_CRYPTO_CIPHER_##n,  \
      |             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   97 |  QAT_SYM_CIPHER_CAP(SM4_CBC,
      |  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |     .algo = RTE_CRYPTO_CIPHER_##n,  \
      |             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  100 |  QAT_SYM_CIPHER_CAP(SM4_CTR,
      |  ^~~~~~~~~~~~~~~~~~
[851/3395] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[852/3395] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |     .algo = RTE_CRYPTO_CIPHER_##n,  \
      |             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  134 |  QAT_SYM_CIPHER_CAP(SM4_ECB,
      |  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |     .algo = RTE_CRYPTO_CIPHER_##n,  \
      |             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  137 |  QAT_SYM_CIPHER_CAP(SM4_CBC,
      |  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |     .algo = RTE_CRYPTO_CIPHER_##n,  \
      |             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  140 |  QAT_SYM_CIPHER_CAP(SM4_CTR,
      |  ^~~~~~~~~~~~~~~~~~
[853/3395] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[854/3395] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[855/3395] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped




*Build Failed #14:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc+16byte
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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:14: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |         case RTE_CRYPTO_CIPHER_SM4_ECB:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:14: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |         case RTE_CRYPTO_CIPHER_SM4_CBC:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |         case RTE_CRYPTO_CIPHER_SM4_CTR:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:14: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |         case RTE_CRYPTO_AUTH_SM3:
      |              ^~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_AUTH_SHA1
[849/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[850/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  134 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  137 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  140 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[851/3630] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[852/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   94 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   97 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  100 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[853/3630] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_filter.c.o
[854/3630] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[855/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[856/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[857/3630] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #15:
OS: UB2204-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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:14: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |         case RTE_CRYPTO_CIPHER_SM4_ECB:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:14: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |         case RTE_CRYPTO_CIPHER_SM4_CBC:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |         case RTE_CRYPTO_CIPHER_SM4_CTR:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:14: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |         case RTE_CRYPTO_AUTH_SM3:
      |              ^~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_AUTH_SHA1
[845/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o
[846/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[847/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[848/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[849/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  134 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  137 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  140 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[850/3630] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[851/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[852/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[853/3630] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #16:
OS: UB2204-64
Target: x86_64-native-linuxapp-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:475:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_ECB
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/qat_sym_session.c:479:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        case RTE_CRYPTO_CIPHER_SM4_CBC:
             ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_CTR
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_CTR'
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:346:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_AES_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:488:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_ECB'
        case RTE_CRYPTO_CIPHER_AES_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:475:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:718:7: error: use of undeclared identifier 'RTE_CRYPTO_AUTH_SM3'
        case RTE_CRYPTO_AUTH_SM3:
             ^
6 errors generated.
[850/3630] Generating drivers/rte_common_qat_def with a custom command
[851/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[852/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:144:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:145:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:146:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:151:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen3);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[853/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[854/3630] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[855/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:132:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:133:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:134:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:111:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen4);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[856/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[857/3630] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[858/3630] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #17:
OS: UB2204-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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:14: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  475 |         case RTE_CRYPTO_CIPHER_SM4_ECB:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:14: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  479 |         case RTE_CRYPTO_CIPHER_SM4_CBC:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:14: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  483 |         case RTE_CRYPTO_CIPHER_SM4_CTR:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:14: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  718 |         case RTE_CRYPTO_AUTH_SM3:
      |              ^~~~~~~~~~~~~~~~~~~
      |              RTE_CRYPTO_AUTH_SHA1
[846/3460] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[847/3460] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[848/3460] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[849/3460] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  134 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  137 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  140 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[850/3460] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   94 |         QAT_SYM_CIPHER_CAP(SM4_ECB,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
   97 |         QAT_SYM_CIPHER_CAP(SM4_CBC,
      |         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:41: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
   82 |                                 .algo = RTE_CRYPTO_CIPHER_##n,          \
      |                                         ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:9: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  100 |         QAT_SYM_CIPHER_CAP(SM4_CTR,
      |         ^~~~~~~~~~~~~~~~~~
[851/3460] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[852/3460] Generating lib/pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[853/3460] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[854/3460] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #18:
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 'qat_sym_session_configure_cipher':
../drivers/crypto/qat/qat_sym_session.c:475:7: error: 'RTE_CRYPTO_CIPHER_SM4_ECB' undeclared (first use in this function)
  case RTE_CRYPTO_CIPHER_SM4_ECB:
       ^
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: 'RTE_CRYPTO_CIPHER_SM4_CBC' undeclared (first use in this function)
  case RTE_CRYPTO_CIPHER_SM4_CBC:
       ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: 'RTE_CRYPTO_CIPHER_SM4_CTR' undeclared (first use in this function)
  case RTE_CRYPTO_CIPHER_SM4_CTR:
       ^
../drivers/crypto/qat/qat_sym_session.c: In function 'qat_sym_session_configure_auth':
../drivers/crypto/qat/qat_sym_session.c:718:7: error: 'RTE_CRYPTO_AUTH_SM3' undeclared (first use in this function)
  case RTE_CRYPTO_AUTH_SM3:
       ^
[844/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[845/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[846/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o
[847/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[848/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:0:
../drivers/crypto/qat/qat_sym.h:82:13: error: 'RTE_CRYPTO_CIPHER_SM4_ECB' undeclared here (not in a function)
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: note: in expansion of macro 'QAT_SYM_CIPHER_CAP'
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^
../drivers/crypto/qat/qat_sym.h:82:13: error: 'RTE_CRYPTO_CIPHER_SM4_CBC' undeclared here (not in a function)
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: note: in expansion of macro 'QAT_SYM_CIPHER_CAP'
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^
../drivers/crypto/qat/qat_sym.h:82:13: error: 'RTE_CRYPTO_CIPHER_SM4_CTR' undeclared here (not in a function)
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: note: in expansion of macro 'QAT_SYM_CIPHER_CAP'
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^
[849/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o
[850/3577] Generating drivers/rte_common_cnxk.pmd.c with a custom command
[851/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[852/3577] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped




*Build Failed #19:
OS: RHEL86-64Rt
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 ‘qat_sym_session_configure_cipher’:
../drivers/crypto/qat/qat_sym_session.c:475:7: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
  case RTE_CRYPTO_CIPHER_SM4_ECB:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_ECB
../drivers/crypto/qat/qat_sym_session.c:475:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/crypto/qat/qat_sym_session.c:479:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
  case RTE_CRYPTO_CIPHER_SM4_CBC:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_DES_CBC
../drivers/crypto/qat/qat_sym_session.c:483:7: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
  case RTE_CRYPTO_CIPHER_SM4_CTR:
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_CIPHER_AES_CTR
../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_session_configure_auth’:
../drivers/crypto/qat/qat_sym_session.c:718:7: error: ‘RTE_CRYPTO_AUTH_SM3’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1’?
  case RTE_CRYPTO_AUTH_SM3:
       ^~~~~~~~~~~~~~~~~~~
       RTE_CRYPTO_AUTH_SHA1
[851/3579] Generating rte_common_qat_mingw with a custom command
[852/3579] Generating rte_common_qat_def with a custom command
[853/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[854/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^~~~~~~~~~~~~~~~~~
[855/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[856/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_ECB’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_ECB’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_ECB,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CBC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_DES_CBC’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CBC,
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/qat_sym.h:82:13: error: ‘RTE_CRYPTO_CIPHER_SM4_CTR’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_CIPHER_AES_CTR’?
     .algo = RTE_CRYPTO_CIPHER_##n,  \
             ^~~~~~~~~~~~~~~~~~
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: note: in expansion of macro ‘QAT_SYM_CIPHER_CAP’
  QAT_SYM_CIPHER_CAP(SM4_CTR,
  ^~~~~~~~~~~~~~~~~~
[857/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[858/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[859/3579] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #20:
OS: RHEL86-64Rt
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:475:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_ECB
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/qat_sym_session.c:479:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        case RTE_CRYPTO_CIPHER_SM4_CBC:
             ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             RTE_CRYPTO_CIPHER_AES_CTR
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/qat_sym_session.c:483:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_CTR'
        case RTE_CRYPTO_CIPHER_SM4_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:346:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_AES_CTR:
             ^
../drivers/crypto/qat/qat_sym_session.c:488:7: error: duplicate case value 'RTE_CRYPTO_CIPHER_AES_ECB'
        case RTE_CRYPTO_CIPHER_AES_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:475:7: note: previous case defined here
        case RTE_CRYPTO_CIPHER_SM4_ECB:
             ^
../drivers/crypto/qat/qat_sym_session.c:718:7: error: use of undeclared identifier 'RTE_CRYPTO_AUTH_SM3'
        case RTE_CRYPTO_AUTH_SM3:
             ^
6 errors generated.
[853/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[854/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[855/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.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_dev_qat_crypto_pmd_gen3.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:134:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:62:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:137:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:63:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:140:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:64:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c:151:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen3);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[856/3579] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o
[857/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:94:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_ECB'; did you mean 'RTE_CRYPTO_CIPHER_AES_ECB'?
        QAT_SYM_CIPHER_CAP(SM4_ECB,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:50:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_ECB
^
../lib/cryptodev/rte_crypto_sym.h:134:2: note: 'RTE_CRYPTO_CIPHER_AES_ECB' declared here
        RTE_CRYPTO_CIPHER_AES_ECB,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:97:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CBC'
        QAT_SYM_CIPHER_CAP(SM4_CBC,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:51:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CBC
^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:100:2: error: use of undeclared identifier 'RTE_CRYPTO_CIPHER_SM4_CTR'; did you mean 'RTE_CRYPTO_CIPHER_AES_CTR'?
        QAT_SYM_CIPHER_CAP(SM4_CTR,
        ^
../drivers/crypto/qat/qat_sym.h:82:13: note: expanded from macro 'QAT_SYM_CIPHER_CAP'
                                .algo = RTE_CRYPTO_CIPHER_##n,          \
                                        ^
<scratch space>:52:1: note: expanded from here
RTE_CRYPTO_CIPHER_SM4_CTR
^
../lib/cryptodev/rte_crypto_sym.h:132:2: note: 'RTE_CRYPTO_CIPHER_AES_CTR' declared here
        RTE_CRYPTO_CIPHER_AES_CTR,
        ^
../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:111:25: error: invalid application of 'sizeof' to an incomplete type 'struct rte_cryptodev_capabilities[]'
        capa_info.size = sizeof(qat_sym_crypto_caps_gen4);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[858/3579] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_filter.c.o
[859/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[860/3579] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[861/3579] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-30 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30 11:03 [dpdk-test-report] |FAILURE| pw(117207) sid(24932) job(PER_PATCH_BUILD4466)[v2, 2/2] crypto/qat : add SM3 hash algorithm sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).