移植OTA_binary_ca_cert_pem_start未定义
Posted: Tue Mar 08, 2022 3:18 am
App "sample_project" version: d477290-dirty
LD build/sample_project.elf
/root/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /nfsroot/esp32/idfproj-beta/build/ota/libota.a(local_ota.o):(.literal.user_parse_json+0x64): undefined reference to `_binary_ca_cert_pem_start'
collect2: error: ld returned 1 exit status
/nfsroot/esp-idf-v4.3/make/project.mk:563: recipe for target '/nfsroot/esp32/idfproj-beta/build/sample_project.elf' failed
make: *** [/nfsroot/esp32/idfproj-beta/build/sample_project.elf] Error 1
ESP-IDF3.5我在自己的程序上移植了simple_ota_example,编译后发现以上错误,好像是_binary_ca_cert_pem_start未定义什么的,但是去掉esp_https_ota函数就行编译成功,麻烦看下什么问题,谢谢
LD build/sample_project.elf
/root/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /nfsroot/esp32/idfproj-beta/build/ota/libota.a(local_ota.o):(.literal.user_parse_json+0x64): undefined reference to `_binary_ca_cert_pem_start'
collect2: error: ld returned 1 exit status
/nfsroot/esp-idf-v4.3/make/project.mk:563: recipe for target '/nfsroot/esp32/idfproj-beta/build/sample_project.elf' failed
make: *** [/nfsroot/esp32/idfproj-beta/build/sample_project.elf] Error 1
ESP-IDF3.5我在自己的程序上移植了simple_ota_example,编译后发现以上错误,好像是_binary_ca_cert_pem_start未定义什么的,但是去掉esp_https_ota函数就行编译成功,麻烦看下什么问题,谢谢