本帖最后由 sunoe 于 2015-8-7 06:25 编辑
为什么1.6.5无法编译 报错 1.0.5可用编译
D:\Program files\arduino-1.6.5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9/bin/xtensa-lx106-elf-ar cru C:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp/core.a C:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp\WString.cpp.o
D:\Program files\arduino-1.6.5\portable\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 -LD:\Program files\arduino-1.6.5\portable\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0/tools/sdk//lib -LD:\Program files\arduino-1.6.5\portable\packages\esp8266\hardware\esp8266\1.6.5-947-g39819f0/tools/sdk//ld -Teagle.flash.4m.ld -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy -o C:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp/arduino_ajson.cpp.elf -Wl,--start-group C:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp\arduino_ajson.cpp.o C:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp\aJson-master\aJSON.cpp.o C:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp\aJson-master\utility\stringbuffer.c.o C:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp/core.a -lm -lgcc -lhal -lphy -lnet80211 -llwip -lwpa -lmain -lpp -lsmartconfig -lwps -lcrypto -Wl,--end-group -LC:\Users\SUPERR~1\AppData\Local\Temp\build3290877642948107154.tmp
d:/program files/arduino-1.6.5/portable/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'
d:/program files/arduino-1.6.5/portable/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
编译有误。
|