[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange link error
From: |
Adam Fedor |
Subject: |
Re: Strange link error |
Date: |
Sun, 01 Apr 2001 20:37:07 -0600 |
Fredo wrote:
>
> Hello,
>
> I get an unresolved symbol when building static, profiled GNUstep
> libraries (Something I
> don't with default options) (see below the make output)
> The strange thing in this bug is that the GNUstep lib has the symbol
> defined.
> Is it a bug in ld?
>
Nope. static linking resolves symbols in order of apperance, and since
xgps uses a class from gui, it can't find it since gui appears earlier
on the link line. A way to solve it temporarily, at least, is in the
GNUmakefile.preamble:
ADDITIONAL_TOOL_LIBS += -lgnustep-xgps -lgnustep-gui