Hello,
I get this error message:
Symbol getImage multiply defined (by retarget.o and init.o)
In the headerfile init.h I have added all include data (like stdio.h and my own header-files) In one of these headerfiles I defined the struct variable getImage.
struct Image getImage;
So when I define this struct variable in the .c file - everything is working.
Peter
Object definitions do not belong in header files. Put definitions in one C source file and declare the object in a header file.
See c-faq.com/.../decldef.html