hi:
q:used the rtos sdk version 1.4.0,get the demo code for iot - ESP8266_IOT_PLATFORM-master,then build the project,but fail.
=======================log===============
make[1]:正在离开目录 `/home/ppt/t/build/esp8266/ESP8266_RTOS_SDK/examples/ESP8266_IOT_PLATFORM-master/libesphttpd'
xtensa-lx106-elf-gcc -L/home/ppt/t/build/esp8266/ESP8266_RTOS_SDK/examples/ESP8266_IOT_PLATFORM-master/../..//lib -Wl,--gc-sections -nostdlib -T/home/ppt/t/build/esp8266/ESP8266_RTOS_SDK/examples/ESP8266_IOT_PLATFORM-master/../..//ld/eagle.app.v6.new.2048.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lminic -lgcc -lhal -lphy -lpp -lnet80211 -lcrypto -lwpa -lmain -lfreertos -llwip -lssl -ljson -lsmartconfig -lpwm -L./libesphttpd -lesphttpd -lwebpages-espfs user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a upgrade/.output/eagle/debug/lib/libupgrade.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
/home/ppt/t/build/esp8266/ESP8266_RTOS_SDK/examples/ESP8266_IOT_PLATFORM-master/../..//lib/libjson.a(cJSON.o):(.text.print_number+0x48): undefined reference to `floor'
/home/ppt/t/build/esp8266/ESP8266_RTOS_SDK/examples/ESP8266_IOT_PLATFORM-master/../..//lib/libjson.a(cJSON.o):(.text.print_number+0x148): undefined reference to `floor'
/home/ppt/t/build/esp8266/ESP8266_RTOS_SDK/examples/ESP8266_IOT_PLATFORM-master/../..//lib/libjson.a(cJSON.o):(.text.parse_value+0x14): undefined reference to `pow'
/home/ppt/t/build/esp8266/ESP8266_RTOS_SDK/examples/ESP8266_IOT_PLATFORM-master/../..//lib/libjson.a(cJSON.o):(.text.parse_value+0x270): undefined reference to `pow'
collect2: error: ld returned 1 exit status
-----------
check the lib,no -lm cmd,add the cmd but no m can find.why?
build the sdk demo error,sdk 1.4.0,demo - ESP8266_IOT_PLATFORM-master
Re: build the sdk demo error,sdk 1.4.0,demo - ESP8266_IOT_PLATFORM-master
Postby ESP_Rubin » Fri Aug 12, 2016 3:48 pm
please refer chapter 4 as link:
http://espressif.com/sites/default/file ... ide_en.pdf
http://espressif.com/sites/default/file ... ide_en.pdf
Who is online
Users browsing this forum: No registered users and 13 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.