This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error L6200E (by medkit_io_1.o and medkit_io.o)

The Linker throws the following error with different variable names around 86 times:

(by medkit_io_1.o and medkit_io.o).

invertercubemx\invertercubemx.axf: Error: L6200E: Symbol Motor_front multiply defined (by medkit_io_1.o and medkit_io.o).

There is not Medkit_IO_1.h, only a Medkit_IO.h so there should be no file with redundant definitions.

The two .o files are the same size as if the compiler was copying it...

Did anyone else encounter such a problem?

Parents
  • Thank you for your answer. No, there ios not _1.c file or anything matching. I restarted Keil several times now and now it compiles. The linker gives the following warning though:

    invertercubemx\invertercubemx.axf: Warning: L6304W: Duplicate input file invertercubemx\medkit_io_1.o ignored.
    

    Is there a reason why the compiler produces these duplicate files?

Reply
  • Thank you for your answer. No, there ios not _1.c file or anything matching. I restarted Keil several times now and now it compiles. The linker gives the following warning though:

    invertercubemx\invertercubemx.axf: Warning: L6304W: Duplicate input file invertercubemx\medkit_io_1.o ignored.
    

    Is there a reason why the compiler produces these duplicate files?

Children