I have splitted a C file in to parts and compiled it and it is compiling and I am receiving error message while linking and NO error if compiled as a single file.
Help required.
Thanks in advance :)
This is basic ANSI 'C' stuff - nothing to do with the 8051 or Keil in particular:
You need to understand the difference between a definition and a declaration:
Every symbol must be defined exactly once;
A symbol may have many declarations;
See c-faq.com/.../decldef.html