• 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 web servers course Problem with 1_2_hello_world_WS_SPIFFS

Q&A Forum › Category: ESP32 › Build web servers course Problem with 1_2_hello_world_WS_SPIFFS
0 Vote Up Vote Down
Jim asked 1 year ago

Previous tutorials OK but this one produces error : (currently no ESP32 connected.)
c:/users/user/.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\lib8c3\libESP Async WebServer.a(WebAuthentication.cpp.o):(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts’
c:/users/user/.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\lib8c3\libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)’:
C:\Users\user\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
============================================================= [FAILED] Took 23.53 seconds
 

Question Tags: exit status
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Which version of the eBook do you have? Check if you’re using the latest version V2.2.
Please check page 188. I recommend using Option number 2 or 3 at page 190 to fix the issue.
Let me know if this solves your problem.
Regards,
Sara

0 Vote Up Vote Down
Jim answered 1 year ago

Thanks.  That did the trick.  (& yes I am using v2.2) Will try an upload soon.  Regards, Jim.
Building .pio\build\esp32doit-devkit-v1\firmware.bin
esptool.py v4.5.1
Creating esp32 image…
Merged 25 ELF sections
Successfully created esp32 image

0 Vote Up Vote Down
Jim answered 1 year ago

Later …..  The upload was successful but the IP address, 192.168.20.27, yielded “This page cant be found” both on Chrome Browser and Opera.  But, I can PING the address OK from Windows10 CMD prompt.
Later,  OK found the advice on p 187 and now I can get HELLO WORLD.  Now ready to start 1.3 but not sure which I am going to settle on as I like both “Platforms”.
P.S. Yesterday I watched the SANTOS TOUR DOWN-UNDER on it’s way to Pt. Elliot.  You must be proud to have your surname sharing history down here in sunny South Australia.  Regards, Jim.
 
https://tourdownunder.com.au/blog-articles/race-report-hahn-men-s-stage-4-2024

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
The “This page cant be found” usually happens when you forget to upload the filesystem image.
You need to click on Upload Filesystem Image, otherwise the files will not upload to the board.
 
That’s great, thanks for sharing those news.
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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 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.