Linker error with CodeWarrior v5.9.0

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

Linker error with CodeWarrior v5.9.0

跳至解决方案
2,306 次查看
cbhavi
Contributor III

Hello,

 

I am working with CodeWarrior v5.9.0 for Coldfire processor MCF512x.

I have a project that was built for the same processor on the Codewarriorv5.7.0 and want to build it in this version.

 

My problem is that, the project which builds perfectly fine with v5.7.0 shows strange errors with v5.9.0.

 

I get the following Linker errors when I try to build the project.

Link Error  : Undefined  : "stricmp"

Referenced from "blah_blah" in...

Link Error  : Undefined  : "strupr"

Referenced from "blah_blah"  in...

Link failed.

 

The above mentioned string function definitions are available in "extras_string.h" which is called through the "extras.h" header.

Even if I explicitly include the "extras_string.h" in the file, the error shows.

 

Also, weirdly, at the time of build, the ELF files gets deleted from the output folder of the project and any subsequent build gives the error:

'Could not find or load the file "Project.elf" for target "Target"  for project "Project.mcp". '

(Weird considering that the first build was the one deleted it!!!)

 

I have been trying to figure this out for a long time now. Any help will be appreciated.

 

Thanks!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
887 次查看
CrasyCat
Specialist III

Hello

 

    MSL Extras is not part of the default libraries provided.

    If you need feature from MSL extras library, please refer to {Install}\Help\PDF\MSL_C_Reference.pdf, chapter

    Configuring MSL section Configuring the MSL Extras Library.

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
2 回复数
888 次查看
CrasyCat
Specialist III

Hello

 

    MSL Extras is not part of the default libraries provided.

    If you need feature from MSL extras library, please refer to {Install}\Help\PDF\MSL_C_Reference.pdf, chapter

    Configuring MSL section Configuring the MSL Extras Library.

 

CrasyCat

0 项奖励
回复
887 次查看
cbhavi
Contributor III

Got it!

Thanks! :smileyhappy:

0 项奖励
回复