We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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