I'm facing a similar issue with (it seems) the right toolchain, compiling the same 'hello_world' code... I'm running Ubuntu 20.04. I tried to find information in different spots, but unfortunately, I hit a rock...
Please, may somebody to give a hand?
Thank you in advance!
Here are the messages, I'm receiving:
Toolchain path: /home/$USER/esp/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-100-ge567ec7
Expected to see version: esp-2020r3-49-gd5524c1
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 5.2.0
Expected to see version(s): 8.4.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Python requirements from /home/svilen/esp/ESP8266_RTOS_SDK/requirements.txt are satisfied.
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-100-ge567ec7
Expected to see version: esp-2020r3-49-gd5524c1
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 5.2.0
Expected to see version(s): 8.4.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Project is not inside a git repository, or git repository has no commits
will not use 'git describe' to determine PROJECT_VER.
App "hello-world" version: 1
LD build/hello-world.elf
/home/$USER/esp/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld: cannot find -lc_nano
collect2: error: ld returned 1 exit status
make: *** [/home/$USER/esp/ESP8266_RTOS_SDK/make/project.mk:510: /home/$USER/esp/hello_world/build/hello-world.elf] Error 1
Thank you in advance again!