Arduino IDE compile error
Posted: Sat Nov 14, 2015 4:40 pm
IDE 1.6.5 and ESP8266 give report:
What to do?
Code: Select all
Arduino: 1.6.5 (Windows 7), Prototype Board: "Generic ESP8266 Module, Serial, 80 MHz, 80MHz, QIO, 115200, 512K (64K SPIFFS)"
Used library SFE_BMP180-master in directory: C:\Users\Pavel\Documents\Arduino\libraries\SFE_BMP180-master (legacy)
Used library Wire in directory: C:\Users\Pavel\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0\libraries\Wire
...
C:\Users\Pavel\AppData\Roaming\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-gcc -g -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static -LC:\Users\Pavel\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0/tools/sdk//lib -LC:\Users\Pavel\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0/tools/sdk//ld -Teagle.flash.512k.ld -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy -o C:\Users\Pavel\AppData\Local\Temp\build5054343905948391999.tmp/SFE_BMP180_example.cpp.elf -Wl,--start-group C:\Users\Pavel\AppData\Local\Temp\build5054343905948391999.tmp\SFE_BMP180_example.cpp.o C:\Users\Pavel\AppData\Local\Temp\build5054343905948391999.tmp\SFE_BMP180-master\SFE_BMP180.cpp.o C:\Users\Pavel\AppData\Local\Temp\build5054343905948391999.tmp\Wire\Wire.cpp.o C:\Users\Pavel\AppData\Local\Temp\build5054343905948391999.tmp/core.a -lm -lgcc -lhal -lphy -lnet80211 -llwip -lwpa -lmain -lpp -lsmartconfig -lwps -lcrypto -Wl,--end-group -LC:\Users\Pavel\AppData\Local\Temp\build5054343905948391999.tmp
c:/users/pavel/appdata/roaming/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib\libm.a(lib_a-e_pow.o):(.literal+0x104): undefined reference to `__ieee754_sqrt'
c:/users/pavel/appdata/roaming/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib\libm.a(lib_a-e_pow.o): In function `__ieee754_pow':
d:\ivan\projects\arduinoesp\toolchain\dl\esp-newlib\build\xtensa-lx106-elf\newlib\libm\math/../../../../../newlib/libm/math/e_pow.c:164: undefined reference to `__ieee754_sqrt'
collect2.exe: error: ld returned 1 exit status
compilation error.
What to do?