Page 1 of 1
: undefined reference to `_binary_aws_root_ca_pem_start'
Posted: Tue Apr 11, 2023 6:23 pm
by madhusudan_jadhav
c:/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(aws_iot_core.c.obj):(.literal.aws_iot_task+0x1c): undefined reference to `_binary_aws_root_ca_pem_start'
c:/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(aws_iot_core.c.obj):(.literal.aws_iot_task+0x20): undefined reference to `_binary_certificate_pem_crt_start'
c:/espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/11.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(aws_iot_core.c.obj):(.literal.aws_iot_task+0x24): undefined reference to `_binary_private_pem_key_start'
collect2.exe: error: ld returned 1 exit status
Re: : undefined reference to `_binary_aws_root_ca_pem_start'
Posted: Wed Apr 12, 2023 3:49 am
by madhusudan_jadhav
I am testing it on ESP IDF 5.0.1 and even i have added tearget bnary data in cmakelist in main src file
Re: : undefined reference to `_binary_aws_root_ca_pem_start'
Posted: Wed Apr 12, 2023 4:16 am
by madhusudan_jadhav
E:/esp-idf-v5.0.1/workspace/MiTask/certs/aws-root-ca.pem
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error in CMakeLists.txt:
Cannot find source file:
E:/esp-idf-v5.0.1/workspace/MiTask/certs/certificate.client.crt
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error in CMakeLists.txt:
Cannot find source file:
E:/esp-idf-v5.0.1/workspace/MiTask/certs/private.client.key
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
it is now connected but this one is coming
certs\aws-root-ca.pem Invalid character escape '\a'.
Posted: Wed Apr 12, 2023 4:36 am
by madhusudan_jadhav
certs\aws-root-ca.pem
Invalid character escape '\a'.
now this fault is comig