Skip to content

Removed function mbedtls_md5_starts in WebAuthentication.cpp results in build error #32

Open
@Erriez

Description

@Erriez

Thanks for creating this great tutorial! Very well explained and easy to follow.

Line lib_deps = ESP Async WebServer in platform.ini results in a build error:

Linking .pio/build/esp32doit-devkit-v1/firmware.elf
/home/user/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32doit-devkit-v1/libc09/libESP Async WebServer.a(WebAuthentication.cpp.o):(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts'
/home/user/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: .pio/build/esp32doit-devkit-v1/libc09/libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)':
/home/user/Documents/PlatformIO/Projects/ESP32-Websocket/.pio/libdeps/esp32doit-devkit-v1/ESP Async WebServer/src/WebAuthentication.cpp:73: undefined reference to `mbedtls_md5_starts'
collect2: error: ld returned 1 exit status
*** [.pio/build/esp32doit-devkit-v1/firmware.elf] Error 1

This issue has already reported in me-no-dev/ESPAsyncWebServer#1147 and is waiting for a new release.

A temporary workaround until the developer creates an updated library is to change:

-From: lib_deps = ESP Async WebServer
+To: lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer.git

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions