-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem resolved ? "Arduino\libraries\ESPAsyncWebSrv\src\WebAuthentication.cpp:74:3: error: 'mbedtls_md5_starts_ret' was not declared in this scope; did you mean 'mbedtls_md5_starts'?" #1419
Comments
update your ESPAsyncWebServer library. It has been fixed to compile and work with v3 |
I don't think it's been fixed yet /Arduino/libraries/ESPAsyncWebServer/src/WebAuthentication.cpp: In function 'bool getMD5(uint8_t*, uint16_t, char*)':
/Arduino/libraries/ESPAsyncWebServer/src/WebAuthentication.cpp:74:3: error: 'mbedtls_md5_starts_ret' was not declared in this scope; did you mean 'mbedtls_md5_starts'?
74 | mbedtls_md5_starts_ret(&_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_starts
/Arduino/libraries/ESPAsyncWebServer/src/WebAuthentication.cpp:75:3: error: 'mbedtls_md5_update_ret' was not declared in this scope; did you mean 'mbedtls_md5_update'?
75 | mbedtls_md5_update_ret(&_ctx, data, len);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_update
/Arduino/libraries/ESPAsyncWebServer/src/WebAuthentication.cpp:76:3: error: 'mbedtls_md5_finish_ret' was not declared in this scope; did you mean 'mbedtls_md5_finish'?
76 | mbedtls_md5_finish_ret(&_ctx, _buf);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_finish
/Arduino/libraries/ESPAsyncWebServer/src/AsyncEventSource.cpp: In member function 'void AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage*)':
/Arduino/libraries/ESPAsyncWebServer/src/AsyncEventSource.cpp:189:7: error: 'ets_printf' was not declared in this scope; did you mean 'vswprintf'?
189 | ets_printf("ERROR: Too many messages queued\n");
| ^~~~~~~~~~
| vswprintf
/Arduino/libraries/ESPAsyncWebServer/src/AsyncWebSocket.cpp: In member function 'void AsyncWebSocketClient::_queueMessage(AsyncWebSocketMessage*)':
/Arduino/libraries/ESPAsyncWebServer/src/AsyncWebSocket.cpp:549:7: error: 'ets_printf' was not declared in this scope; did you mean 'vswprintf'?
549 | ets_printf("ERROR: Too many messages queued\n");
| ^~~~~~~~~~
| vswprintf
Error during build: exit status 1 Versions:
|
Still not fixed |
No fixed for me either, latest versions: |
The library available through the Arduino Library Manager (ESPAsyncWebServer: 3.1.0 ) is a different fork maintained by someone else. At the time I write this that fork is still failing to build. This fork, maintained by me-no-dev, does not have those errors. You will need to remove the ESPAsyncWebServer library then install the library from this repository manually. |
Ok ideal thanks I'll try that this week and report back
…On 6 Jul 2024, 10:21, at 10:21, lizardb0y ***@***.***> wrote:
> No fixed for me either, latest versions: ESPAsyncWebServer: 3.1.0
esp32: 3.0.2
The library available through the Arduino Library Manager
(ESPAsyncWebServer: 3.1.0 ) is a different fork maintained by someone
else. At the time I write this that fork is still failing to build.
This fork, maintained by me-no-dev, does not have those errors.
You will need to remove the ESPAsyncWebServer library then install the
library from this repository manually.
--
Reply to this email directly or view it on GitHub:
#1419 (comment)
You are receiving this because you commented.
Message ID:
***@***.***>
|
The compilation was successful at ESP32 V2 and no AsyncWebServer installed, just installed the AsyncWebSrv (up to 1.2.7) NOT successful at ESP32 V3.x |
I solved your error in the library from this fork Changed in Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp |
👍🏻 |
As the ESP32 Boards Package updated to V3 in Arduino IDE, many issues or compilation errors come out, any updated version of ESPAsyncWebServer resolve the above problem?
The text was updated successfully, but these errors were encountered: