-->
Page 1 of 1

xtensa-lx106-elf/bin/ld.exe: cannot find -lc_nano

PostPosted: Thu Mar 24, 2022 10:10 pm
by lupengfei
Generating esp8266.project.ld
LD /d/esp/AiThinkerProjectForESP/examples/get-started/hello_world/build/hello-world.elf
d:/aithinkeride_v1.5.2/msys32/opt/esp8266/v5.2.0_for_3.0/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: cannot find -lc_nano
collect2.exe: error: ld returned 1 exit status
make: *** [D:\esp\ESP8266_RTOS_SDK/make/project.mk:510: /d/esp/AiThinkerProjectForESP/examples/get-started/hello_world/build/hello-world.elf] Error 1

I'm here for an official example.
No change is an error。 :|

Re: xtensa-lx106-elf/bin/ld.exe: cannot find -lc_nano

PostPosted: Tue Apr 05, 2022 8:21 am
by rpiloverbd
Hi, Not sure, but here you may find some clues, if you already have not checked this: http://sigmaprj.com/esp8266.html

Re: xtensa-lx106-elf/bin/ld.exe: cannot find -lc_nano

PostPosted: Wed Apr 06, 2022 8:44 am
by quackmore
d:/aithinkeride_v1.5.2/msys32/opt/esp8266/v5.2.0_for_3.0/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: cannot find -lc_nano


you're missing libc_nano.a
that means you're not using the proper toolchain
google for "esp rtos toolchain" or check ESP8266_RTOS_SDK manuals