How do i fix the linker error?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do i fix the linker error?

458 Views
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 Kudos
0 Replies