Coder Social home page Coder Social logo

Comments (2)

benjamintyler avatar benjamintyler commented on July 2, 2024

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
esp_image_format.o):(.literal.image_load+0x34): undefined reference to _loader_text_start' /mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/build/bootloader/bootloader_support/libbootloader_support.a(esp_image_format.o):(.literal.image_load+0x38): undefined reference toCC build/mbedtls/mbedtls/library/ecp_curves.o _loader_text_end'
/mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/build/CC build/libsodium/port/randombytes_esp32.o
bootloader/bootloader_support/CC build/freertos/timers.o
libbootloader_support.a(flash_partitions.o):(.literal.esp_partition_table_verify+0x24): undefined reference to MD5Init' /mnt/c/CC build/libsodium/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.o Users/Ben/Dropbox/ESP-IDF/lwsCC build/freertos/FreeRTOS-openocd.o -esp32CC build/mbedtls/mbedtls/library/pkcs12.o -factory/build/bootloader/bootloader_support/libbootloader_support.a(flash_partitions.o):CC build/libsodium/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.o (CC build/freertos/xtensa_overlay_os_hook.o .literal.esp_partition_table_verify+0x28): undefined reference to MD5Update'
/mnt/c/Users/CC build/mbedtls/mbedtls/library/ccm.o
Ben/Dropbox/ESP-IDF/lws-esp32-CC build/libsodium/libsodium/src/libsodium/crypto_auth/crypto_auth.o
factory/AS build/freertos/xtensa_intr_asm.o
build/bootloader/bootloader_support/libbootloader_support.a(flash_partitions.o):(.literal.esp_partition_table_verify+AS build/freertos/xtensa_context.o
0x2c)CC build/libsodium/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256.o
: undefined referenceCC build/mbedtls/mbedtls/library/pkcs5.o
to MD5Final' /mnt/c/Users/Ben/Dropbox/ESP-AS build/freertos/xtensa_vectors.o IDF/lws-esp32-factory/build/bootloader/bootloader_support/libbootloader_support.a(flash_partitions.oCC build/libsodium/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512.o ): In function esp_partition_table_verify':AS build/freertos/xtensa_vector_defaults.o

/home/Ben/esp/esp-idfCC build/mbedtls/mbedtls/library/pkparse.o
/components/bootloader_support/src/flash_partitions.c:52:CC build/libsodium/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256.o
undefinedAS build/freertos/portasm.o
reference to MD5Init' /home/Ben/esp/esp-idf/components/bootloader_support/src/flash_partitions.c:53:AR build/freertos/libfreertos.a undefined reference to MD5UpdateCC build/libsodium/libsodium/src/libsodium/crypto_box/crypto_box_seal.o
'
/home/Ben/esp/esp-idf/components/bootloader_support/src/flash_partitions.c:54: undefined reference to `MD5Final'
collect2: error: ld returned 1 exit status
/home/Ben/esp/esp-idf/make/project.mk:457: recipe for target '/mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/build/bootloader/bootloader.elf' failed
make[1]: *** [/mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/build/bootloader/bootloader.elf] Error 1
CC build/openssl/library/ssl_cert.o
/mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/components/bootloader/Makefile.projbuild:40: recipe for target '/mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/build/bootloader/bootloader.bin' failed
make: *** [/mnt/c/Users/Ben/Dropbox/ESP-IDF/lws-esp32-factory/build/bootloader/bootloader.bin] Error 2
make: *** Waiting for unfinished jobs....

from lws-esp32-factory.

giroudon avatar giroudon commented on July 2, 2024

Hello.

I encountered the same issue... and solved it: this is due to a bad version of esp-idf.
As stated in the README file of lws-esp32-factory, you need to force the version in esp_idf directory:

$ git reset --hard 17ac4bad7381e579e5a7775755cc25480da47d97
$ git submodule update --recursive

(WARNING: the version hash may be updated in the future. please verify in the README file).
Then you can rebuild your lws-esp32-factory without errors.

from lws-esp32-factory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.