-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
求助:xtensa-lx106-elf-nm libiot_sdk.a: no symbols #125
Comments
哪个平台下编译?mac 吗? |
@27-301 是的 Mac 系统,是什么原因? |
查了下,发现原因可能是 mac 系统下降 libiot_sdk.a strip 后产生的问题。 文件:https://github.com/aliyun/iotkit-embedded/blob/master/build-rules/settings.mk#L6-L12 mac 下 strip 默认没有参数: ifeq (Darwin,$(strip $(shell uname)))
SED := gsed
STRIP_DBGOPT :=
else
SED := sed
STRIP_DBGOPT := --strip-debug
endif 使用和非 mac 系统一致的参数可以解决该问题。 阿里的同学能否确认一下,能否将 mac 下也加入该参数。 |
@deemstone https://github.com/espressif/esp-aliyun 已更新,可以支持 MacOS 下的编译。 请按以下 steps:
当前已支持 awss,也可以直接打通 飞燕 平台,可以参看 examples/solutions/smart_light,esp32 & esp8266 均已支持。但可能还会有一些小 bug,欢迎去提 issue。 |
@27-301 可以正常编译了,棒! |
Mac下编译出的
libiot_sdk.a
在ESP8266的项目上链接报错:make reconfig # select 1 (config.esp8266.aos) make xtensa-lx106-elf-nm output/release/lib/libiot_sdk.a
Output:
所有的 *.o 文件都是
no symbols
, 导致 esp-aliyun项目编译失败:make reconfig 得到的
.config
文件 :The text was updated successfully, but these errors were encountered: