Skip to content
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

compilation error 2 #25

Open
edanir opened this issue Jan 14, 2017 · 1 comment
Open

compilation error 2 #25

edanir opened this issue Jan 14, 2017 · 1 comment

Comments

@edanir
Copy link

edanir commented Jan 14, 2017

In file included from user/httpclient.c:12:0:
user/httpclient.c: In function 'chunked_decode':
c:/Espressif/ESP8266_SDK/include/osapi.h:17:20: error: implicit declaration of function 'ets_memmove' [-Werror=implicit-function-declaration]
#define os_memmove ets_memmove
^
user/httpclient.c:184:3: note: in expansion of macro 'os_memmove'
os_memmove(&chunked[dst], src, i);
^
cc1.exe: all warnings being treated as errors
C:/Espressif/examples/ESP8266/esphttpd/Makefile:212: recipe for target 'build/user/httpclient.o' failed
mingw32-make.exe: *** [build/user/httpclient.o] Error 1

@by2coffee
Copy link

Sadly, Espressif doesn't include the function prototype declaration for many of their SDK functions. Luckily, there is espmissinginclude.h

You should download that header file and #include it in your project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants