Loading symbol file while linking.

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

Loading symbol file while linking.

541 次查看
vishnus
Contributor I

Hi all.

I am trying to load a symbol file at the time of linking. I am providing the symbol.txt file along with other libraries that I link. These are the two things I tried.

1st, I provided the symbol file exactly as what was the output of arm-none-eabi-nm, but this returned with a syntax error on line no:1 itself.

2nd, I changed the format little bit. I added #<SYMDEFS># at the begining of the file and made to follow ARM's symdef file format. This gave me the error "

file not recognized: File format not recognized

collect2.exe: error: ld returned 1 exit status"

 

Does anyone have any experience in loading symbol files to the linker? Is yes, please help me figure out what I am missing above.

 

Thanks

标签 (1)
0 项奖励
2 回复数

353 次查看
Rick_Li
NXP Employee
NXP Employee

Which IDE are you using? CodeWarrior or KDS?

Could you please upload a screen-shot of the issue?

0 项奖励

353 次查看
vishnus
Contributor I

I do not use the CodeWarrior IDE. I use make to build and the toolchain which came with CodeWarrior which is arm-none-eabi to compile and link.

0 项奖励