whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.18k stars 222 forks source link

ld returned 1 exit status #416

Closed TotallyNotSethP closed 1 year ago

TotallyNotSethP commented 1 year ago
$ make flash

Using  sdkconfig file
Finding a serial port with USB VID:PID 1A86:7523 ...
Finded /dev/ttyUSB0
Toolchain path: /home/totallynotseth/.espressif/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
LD build/bootloader/bootloader.elf
/home/totallynotseth/.espressif/tools/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [/home/totallynotseth/Desktop/esp/esp-idf/make/project.mk:517: /home/totallynotseth/Desktop/esp/Lua-RTOS-ESP32/build/bootloader/bootloader.elf] Error 1
make: *** [/home/totallynotseth/Desktop/esp/esp-idf/components/bootloader/Makefile.projbuild:41: /home/totallynotseth/Desktop/esp/Lua-RTOS-ESP32/build/bootloader/bootloader.bin] Error 2
TotallyNotSethP commented 1 year ago

nvm make clean fixed it