gnupic: gplink missing symbols
Subject:
Re: gplink missing symbols
From:
"Gabor Kiss [Bitman]" ####@####.####
Date:
20 Jan 2005 16:10:56 +0000
Message-Id: <Pine.LNX.4.58.0501201702350.6858@nelson.cdata.hu>
> There is an issue with gplink when resolving symbols from archives.
> The problem appears when linking an object with two or more archives
> and the later archives depend on symbols defined in the earlier archive.
>
> An example would be like this:
>
> gplink -m -o out main.o lib1.lib lib2.lib
>
> Suppose that lib1.lib contains the symbol foo1
> and lib2.lib uses this symbol.
>
> gplink exits with missing symbol error message.
What about a quick and dirty hack?
gplink -m -o out main.o lib1.lib lib2.lib lib1.lib lib2.lib
Some linkers allow this.
(I have no .lib files so I cannot test gplink now.)
Gabor
--
E-mail = m-mail * c-mail ^ 2