: undefined reference to `_binary_aws_root_ca_pem_start'

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

: undefined reference to `_binary_aws_root_ca_pem_start'

Postby madhusudan_jadhav » Tue Apr 11, 2023 6:23 pm

  1. 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'
  2. 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'
  3. 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'
  4. collect2.exe: error: ld returned 1 exit status

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

Re: : undefined reference to `_binary_aws_root_ca_pem_start'

Postby madhusudan_jadhav » Wed Apr 12, 2023 3:49 am

I am testing it on ESP IDF 5.0.1 and even i have added tearget bnary data in cmakelist in main src file

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

Re: : undefined reference to `_binary_aws_root_ca_pem_start'

Postby madhusudan_jadhav » Wed Apr 12, 2023 4:16 am

  1.     E:/esp-idf-v5.0.1/workspace/MiTask/certs/aws-root-ca.pem
  2.  
  3.   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  4.   .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
  5.  
  6.  
  7. CMake Error in CMakeLists.txt:
  8.   Cannot find source file:
  9.  
  10.     E:/esp-idf-v5.0.1/workspace/MiTask/certs/certificate.client.crt
  11.  
  12.   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  13.   .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
  14.  
  15.  
  16. CMake Error in CMakeLists.txt:
  17.   Cannot find source file:
  18.  
  19.     E:/esp-idf-v5.0.1/workspace/MiTask/certs/private.client.key
  20.  
  21.   Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  22.   .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
  23.  
  24.  
  25. -- Generating done
  26. CMake Generate step failed.  Build files cannot be regenerated correctly.
it is now connected but this one is coming

madhusudan_jadhav
Posts: 28
Joined: Fri Mar 10, 2023 9:05 am

certs\aws-root-ca.pem Invalid character escape '\a'.

Postby madhusudan_jadhav » Wed Apr 12, 2023 4:36 am

  1. certs\aws-root-ca.pem
  2.  
  3.   Invalid character escape '\a'.
now this fault is comig

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 134 guests