[SOLVED] Compile error: Compile error:

При компиляции Скетча примера ESP8266_Standalone, наблюдаю ошибку:

In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/BlynkSimpleEsp8266.h:15:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/examples/BoardsAndShields/ESP8266_Standalone/ESP8266_Standalone.ino:26:
/home/anton/Arduino/libraries/blynk-library-0.2.1/BlynkApiArduino.h:44:6: warning: always_inline function might not be inlinable [-Wattributes]
void BlynkApi::processCmd(const void* buff, size_t len)

  ^

In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/BlynkSimpleEsp8266.h:16:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/examples/BoardsAndShields/ESP8266_Standalone/ESP8266_Standalone.ino:26:
/home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkProtocol.h:159:6: warning: always_inline function might not be inlinable [-Wattributes]
void BlynkProtocol::processInput(void)
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:158:5: error: previous declaration of ‘int atoi(const char*)’ with ‘C++’ linkage
int atoi(const char *nptr);
^
In file included from /home/anton/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/xtensa-lx106-elf/include/stdint.h:12:0,
from /home/anton/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdint.h:9,
from /home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/c_types.h:8,
from /home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:11,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/xtensa-lx106-elf/include/stdlib.h:70:5: error: conflicts with new declaration with ‘C’ linkage
int _EXFUN(atoi,(const char *__nptr));
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:173:6: error: previous declaration of ‘void ets_intr_lock()’ with ‘C++’ linkage
void ets_intr_lock();
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:26:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/Arduino.h:137:20: error: conflicts with new declaration with ‘C’ linkage
void ets_intr_lock();
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:174:6: error: previous declaration of ‘void ets_intr_unlock()’ with ‘C++’ linkage
void ets_intr_unlock();
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:26:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/Arduino.h:138:22: error: conflicts with new declaration with ‘C’ linkage
void ets_intr_unlock();
^
exit status 1
Ошибка компиляции.

OS: Ubuntu v.14.04 LTS
Android IDE v.1.6.7
ESP8266 Community v.2.0.0
Blynk v.0.2.1

Волный перевод Google - The free Google translation

When compiling the Sketch example ESP8266 Standalone, I observe the error:

In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/BlynkSimpleEsp8266.h:15:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/examples/BoardsAndShields/ESP8266_Standalone/ESP8266_Standalone.ino:26:
/home/anton/Arduino/libraries/blynk-library-0.2.1/BlynkApiArduino.h:44:6: warning: always_inline function might not be inlinable [-Wattributes]
void BlynkApi::processCmd(const void* buff, size_t len)

  ^

In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/BlynkSimpleEsp8266.h:16:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/examples/BoardsAndShields/ESP8266_Standalone/ESP8266_Standalone.ino:26:
/home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkProtocol.h:159:6: warning: always_inline function might not be inlinable [-Wattributes]
void BlynkProtocol::processInput(void)
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:158:5: error: previous declaration of ‘int atoi(const char*)’ with ‘C++’ linkage
int atoi(const char *nptr);
^
In file included from /home/anton/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/xtensa-lx106-elf/include/stdint.h:12:0,
from /home/anton/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/lib/gcc/xtensa-lx106-elf/4.8.2/include/stdint.h:9,
from /home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/c_types.h:8,
from /home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:11,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/xtensa-lx106-elf/include/stdlib.h:70:5: error: conflicts with new declaration with ‘C’ linkage
int _EXFUN(atoi,(const char *__nptr));
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:173:6: error: previous declaration of ‘void ets_intr_lock()’ with ‘C++’ linkage
void ets_intr_lock();
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:26:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/Arduino.h:137:20: error: conflicts with new declaration with ‘C’ linkage
void ets_intr_lock();
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:17:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/tools/sdk/include/ets_sys.h:174:6: error: previous declaration of ‘void ets_intr_unlock()’ with ‘C++’ linkage
void ets_intr_unlock();
^
In file included from /home/anton/Arduino/libraries/blynk-library-0.2.1/Blynk/BlynkDebug.h:26:0,
from /home/anton/Arduino/libraries/blynk-library-0.2.1/utility/BlynkDebug.cpp:10:
/home/anton/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/Arduino.h:138:22: error: conflicts with new declaration with ‘C’ linkage
void ets_intr_unlock();
^
exit status 1
Ошибка компиляции.

OS: Ubuntu v.14.04 LTS
Android IDE v.1.6.7
ESP8266 Community v.2.0.0
Blynk v.0.2.1

Blynk v.0.2.1 is VERY old. Use 0.3.1 at least!

Большое спасибо, действительно в этом была проблема:)
К сожалению мне удалось найти только v.0.3.3.beta, надеюсь у меня с ней не возникнет больших проблем:(


Thank you very much, this was really a problem :slight_smile:
Unfortunately I found only v.0.3.3.beta, I hope it will not have big problems :frowning: