include <stdlib.h> missing in esp_bignum.c

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

include <stdlib.h> missing in esp_bignum.c

Postby jumjum123 » Wed Nov 23, 2016 11:12 am

Got this during compile for template
/home/esp32/esp-idf/components/mbedtls/port/esp_bignum.c: In function 'execute_op':
/home/esp32/esp-idf/components/mbedtls/port/esp_bignum.c:235:9: error: implicit declaration of function 'abort' [-Werror=implicit-function-declaration]
abort(); /* indicates a fundamental problem with driver */
Added "#include <stdlib.h> and now compiling runs fine

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: include <stdlib.h> missing in esp_bignum.c

Postby ESP_Angus » Wed Nov 23, 2016 9:22 pm

Thanks for reporting this as well, this is the same underlying bug as http://esp32.com/viewtopic.php?f=13&t=550 (disabling abort on untested function causes stdlib to not be included in the FreeRTOSConfig.h) Fix incoming also.

Who is online

Users browsing this forum: Baidu [Spider] and 367 guests