Page 1 of 1

移植OTA_binary_ca_cert_pem_start未定义

Posted: Tue Mar 08, 2022 3:18 am
by bifenggang
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函数就行编译成功,麻烦看下什么问题,谢谢

Re: 移植OTA_binary_ca_cert_pem_start未定义

Posted: Tue Mar 08, 2022 9:40 am
by bifenggang
bin文件问题,结贴

Re: 移植OTA_binary_ca_cert_pem_start未定义

Posted: Sat Oct 07, 2023 8:38 am
by YSY65536
您好,请问怎么解决的呢,我也遇到这个问题

Re: 移植OTA_binary_ca_cert_pem_start未定义

Posted: Mon Dec 18, 2023 1:26 am
by GuaGua
可以说一下怎么解决的吗,我也遇到了这个问题