ESP8266 Developer Zone The Official ESP8266 Forum 2016-03-30T17:27:36+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1958 2016-03-30T17:27:36+08:00 2016-03-30T17:27:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1958&p=6271#p6271 <![CDATA[Re: 编译错误!!!]]>
如果增加 -lcirom,请将 -lminic 删去。

Statistics: Posted by ESP_Faye — Wed Mar 30, 2016 5:27 pm


]]>
2016-03-30T13:28:56+08:00 2016-03-30T13:28:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1958&p=6264#p6264 <![CDATA[Re: 编译错误!!!]]>
Espressif_Faye wrote:
您好,

请在 makefile 中的 LINKFLAGS_eagle.app.v6 段添加 -lmirom,看是否还有问题?

感谢您对 ESP8266 的关注!


Dear:

我在makefile 中的 LINKFLAGS_eagle.app.v6 段添加了-lcirom -lmirom后,又提示如下错误。

/home/esp8266/Share/ESP8266_RTOS_SDK-master/lib/libminic.a(minic.o): In function `sprintf':
(.irom0.text+0x364): multiple definition of `sprintf'
/home/esp8266/Share/ESP8266_RTOS_SDK-master/lib/libcirom.a(lib_a-sprintf.o):/home/wjg/Repo/esp-open-sdk/crosstool-NG/.build/src/newlib-2.0.0/newlib/libc/stdio/sprintf.c:624: first defined here

请指教,谢谢。

Statistics: Posted by jalen — Wed Mar 30, 2016 1:28 pm


]]>
2016-03-30T11:48:17+08:00 2016-03-30T11:48:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1958&p=6263#p6263 <![CDATA[Re: 编译错误!!!]]>
请在 makefile 中的 LINKFLAGS_eagle.app.v6 段添加 -lmirom,看是否还有问题?

感谢您对 ESP8266 的关注!

Statistics: Posted by ESP_Faye — Wed Mar 30, 2016 11:48 am


]]>
2016-03-30T01:33:31+08:00 2016-03-30T01:33:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1958&p=6252#p6252 <![CDATA[编译错误!!!]]> /home/esp8266/Share/ESP8266_RTOS_SDK-master/lib/libjson.a(cJSON.o):(.text.print_number+0x148): undefined reference to `floor'
/home/esp8266/Share/ESP8266_RTOS_SDK-master/lib/libjson.a(cJSON.o):(.text.parse_value+0x14): undefined reference to `pow'
/home/esp8266/Share/ESP8266_RTOS_SDK-master/lib/libjson.a(cJSON.o):(.text.parse_value+0x270): undefined reference to `pow'

Dear: 编译时出现以上错误,请指教。

Statistics: Posted by jalen — Wed Mar 30, 2016 1:33 am


]]>