Correct, it fails when linking the executables with the libraries.<br><br><br><br><div class="gmail_quote">On Tue, Jun 16, 2009 at 6:08 PM, Tyler Roscoe <span dir="ltr"><<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Don't forget to cc the list! Especially since I'm not sure what else I<br>
can tell you.<br>
<div class="im"><br>
On Tue, Jun 16, 2009 at 05:24:08PM -0500, Mark Lohry wrote:<br>
> I added "add_dependencies( lib1 lib2 )", "add_dependencies( lib2 lib1 )",<br>
> and "add_dependencies( execthing lib1 lib2 )" in their appropriate places,<br>
> and changed the libraries to STATIC, but no change.<br>
<br>
</div>Hmm.<br>
<div class="im"><br>
> Yes, everything compiles when i build the libraries and executables<br>
> separately; it fails on the link step after this, with "undefined reference"<br>
> to every library function used.<br>
<br>
</div>What do you mean by "the link step after this"? Linking the executable<br>
with the libraries?<br>
<div class="im"><br>
> I'm unfamiliar with 'nm', can you be more specific as to what I should be<br>
> looking for?<br>
<br>
</div>nm is a Unix tool for grabbing symbols out of libraries and archives.<br>
dumpbin is (basically) the Windows equivalent.<br>
<font color="#888888"><br>
tyler<br>
</font></blockquote></div><br>