Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By nicoverduin
#1467 No doubt my lack of experience with Ubuntu 14.04 ... I have tried to do the first setup displayed on http://nurdspace.nl/ESP8266/First_setup.
I managed to get up to step 4 but when I tried to compile AT, the compiler stops giving the following messages
Code: Select allnico@nico-ubuntu:~/esp_sources/at$ make
CC driver/uart.c
CC user/at_baseCmd.c
CC user/at_cmd.c
CC user/at_ipCmd.c
In file included from /usr/include/stdlib.h:314:0,
                 from user/at_ipCmd.c:9:
/usr/include/i386-linux-gnu/sys/types.h:188:15: error: conflicting types for 'int32_t'
   typedef int int##N##_t __attribute__ ((__mode__ (MODE)))
               ^
/usr/include/i386-linux-gnu/sys/types.h:196:1: note: in expansion of macro '__intN_t'
 __intN_t (32, __SI__);
 ^
In file included from user/at_ipCmd.c:1:0:
/opt/Espressif/ESP8266_SDK/include/c_types.h:17:29: note: previous declaration of 'int32_t' was here
 typedef signed long         int32_t;
                             ^
make: *** [build/user/at_ipCmd.o] Error 1


Seems to me I f.cked up somewhere :mrgreen: Any help would be appreciated. I did install Eclipse C/C++ as well but I am assuming (I know.. I know "the mother of all f.ckups :mrgreen: :mrgreen: ) that both C compilers would be installed without interference.

Regards
Nico Verduin
Netherlands