I get a strange error when compling esphttpd from git (dowloaded yesterday) the clone from friday is OK. Ihave used both older and newer SDK. What is wrong, and how do i solve this, or just wait for new fixes?
The error:
werner@ubuntu:~/esphttpd$ make
CC user/auth.c
In file included from include/espmissingincludes.h:4:0,
from user/auth.c:25:
/opt/Espressif/ESP8266_SDK-9.3//include/stdint.h:83:5: error: "TENSILICA" is not defined [-Werror=undef]
#if TENSILICA || 1
^
/opt/Espressif/ESP8266_SDK-9.3//include/stdint.h:84:20: error: conflicting types for 'int32_t'
typedef signed int int32_t;
^
In file included from /opt/Espressif/ESP8266_SDK-9.3//include/ets_sys.h:11:0,
from /opt/Espressif/ESP8266_SDK-9.3//include/os_type.h:10,
from /opt/Espressif/ESP8266_SDK-9.3//include/user_interface.h:9,
from user/auth.c:17:
/opt/Espressif/ESP8266_SDK-9.3//include/c_types.h:17:29: note: previous declaration of 'int32_t' was here
typedef signed long int32_t;
^
In file included from include/espmissingincludes.h:4:0,
from user/auth.c:25:
/opt/Espressif/ESP8266_SDK-9.3//include/stdint.h:85:22: error: conflicting types for 'uint32_t'
typedef unsigned int uint32_t;
^
In file included from /opt/Espressif/ESP8266_SDK-9.3//include/ets_sys.h:11:0,
from /opt/Espressif/ESP8266_SDK-9.3//include/os_type.h:10,
from /opt/Espressif/ESP8266_SDK-9.3//include/user_interface.h:9,
from user/auth.c:17:
/opt/Espressif/ESP8266_SDK-9.3//include/c_types.h:15:29: note: previous declaration of 'uint32_t' was here
typedef unsigned long uint32_t;
^
In file included from include/espmissingincludes.h:4:0,
from user/auth.c:25:
/opt/Espressif/ESP8266_SDK-9.3//include/stdint.h:123:5: error: "__have_long64" is not defined [-Werror=undef]
#if __have_long64
^
/opt/Espressif/ESP8266_SDK-9.3//include/stdint.h:220:6: error: "__int_fast64_t_defined" is not defined [-Werror=undef]
#if !__int_fast64_t_defined
^
/opt/Espressif/ESP8266_SDK-9.3//include/stdint.h:308:5: error: "__have_long64" is not defined [-Werror=undef]
#if __have_long64
^
/opt/Espressif/ESP8266_SDK-9.3//include/stdint.h:320:5: error: "__have_long64" is not defined [-Werror=undef]
#if __have_long64
^
cc1: all warnings being treated as errors
make: *** [build/user/auth.o] Error 1