Multiple definition of … linker error
Don’t define variables in headers. Put declarations in header and definitions in one of the .c files. In config.h In some .c file: If you put a definition of a global variable in a header file, then this definition will go to every .c file that includes this header, and you will get multiple definition … Read more