|
|
On Fri, 21 Feb 2003 05:55:33 +0000, Warp wrote:
> I don't know if this is related, but be aware that using "-static" for
> static linking in Solaris causes a linkage error. For some reason the X
> libraries in Solaris are not designed for static linking (perhaps they
> could be built so that they are, but they aren't here, and I have read
> reports of the same issue from other people as well).
Oh, yes, I do recall hearing about that.
> This is a very nasty problem because the error message produced by
> the linker is extremely confusing and there's absolutely no hint about the
> real cause of the problem (ie the '-static' flag). Finding the cause of
> the problem is really difficult if you don't know about it.
>
> So at least for Solaris the '-static' flag should definitely be turned
> off by default.
Agreed.
-Mark Gordon
Post a reply to this message
|
|