ESP8266 Developer Zone The Official ESP8266 Forum 2016-12-04T22:04:02+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=3163 2016-12-04T22:04:02+08:00 2016-12-04T22:04:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3163&p=10771#p10771 <![CDATA[Re: Can't use RTOS SDK 1.4 or 1.5. Kindly Guide]]>

-elf/bin/ld: cannot find -lhal


Has no tried RTOS 1.4 or 1.5 yet!!! :o
I find this very bizzare :?

But hold on! If I remove this library from makefile it seems to build further. Now I have many eagle.app.v6... files. It does fail at building eagle.flash.bin but maybe it's just copying that one from ld directly and I can flash this one myself?
What's the role of eagle.flash.bin? Is it the one copied at the end of the flash?

Statistics: Posted by solomonC — Sun Dec 04, 2016 10:04 pm


]]>
2016-12-04T20:37:12+08:00 2016-12-04T20:37:12+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3163&p=10769#p10769 <![CDATA[Re: Can't use RTOS SDK 1.4 or 1.5. Kindly Guide]]> Also, are you able to build your program with all libs added?

Statistics: Posted by Guest — Sun Dec 04, 2016 8:37 pm


]]>
2016-12-02T22:53:31+08:00 2016-12-02T22:53:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=3163&p=10759#p10759 <![CDATA[Can't use RTOS SDK 1.4 or 1.5. Kindly Guide]]>

/Users/SSGhumman/Files/esp_dev/espressif/RTOS_1.4/lib/libmain.a(misc.o):(.irom0.text+0x4): undefined reference to `xthal_get_ccount'

I have put just one error here but there are about 5-6 and all mention xthal in some way.
There is no libhal.a in the newer RTOS SDK's so hal isn't there in my makefile either. What is causing this problem?
Also If someone can tell me, am I supposed to compile against all the libraries always? Because if I try to choose some libraries, the libraries are so interdependent that it always throws an error and I end up including all libs.a. Would appreciate any help.

Statistics: Posted by solomonC — Fri Dec 02, 2016 10:53 pm


]]>