Susmit Pal

How to link two libraries with duplicate symbols without skipping one of them?

Discussion created by Susmit Pal on Dec 7, 2010
Latest reply on Dec 13, 2010 by CrasyCat

I am trying to create an elf on mips where I have to link two libraries, both containing some same symbol names. Now, all these symbols are accessed from these two libraries itself, so logically, I think that all symbols should get resolved locally within the library, thus we can get both symbols linked. But, when I try to build the .elf, I see that symbols from one library got skipped as the same symbol has been linked in already. Is there any way to bypass this or force the symbol resolutions to happen inside the libraries itself?

Regards -