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">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>&gt;</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&#39;t forget to cc the list! Especially since I&#39;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>
&gt; I added &quot;add_dependencies( lib1 lib2 )&quot;, &quot;add_dependencies( lib2 lib1 )&quot;,<br>
&gt; and &quot;add_dependencies( execthing lib1 lib2 )&quot; in their appropriate places,<br>
&gt; and changed the libraries to STATIC, but no change.<br>
<br>
</div>Hmm.<br>
<div class="im"><br>
&gt; Yes, everything compiles when i build the libraries and executables<br>
&gt; separately; it fails on the link step after this, with &quot;undefined reference&quot;<br>
&gt; to every library function used.<br>
<br>
</div>What do you mean by &quot;the link step after this&quot;? Linking the executable<br>
with the libraries?<br>
<div class="im"><br>
&gt; I&#39;m unfamiliar with &#39;nm&#39;, can you be more specific as to what I should be<br>
&gt; 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>