-
Notifications
You must be signed in to change notification settings - Fork 1.3k
compilation error with ESP 2.01 library compilation erreur WebAuthentication.cpp:73: undefined reference to mbedtls_md5_starts' #1085
Comments
**I found I think in Arduino new package old mbedtls have been removed (depreciated...) extract from md(. h in new package ....* _* /**
*/ /**
*/ /**
*/ #undef MBEDTLS_DEPRECATED |
meet the same issue |
As I try to explain You can try to solve by replacing obsolet call by the new one ...I did not test all function but for me there is no compilation issue and the server is working fine ..... |
Hi, sorry to ask. @fbell58 what do I have to do exactly? |
you must modify WebAuthentication.cpp as this (it is working for me but of course i did not make all the possible tests for any specific case ....) you modify in the library directory your_directory/Arduino/libraries/ESPAsyncWebServer-master/src/WebAuthentication.cpp line 72 with this (the comment are the old line ......) #ifdef ESP32 |
ok, thank you |
Now could be a library version number issue. |
Thank you @fbell58 |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
needs to be fixed, not stale! |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
ainda errado |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
Manual workaround in forked repo me-no-dev#1085 (comment)
This has been fixed by 17a8d44 @fbell58 install the latest version of the library from this GitHub repository (make sure you don't install one of the forks which haven't pulled down the fix), then check to see if the bug is fixed. If so, you can close the issue by clicking the "Close issue" button here on the issue web page. |
i have a sckech witch is compling ok in version 1.6 of ESP32 library arduino software (ESP32 Arduino Release 1.0.6 based on ESP-IDF v3.3.5)
I have upgrade to the new 2.0.1 ESP library soft (ESP32 Arduino 2.0.1 based on ESP-IDF 4.4)
and I get the following error ? anay idea of what I can do to solde that ?
Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: libraries/ESPAsyncWebServer-master/WebAuthentication.cpp.o: in function
getMD5(unsigned char*, unsigned short, char*)': /Volumes/homes-1/NAS_francois/Drive/Arduino/libraries/ESPAsyncWebServer-master/src/WebAuthentication.cpp:73: undefined reference to
mbedtls_md5_starts'The text was updated successfully, but these errors were encountered: