Hi floks
When the linker error L128 happens, REFERENCE MADE TO UNRESOLVED EXTERNAL the name is listed under the message. But a double click won't jump to the line in the source file where the missing name was found.
And it's not possible to start a search with the listed name without handwork.
Is there a trick to jump to the wrong source file possion?
Günter
When the linker error L128 happens,
...
But a double click won't jump to the line in the source file where
I would guess that this is because linkers "don't do" source files. That is the job of a compiler or assembler - turning source files into object files.
Linkers work with object files, and they have little to no way of knowing how the object file was generated, and therefore usually can't give "source file line numbers" of the problem they found.
It is true that the Linker knows nothing about the source files.
However, the point of an IDE is that it should be able to take an overview (hence "Integrated") of the entire project, and access all the components of the toolchain (hence, again, "Integrated") to solve such problems.
So there's obviously an opportunity here for Keil to enhance the integration provided by uVision to solve this problem:
At its simplest, just provide a "search for this symbol in the project sources" facility;
More involved might be to have uVision determine the location of the source line from the Debug information, if that is possible.
View all questions in Keil forum