-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during make flash monitor #50
Comments
Im having this same issue! Using Windows 10 with WSL and "native" Ubuntu though, not using MSYS. Anyone have any ideas? I'd really like to try out this program...looks incredible. /mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/build/bootloader/bootloader_support/libbootloader_support.a(CC build/mbedtls/mbedtls/library/pk_wrap.o /home/Ben/esp/esp-idfCC build/mbedtls/mbedtls/library/pkparse.o |
Hello. I encountered the same issue... and solved it: this is due to a bad version of esp-idf.
(WARNING: the version hash may be updated in the future. please verify in the README file). |
make flash monitor
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
LD build/bootloader/bootloader.elf
C:/msys32/home/Avi/lws-esp32-factory/build/bootloader/bootloader_support\libboot loader_support.a(esp_image_format.o):(.literal.image_load+0x34): undefined refer ence to
_loader_text_start' C:/msys32/home/Avi/lws-esp32-factory/build/bootloader/bootloader_support\libboot loader_support.a(esp_image_format.o):(.literal.image_load+0x38): undefined refer ence to
_loader_text_end'C:/msys32/home/Avi/lws-esp32-factory/build/bootloader/bootloader_support\libboot loader_support.a(flash_partitions.o):(.literal.esp_partition_table_verify+0x24): undefined reference to
MD5Init' C:/msys32/home/Avi/lws-esp32-factory/build/bootloader/bootloader_support\libboot loader_support.a(flash_partitions.o):(.literal.esp_partition_table_verify+0x28): undefined reference to
MD5Update'C:/msys32/home/Avi/lws-esp32-factory/build/bootloader/bootloader_support\libboot loader_support.a(flash_partitions.o):(.literal.esp_partition_table_verify+0x2c): undefined reference to
MD5Final' C:/msys32/home/Avi/lws-esp32-factory/build/bootloader/bootloader_support\libboot loader_support.a(flash_partitions.o): In function
esp_partition_table_verify':C:/msys32/home/Avi/esp/esp-idf/components/bootloader_support/src/flash_partition s.c:52: undefined reference to
MD5Init' C:/msys32/home/Avi/esp/esp-idf/components/bootloader_support/src/flash_partition s.c:53: undefined reference to
MD5Update'C:/msys32/home/Avi/esp/esp-idf/components/bootloader_support/src/flash_partition s.c:54: undefined reference to `MD5Final'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/home/Avi/esp/esp-idf/make/project.mk:458: /home/Avi/lws-esp32-fac tory/build/bootloader/bootloader.elf] Error 1
make: *** [/home/Avi/lws-esp32-factory/components/bootloader/Makefile.projbuild: 40: /home/Avi/lws-esp32-factory/build/bootloader/bootloader.bin] Error 2
The text was updated successfully, but these errors were encountered: