Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
undefined first referenced symbol in file --------- ---------------- myfunc example.obj error #10234-D: unresolved symbols remain
What it means
The linker has encountered a symbol (function or variable) for which it cannot find the definition.
Why is it happening
The linker takes the object files produced by the compiler and combines them into a single executable program. A key part of this process is mapping symbol references to their definitions. For example, a function myfunc() could be defined in file A and used in file B. The linker connects the reference to the definition. This error indicates that the linker was unable to find the definition; an object file or library containing the definition for the symbol was not provided to the linker.
The first step is to determine why the symbol is undefined. If the function or variable is something you expected to create as part of your project, ensure that you provide an actual definition for the symbol and that the file containing the definition is part of the project. Otherwise, the most likely scenario is that you are referencing a symbol that is provided by a library and the library is not being referenced. Make sure that required libraries are specified using the --library option in the File Search Path options.
An executable will not be created until this error is resolved.