Post topics, source code that relate to the Arduino Platform

User avatar
By FabMira
#15151 Hey guys, i'm trying to get temperature and humidity from an arduino and i want to declare the temp and hum as global variables so i can use them along my code on the ESP8266-01.

the problem i have is everytime i declare the string at the beginning of the code i get this:

Arduino:1.6.2 (Windows 8.1), Placa:"Generic ESP8266 board"

Opciones de compilación cambiadas, reconstruyendo todo

Prueba_ESP.cpp.o:(.text.startup+0x10): undefined reference to `__dso_handle'

c:/program files (x86)/arduino/hardware/esp/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Fabrizio\AppData\Local\Temp\build7730487494655680220.tmp/Prueba_ESP.cpp.elf: hidden symbol `__dso_handle' isn't defined

c:/program files (x86)/arduino/hardware/esp/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: final link failed: Bad value

collect2.exe: error: ld returned 1 exit status

Error de compilación

This report would have more information with
"Show verbose output during compilation"
activala desde Archivo > Preferencias


what can i do to fix this little problem, thanks