• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Build webservers 2nd edition, build problems

Q&A Forum › Category: ESP32 › Build webservers 2nd edition, build problems
0 Vote Up Vote Down
John van Iersel asked 3 years ago

on first round the course went well.
after a while I wanted to look back to what I did due to the next book I am working on (Firebase)
1.1 sample works well
1.2 sample (with SPIFFS) doesnt build anymore.
I get this message
Linking .pio\build\esp32doit-devkit-v1\firmware.elf
c:/users/johnv/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\libeb8\libESP Async WebServer.a(WebAuthentication.cpp.o):(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts’
c:/users/johnv/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32doit-devkit-v1\libeb8\libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)’:
D:\Documents\PlatformIO\Projects\1_2_Hello_World_WS_SPIFFS/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebAuthentication.cpp:73: undefined reference to `mbedtls_md5_starts’
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32doit-devkit-v1\firmware.elf] Error 1
Reinstalled VS etc., and started over at beginning of the book, Did not help.
Any idea how I can get going again?

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi John.
Did you try with another board? Have you tried uploading any other code to the board?
How did you install the ESPAsyncWebServer library?
Regards,
Sara

0 Vote Up Vote Down
John van Iersel answered 3 years ago

Thanks for the fast reply Sara.
I did try another ESP32 board, boards work with blink LED and with 1.1 Hello World WS 
Hello World has in the platform.ini also ESP ASYNC Webserver, so I think it is strange that 1.2 Hello World WS SPIFFS does not even build but gives the error above, so I cannot upload it to the board
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
It seems there is an issue with a recent library updated.
Check this discussion and try the suggested workaround: https://github.com/me-no-dev/ESPAsyncWebServer/issues/1147
Regards,
Sara

0 Vote Up Vote Down
John van Iersel answered 3 years ago

Thanks Sara,
Changing the platform in platform.ini to: platform = espressif32@3.5.0 worked!
Might be a helpful workaround for others as well.
This definitely brought my fun to work on your course books back!,
John

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

That’s great!
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.