Pelles C forum

Pelles C => Bug reports => Topic started by: sapero on December 18, 2009, 01:04:36 AM

Title: Linker complains about multiply defined static symbols
Post by: sapero on December 18, 2009, 01:04:36 AM
If you put two .obj files compiled with MS linker into a static library and link this library with your C code (using Pelles IDE) - the linker will deny it saying: Error: multiply defined symbols $LN%d and $LN%d.
After dumping the .obj files we'll see that these symbols are static (IMAGE_SYM_CLASS_STATIC or IMAGE_SYM_CLASS_LABEL).