/home/esp8266/Share/ESP8266_RTOS_SDK-master/lib/libjson.a(cJSON.o):(.text.print_number+0x48): undefined reference to `floor'
/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: 编译时出现以上错误,请指教。
编译错误!!!
Re: 编译错误!!!
Postby jalen » Wed Mar 30, 2016 1:28 pm
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
请指教,谢谢。
Who is online
Users browsing this forum: No registered users and 14 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.