版本4.3.1在启用http client的https功能后的一个链接错误
Posted: Tue Nov 02, 2021 7:18 am
版本4.3.1
在启用http client的https功能后: 在编译完,链接时出现错误: ......
cmd.exe /C "cd . && C:\Users\APPCC\.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\call.elf.rsp -o call.elf && cd ."
c:/users/appcc/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(esp_aes.c.obj):(.literal.esp_aes_block+0x0): undefined reference to `aes_hal_transform_block'
c:/users/appcc/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(esp_aes.c.obj):(.literal.esp_aes_crypt_ecb+0xc): undefined reference to `aes_hal_setkey'
c:/users/appcc/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(esp_aes.c.obj): in function `esp_aes_block':
......
我是漏了哪里没有设置吗?
在启用http client的https功能后: 在编译完,链接时出现错误: ......
cmd.exe /C "cd . && C:\Users\APPCC\.espressif\tools\xtensa-esp32-elf\esp-2021r1-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFiles\call.elf.rsp -o call.elf && cd ."
c:/users/appcc/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(esp_aes.c.obj):(.literal.esp_aes_block+0x0): undefined reference to `aes_hal_transform_block'
c:/users/appcc/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(esp_aes.c.obj):(.literal.esp_aes_crypt_ecb+0xc): undefined reference to `aes_hal_setkey'
c:/users/appcc/.espressif/tools/xtensa-esp32-elf/esp-2021r1-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(esp_aes.c.obj): in function `esp_aes_block':
......
我是漏了哪里没有设置吗?