Link Error L50: Input file 'B' not found

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

Link Error L50: Input file 'B' not found

跳至解决方案
1,603 次查看
Iggy
Contributor I
Hello CWarriors,

I´m lamer and begginer with CodeWarrior, exactly with version 3.1 for HC(S)08. I can´t solve the linker error - L50: Input file 'B' not found.
I try to use LIB files. It´s true that I need header files coresponding with these LIB files? And maybe the problem can be i Compiler, respectively Linker Settings.
I know that it is not much information, but can somebody help me?!?
Thanx
Regards
Iggy
标签 (1)
标记 (1)
0 项奖励
1 解答
659 次查看
CompilerGuru
NXP Employee
NXP Employee
Can you show us your linker command line?
Given the error message, you try to link a file called "b" instead of a prm file name in the command line. One possible cause could be a space between an option and its argument, or a command line with just a "b", missing double quotes if the path/filename contains spaces.

Possible command lines causing this:
b
a b
-oa b.elf test.prm
Corrected:
"b.prm"
"a b.prm"
-o"a b.elf" test.prm

Daniel

在原帖中查看解决方案

0 项奖励
2 回复数
660 次查看
CompilerGuru
NXP Employee
NXP Employee
Can you show us your linker command line?
Given the error message, you try to link a file called "b" instead of a prm file name in the command line. One possible cause could be a space between an option and its argument, or a command line with just a "b", missing double quotes if the path/filename contains spaces.

Possible command lines causing this:
b
a b
-oa b.elf test.prm
Corrected:
"b.prm"
"a b.prm"
-o"a b.elf" test.prm

Daniel
0 项奖励
659 次查看
Iggy
Contributor I
Thank You, Daniel, very much!!!
Really, it was funny small mistake in Linker command line. "-" missed before "B". It was classic mistake of "Ctrl+C" and "Ctrl+V" :smileyhappy:
Once more, thank You!!!
0 项奖励