Comments (2)
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.
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)
- lws-esp32-factory/components/bootloader/Makefile.projbuild:37: *** multiple target patterns. Stop. HOT 3
- oto_choose_part will accept partition outside range HOT 2
- INFO: ota update of factory partition fails HOT 8
- lws-esp32-factory is always listed as dirty HOT 4
- Does it link on ESP32 HOT 2
- Connection terminates after approximetly 10 minutes HOT 3
- Minor: Missing "hard" for Git command in Readme HOT 1
- Lets Encrypt stops at first step
- tcp_connect: can only connect from state CLOSED
- Partition table too small for newer esp-idf HOT 4
- how to force enter app after first reboot HOT 7
- Updated alignment with esp-idf/mbedtls needed to build with latest esp-idf HOT 16
- websocket client example
- mbedtls_handshake: ssl ret -6900 state 8
- arduino-esp32 support ?
- multiple definition of api functions when using openssl api functions HOT 1
- build fail for lws-esp32-factory HOT 12
- Can this be used on esp8266 HOT 1
- Please give me an esp8266 program about LWS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lws-esp32-factory.