Link Error L50: Input file 'B' not found

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

Link Error L50: Input file 'B' not found

Jump to solution
1,528 Views
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
Labels (1)
Tags (1)
0 Kudos
1 Solution
584 Views
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

View solution in original post

0 Kudos
2 Replies
585 Views
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 Kudos
584 Views
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 Kudos