Hi.I am writing a program and when i want to compile it there are a lot of error like this: .\camera.axf: Error: L6218E: Undefined symbol ov7670_set (referred from main.o). .\camera.axf: Error: L6218E: Undefined symbol I2CInit (referred from main.o). It is after main.c and before linking. What should i do? If you help me i will be appreciate because that is the only problem in my program and i do not know how to solve it.
Sorry i did not understand what you mean.if you talk more specific i will be appreciate. i wrote headers for my program in a file.h and i used them in a file.c after that i wrote main of program and used these functions. what else should i do?
Include files do not provide code, they provide interfacing details for the compiler. The code for the functions still needs to be provided in the source files of your project or libraries you are linking in.
These are some pretty basic C programming concepts. Can you perhaps review so books/manuals related to compilers, assemblers and linkers, and the use of multiple source files in a project.