Compiling using the latest sdk fails
Posted: Tue Sep 29, 2015 9:35 pm
When compiling the esphttpd project using the 1.4.0 sdk I get the following errors:
Does anyone know why this happens?
Code: Select all
CC espfs/espfs.c
espfs/espfs.c: In function 'espFsOpen':
espfs/espfs.c:161:4: error: too many arguments to function 'pvPortMalloc'
r=(EspFsFile *)os_malloc(sizeof(EspFsFile)); //Alloc file desc mem
^
In file included from ./include/esp8266.h:18:0,
from espfs/espfs.c:23:
./include/espmissingincludes.h:37:7: note: declared here
void *pvPortMalloc(size_t xWantedSize);
^
espfs/espfs.c: In function 'espFsClose':
espfs/espfs.c:270:2: error: too many arguments to function 'vPortFree'
os_free(fh);
^
In file included from ./include/esp8266.h:18:0,
from espfs/espfs.c:23:
./include/espmissingincludes.h:40:6: note: declared here
void vPortFree(void *ptr);
^
Makefile:151: recipe for target 'build/espfs/espfs.o' failed
Does anyone know why this happens?