2025年Not enough information to list image symbols. Not enough information to list load addresses in …「建议收

Not enough information to list image symbols. Not enough information to list load addresses in …「建议收linking Objects BBQ Wifi axf Error L6218E Undefined symbol Clear Led Timer referred from main o Objects BBQ Wifi axf Error L6218E Undefined symbol Get Led Timer referred from

linking…
..\Objects\BBQ_Wifi.axf: Error: L6218E: Undefined symbol Clear_Led_Timer (referred from main.o).
..\Objects\BBQ_Wifi.axf: Error: L6218E: Undefined symbol Get_Led_Timer (referred from main.o).
..\Objects\BBQ_Wifi.axf: Error: L6218E: Undefined symbol Systick_Configiration (referred from main.o).
..\Objects\BBQ_Wifi.axf: Error: L6218E: Undefined symbol Counter_Decrement (referred from gd32e230_it.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 4 error messages.
“..\Objects\BBQ_Wifi.axf” – 4 Error(s), 0 Warning(s).

在一个项目中,编译发现这样一个错误。

这个错误很明确的告诉我,这个标识符没有定义。

检查过函数实体和函数原型后,没有发现问题。又检查了头文件是否包含,文件路径是否添加,都没有发现问题。

最后我发现自己没有把文件添加到工程项目中。在MDK keil这个IDE中,单击击view->Project window.看到整个project文件组成。

接着在这个Project windows中,选择一个文件夹,鼠标右键单击弹窗,选择“manage Project items..”.

把源文件添加进入,如图,编译错误提示“没有定义的标识符(也就是函数实体)”,都这这个源文件中,因为没有添加到工程中,所以只有头文件的话,只有原型,而没有实体。

这样就解决了编译出错的问题。

编程小号
上一篇 2025-02-06 12:57
下一篇 2025-03-06 11:46

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/hz/132407.html