pfalcon / esp-open-sdk

Free and open (as much as possible) integrated SDK for ESP8266/ESP8285 chips
1.97k stars 623 forks source link

Linker can't find these libraries after a successful compilation #395

Closed reymons closed 9 months ago

reymons commented 9 months ago

I'm using GCC 12.2.0 on Debian 12.2 to compile the SDK When I'm trying to compile a code, I get this error:

/app/sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: cannot find crt1-sim.o: No such file or directory /app/sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: cannot find _vectors.o: No such file or directory /app/sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: cannot find -lsim /app/sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: cannot find -lhandlers-sim

What could possibly go wrong? Am I using too new compiler?

reymons commented 9 months ago

Use newer SDK versions https://github.com/espressif/ESP8266_RTOS_SDK/tree/master