[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Multiple definition errors



m0n0 wrote:
It's actually caused by the -Wl,--whole-archive flag. If I change it to
-Wl,--whole-archive it links OK, but then the lib is not working anymore.

If I understood well, that --whole-archive is only useful for linking shared libraries or very specific cases. We should not use that kind of option for normal programs. I suggest you remove that from LDFLAGS.

Anyway, you found a solution, since everything works fine let's be happy :-)

--
Vincent Rivière