ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By hdrut
#15815 Hi Israel,

I´m trying to compile but get some errors i can´t debug:

xt-ar: creating .output/eagle/debug/lib/spiffs.a
make[1]: Leaving directory `/home/esp8266/Projects/esp_iot_sdk_v1.0.1_b2/app2/spiffs'
xt-xcc -L../lib -nostdlib -T../ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet80211 -lwpa -lmain -ljson -lsmartconfig -lssl user/.output/eagle/debug/lib/libuser.a http/.output/eagle/debug/lib/http.a dns/.output/eagle/debug/lib/dns.a driver/.output/eagle/debug/lib/libdriver.a lwip/.output/eagle/debug/lib/liblwip.a json/.output/eagle/debug/lib/libjson.a platform/.output/eagle/debug/lib/libplatform.a libc/.output/eagle/debug/lib/liblibc.a mqtt/.output/eagle/debug/lib/mqtt.a smart/.output/eagle/debug/lib/smart.a util/.output/eagle/debug/lib/util.a spiffs/.output/eagle/debug/lib/spiffs.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section `.text' will not fit in region `iram1_0_seg'
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section `.irom0.text' will not fit in region `irom0_0_seg'
platform/.output/eagle/debug/lib/libplatform.a(common.o): In function `platform_flash_get_num_sectors':
/home/esp8266/Projects/esp_iot_sdk_v1.0.1_b2/app2/platform/common.c:144: undefined reference to `_flash_used_end'
../lib/libssl.a(espconn_ssl.o): In function `espconn_ssl_read':
(.irom0.text+0xcc): undefined reference to `espconn_kill_oldest_pcb'
../lib/libssl.a(espconn_ssl.o): In function `espconn_ssl_read':
(.irom0.text+0xdd): undefined reference to `espconn_kill_oldest_pcb'
../lib/libssl.a(espconn_ssl.o): In function `espconn_ssl_read':
(.irom0.text+0x17a): undefined reference to `espconn_kill_oldest_pcb'
collect2: error: ld returned 1 exit status
make: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1

Any idea where it comes from?

Thks