I have 5 different C files and i Main.c program separately. In the Project diaglog box i have added all these files. For Target Options i have selected Large 64kCode ROM size and memory model Large. And selected output as hex. Upon building the target file, I get warning messages. 1. Unresolved external symbol 2. reference made to unresolved external sysmbol 3. ignored for overlay process. i dont know how to eliminate this messages. Please help me.
1. Unresolved external symbol There is a variable declared as extern in any file, but the linker could not find a public declaration of a variable of this name and type in any other file. Check all variables declared as extern in this file and see if there is a matching public declaration in one of the other files. 2. reference made to unresolved external sysmbol This will probably go away when you solve problem #1. 3. ignored for overlay process. The linker could not figure out if a certain function is called and how it fits into the call tree. If the function is never called, comment it out. If the function is called in a way that is non-obvious to the linker (i.e. by a function pointer), you need to adjust the call tree. Refer to the linker manual on how to do this.