help-make
[Top][All Lists]
Advanced

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

Re: trouble linking


From: Paul D. Smith
Subject: Re: trouble linking
Date: Fri, 20 Apr 2001 10:26:54 -0400

This is not a make issue; it's an issue with the linker, etc.

Even so, I'll say that very often these kinds of errors are due to
incorrect order of the libraries on the link line.  Remember that UNIX
linkers are traditionally "single-pass", which means they go from the
first library to the last, and don't back up.  That means that if a
library that appears _later_ on the command line needs some symbols in a
library that appears _before_ it on the command line, you may get
unresolved symbol errors.

If that doesn't seem to be your problem, try one of the GCC lists or
comp.unix.solaris or someplace like that.

Good luck!

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



reply via email to

[Prev in Thread] Current Thread [Next in Thread]