Undefined reference to `SHA1Update

I think I have lost the correct extension in platformIO to ESP Async WebServer - but I cannot locate it again.
I have seen a similar error - but I think it was for the Espressiv platform?
My platformIO.ini is as follows:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =ESP Async WebServer
arduino-libraries/Arduino_JSON @ 0.1.0
bakercp/CRC32@^2.0.0
me-no-dev/AsyncTCP@^1.1.1
upload_port = COM20

When I compile I get this error:

AsyncWebSocket.cpp.o):(.literal._ZN22AsyncWebSocketResponseC2ERK6StringP14AsyncWebSocket+0x18): undefined reference to `SHA1Update'
c:/users/steen spaten/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe78\libESP Async WebServer.a(AsyncWebSocket.cpp.o):(.literal._ZN22AsyncWebSocketResponseC2ERK6StringP14AsyncWebSocket+0x1c): undefined reference to `SHA1Final'
c:/users/steen spaten/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe78\libESP Async WebServer.a(AsyncWebSocket.cpp.o): in function `AsyncWebSocketResponse::AsyncWebSocketResponse(String const&, AsyncWebSocket*)':
C:\Diaprint\Projekter software\WiFi Tysk/.pio/libdeps/esp32dev/ESP Async WebServer/src/AsyncWebSocket.cpp:1269: undefined reference to `SHA1Init'
c:/users/steen spaten/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Diaprint\Projekter software\WiFi Tysk/.pio/libdeps/esp32dev/ESP Async WebServer/src/AsyncWebSocket.cpp:1270: undefined reference to `SHA1Update'
c:/users/steen spaten/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: C:\Diaprint\Projekter software\WiFi Tysk/.pio/libdeps/esp32dev/ESP Async WebServer/src/AsyncWebSocket.cpp:1271: undefined reference to `SHA1Final'
c:/users/steen spaten/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe78\libESP Async WebServer.a(WebAuthentication.cpp.o):(.literal._ZL6getMD5PhtPc+0x4): undefined reference to `mbedtls_md5_starts'
c:/users/steen spaten/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio\build\esp32dev\libe78\libESP Async WebServer.a(WebAuthentication.cpp.o): in function `getMD5(unsigned char*, unsigned short, char*)':
C:\Diaprint\Projekter software\WiFi Tysk/.pio/libdeps/esp32dev/ESP Async WebServer/src/WebAuthentication.cpp:73: undefined reference to `mbedtls_md5_starts'

Duplicate of

Yes - I have seen and tried this one - but I cannot get it working. I am missing some basic knowledge.
Perhaps I have placed the library a wrong place? How can I verify the correct path?

It says: in folder project lib ESPAsyncWebServer.zip Change src/Application.cpp Change #include <FreeRTOS.h> => #include <freertos/FreeRTOS.h> PLATFORM: Espressif 32
I don’t know why I need freeRTOS and furthermore it says it is the PLATFORM: Espressif 32 (4.1.0)

// Import required libraries
#include <Arduino.h>
#include <WiFi.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include “SPIFFS.h”
#include
#include
#include <EEPROM.h>
#include <freertos/FreeRTOS.h>
#include <CRC32.h>

Try only a change of platformio.ini, nothing else

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps =
   https://github.com/me-no-dev/ESPAsyncWebServer.git
   arduino-libraries/Arduino_JSON @ 0.1.0
   bakercp/CRC32@^2.0.0
   me-no-dev/AsyncTCP@^1.1.1
upload_port = COM20

I think your head must be filled with “0” and “1” - in large quantities and in the right order :slightly_smiling_face:

It works!
Thanks again… :hugs: