ESP8266 Developer Zone The Official ESP8266 Forum 2016-09-02T09:53:17+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2720 2016-09-02T09:53:17+08:00 2016-09-02T09:53:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2720&p=9699#p9699 <![CDATA[Re: SDK RTOS 1.4.x (latest patch): undefined reference to memcpy & memset]]>
LINKFLAGS_eagle.app.v6 = \
-L$(SDK_PATH)/lib \
-Wl,--gc-sections \
-nostdlib\
-T$(LD_FILE) \
-Wl,--no-check-sections\
-u call_user_start\
-Wl,-static\
-Wl,--start-group\
-lcirom \
-lcrypto\
-lespconn\
-lespnow\
-lfreertos\
-lgcc\
-lhal\
-ljson\
-llwip\
-lmain\
-lmesh\
-lmirom\
-lnet80211\
-lnopoll\
-lphy\
-lpp\
-lpwm\
-lsmartconfig\
-lspiffs\
-lssl\
-lwpa\
-lwps\
$(DEP_LIBS_eagle.app.v6)\
-Wl,--end-group


Let me know if it solved your problem!

Statistics: Posted by Guest — Fri Sep 02, 2016 9:53 am


]]>
2016-08-30T18:54:45+08:00 2016-08-30T18:54:45+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2720&p=9679#p9679 <![CDATA[SDK RTOS 1.4.x (latest patch): undefined reference to memcpy & memset]]>
I am using the latest RTOS SDK (1.4 + patch 1.4.2) and get many undefined references to memcpy, memset, strcpy...
Am I missing some library?

Here is my Makefile LINKFLAGS:
LINKFLAGS_eagle.app.v6 = \
-L$(SDK_PATH)/lib \
-Wl,--gc-sections \
-nostdlib\
-T$(LD_FILE) \
-Wl,--no-check-sections\
-u call_user_start\
-Wl,-static\
-Wl,--start-group\
-lminic \
-lgcc\
-lhal\
-lphy\
-lpp\
-lnet80211\
-lwpa\
-lcrypto \
-lmain\
-lfreertos\
-llwip\
-lcirom \
-lnopoll \
-lssl \
-lwpa \
$(DEP_LIBS_eagle.app.v6)\
-Wl,--end-group

Thanks and best regards,
Emmanuel

Statistics: Posted by ecl66 — Tue Aug 30, 2016 6:54 pm


]]>