• Lv0
    粉丝0

积分0 / 贡献0

提问2答案被采纳0文章0

作者动态

xts ActsHuksHalFunctionTest编译报错

skylyzhao 显示全部楼层 发表于 昨天 19:12

轻量系统,V4.1release 路径 /test/xts/acts/security_lite/huks

xts自测 链接 module_ActsHuksHalFunctionTest 以后编译报错,例如函数TestAes256ByLocal已经编译了并且有头文件引用,还是报错:undefined reference toTestAes256ByLocal'. 这部分的代码都是源码未经修改,实在不到问题原因了?请教遇到相同问题的大佬.

[OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_aes_test.o): in function ExecHksAesTest004': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_aes_test.c:112: undefined reference toTestAes256ByLocal' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o): in function AgreeKey': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:115: undefined reference toTestConstructAgreeParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:118: undefined reference to HksAgreeKeyRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o): in functionExecHksAgreementTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:135: undefined reference to GenerateLocalX25519Key' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:137: undefined reference toGenerateLocalX25519Key' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:142: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:162: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:163: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:164: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:165: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:162: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o):/home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:163: more undefined references to TestFreeBlob' follow [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o): in functionExecHksAgreementTest002': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:184: undefined reference to GenerateLocalX25519Key' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:186: undefined reference toGenerateLocalX25519Key' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:191: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:211: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:212: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:213: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:214: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:211: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_agreement_test.o):/home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_agreement_test.c:212: more undefined references to TestFreeBlob' follow [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_bn_exp_mod_test.o): in functionHksBnExpModTest001_runTest': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:137: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:142: undefined reference toTestConstructBlobOut' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:147: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:152: undefined reference toTestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:160: undefined reference to HksBnExpModRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:164: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:165: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:166: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:167: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:164: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_bn_exp_mod_test.o):/home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_bn_exp_mod_test.c:165: more undefined references to TestFreeBlob' follow [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:91: undefined reference to BaseTestCipher' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest002': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:99: undefined reference to BaseTestCipher' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest010': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:163: undefined reference to BaseTestCipher' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest003': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:107: undefined reference to BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest004': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:115: undefined reference to BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest005': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:123: undefined reference to BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest006': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:131: undefined reference to BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest007': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:139: undefined reference to BaseTestEncrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest008': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:147: undefined reference to BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest009': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:155: undefined reference to BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest011': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:171: undefined reference to BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_cipher_test.o): in functionExecHksCipherTest012': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_cipher_test.c:179: undefined reference to BaseTestDecrypt' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_delete_test.o): in functionExecHksDeleteTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:62: undefined reference to TestGenDefaultKeyAndGetAlias' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:72: undefined reference toHksDeleteKeyRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:75: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_delete_test.c:75: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in function BaseTestDerive': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:210: undefined reference toHuksGenerateKey' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:224: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in functionDeriveKey': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:192: undefined reference to TestConstructDeriveParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:195: undefined reference toHksDeriveKeyRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in function BaseTestDerive': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:245: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:246: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:247: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:248: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:207: undefined reference toGenerateLocalRandomKey' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:213: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_derive_test.o): in functionDeriveKey': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:176: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_derive_test.c:179: undefined reference toTestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_exist_test.o): in function ExecHksExistTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:66: undefined reference toTestGenDefaultKeyAndGetAlias' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:67: undefined reference to HksKeyExistRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_exist_test.c:83: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_generate_key_test.o): in functionExecHksGenerateKeyTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:110: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:128: undefined reference toTestConstructGenerateKeyParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:132: undefined reference to TestConstructGenerateKeyParamSetOut' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:137: undefined reference toHksGenerateKeyRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:148: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_key_test.c:148: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_generate_random_test.o): in function ExecHksGenerateRandomTest001': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:96: undefined reference toTestConstructBlobOut' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:103: undefined reference to HksGenerateRandomRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:109: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_generate_random_test.c:109: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_hash_test.o): in functionExecHksHashTestCommon': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:117: undefined reference to TestConstructHashParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:122: undefined reference toTestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:129: undefined reference to TestConstructBlobOut' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:136: undefined reference toHksHashRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:143: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_hash_test.c:144: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function BaseTestMac': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:317: undefined reference toHuksGenerateKey' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function ConstructDataToBlob': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:258: undefined reference toTestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:265: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in functionMac': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:286: undefined reference to TestConstructMacParamSet' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:298: undefined reference toHksMacRun' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function BaseTestMac': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:348: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:349: undefined reference to TestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:350: undefined reference toTestFreeBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:310: undefined reference to TestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:320: undefined reference toTestConstuctBlob' [OHOS ERROR] /opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: /home/harmony/BR4/out/gateway/br4/libs/libmodule_ActsHuksHalFunctionTest.a(libmodule_ActsHuksHalFunctionTest.hks_mac_test.o): in function Mac': [OHOS ERROR] /home/harmony/BR4/out/gateway/br4/../../../test/xts/acts/security_lite/huks/liteos_m_adapter/hks_mac_test.c:294: undefined reference toTestConstructMacParamSet' [OHOS ERROR] collect2: error: ld returned 1 exit status

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部