How do i fix the linker error?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How do i fix the linker error?

977 次查看
gochoi
Contributor I

I use CodeWarrior Development Studio(CodeWarrior for MCU / Version: 10.5).

I created a library and used the "memset()" function in the library.

I added a library to the MPC5604P project and built this project.

As a result, a link error occurs.

=====================================================================

>undefined: 'memset'
>Referenced from 'saveZero' in lib.a
D:/Freescale/CW MCU v10.5/MCU/PA_Tools/Command_Line_Tools/mwldeppc|Linker|Error
>Link failed.

=====================================================================

How do i fix the linker error?

0 项奖励
回复
0 回复数