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).Not enough information to list image symbols. Not enough information to list load addresses in ...

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

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

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

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

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

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

Not enough information to list image symbols. Not enough information to list load addresses in ...

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

相关文章:

  • 2021-11-21
  • 2021-12-16
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2021-11-21
  • 2021-04-25
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
相关资源
相似解决方案