• 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

I keep getting an error when uploading project "1.2-Hello World Web Server" (from the ESP32 Webserver Book)

Q&A Forum › Category: ESP32 › I keep getting an error when uploading project "1.2-Hello World Web Server" (from the ESP32 Webserver Book)
0 Vote Up Vote Down
Timur Izmailov asked 2 weeks ago

I keep getting an error when uploading a project “1.2-Hello World Web Server” (from the Build WebServers eBook-2nd edition).
I followed all the instructions carefully:
-using ESP32 DOIT DevKit v1
-using PlatformIO on VSCode
the error is:
c:/users/izmai/.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\libabc\libESP Async WebServer.a(WebAuthentication.cpp.o):(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts’
c:/users/izmai/.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\libabc\libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)’:
C:\Users\izmai\Documents\PlatformIO\Projects\test_filesystem_webserver/.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
 
PS: The previous example worked fine.

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Hi.
Due to an update of the ESP32, you might need to replace the platform to espressif32@3.5.0 instead espressif32 in the platformio.ini file.

Let me know if this solves the issue and I’m sorry for the inconvenience.
Regards, Sara

0 Vote Up Vote Down
Timur Izmailov answered 2 weeks ago

That seems to have helped. Thank you.

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.