sensor-esp32 icon indicating copy to clipboard operation
sensor-esp32 copied to clipboard

error: called object 'socket' is not a function or function pointer

Open inderjeetrao opened this issue 7 years ago • 0 comments

Getting Error: CC build/oap-http/esp_request.o sensor-esp32/components/oap-http/./esp_request.c: In function 'nossl_connect': sensor-esp32/components/oap-http/./esp_request.c:128:14: error: called object 'socket' is not a function or function pointer socket = socket(PF_INET, SOCK_STREAM, 0);

It seems due to change in ESP IDF. According to the solution above changes will need to done in esp_request.c file.

inderjeetrao avatar Dec 13 '17 16:12 inderjeetrao