-
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
simple_server.ino #1391
Comments
I had exactly the same issue with an esp32 Wroom-32D and the Arduino IDE 2.3.2. I have also tried other AsyncWebServer libraries with the same error. |
I am facing same issue. |
My solution: |
Without getting error with other esp32 boards I did do following edit in the library files Changed in Arduino\libraries\ESPAsyncWebServer\src\WebAuthentic |
OK, so I had the same problem. Started to modify a program I last touched a year or two ago and it wouldn't compile after I updated all my libraries and board definitions. In addition to the changes listed by ednieuw above, I also changed in line 323 if(_sent == _len){cpp -> if(_sent == _len){ Don't know how that "cpp" crept in there. |
Board: XIAO ESP32C3
https://github.com/espressif/arduino-esp32 3.0.0-alpha3
Arduino IDE 2.3.2
d:\Arduino\Sketchbook\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp: In function 'bool getMD5(uint8_t*, uint16_t, char*)':
d:\Arduino\Sketchbook\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
d:\Arduino\Sketchbook\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
d:\Arduino\Sketchbook\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
d:\Arduino\Sketchbook\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp: In member function 'void AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage*)':
d:\Arduino\Sketchbook\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
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered: