移植OTA_binary_ca_cert_pem_start未定义

bifenggang
Posts: 28
Joined: Tue Jul 06, 2021 3:19 am

移植OTA_binary_ca_cert_pem_start未定义

Postby bifenggang » 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函数就行编译成功,麻烦看下什么问题,谢谢

bifenggang
Posts: 28
Joined: Tue Jul 06, 2021 3:19 am

Re: 移植OTA_binary_ca_cert_pem_start未定义

Postby bifenggang » Tue Mar 08, 2022 9:40 am

bin文件问题,结贴

YSY65536
Posts: 4
Joined: Thu Aug 17, 2023 8:27 am

Re: 移植OTA_binary_ca_cert_pem_start未定义

Postby YSY65536 » Sat Oct 07, 2023 8:38 am

您好,请问怎么解决的呢,我也遇到这个问题

GuaGua
Posts: 2
Joined: Mon Dec 18, 2023 1:24 am

Re: 移植OTA_binary_ca_cert_pem_start未定义

Postby GuaGua » Mon Dec 18, 2023 1:26 am

可以说一下怎么解决的吗,我也遇到了这个问题

Who is online

Users browsing this forum: No registered users and 56 guests