<div dir="ltr"><div>Being compiled without -fPIC would explain it jumping to an invalid memory address, I'm would have thought that the linker would have kicked up a huge fuss though if you tried to link non-fPIC stuff into a shared library<br>
<br></div>- Tim<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 3:27 PM, Tim Armstrong <span dir="ltr"><<a href="mailto:tim.g.armstrong@gmail.com" target="_blank">tim.g.armstrong@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>It seems unlikely that there will be a name collision between Tcl and Dock: nm --defined-only -g lib/<a href="http://libtcl8.6.so" target="_blank">libtcl8.6.so</a> reveals that all Tcl symbols are prefixed with Tcl.<span class="HOEnZb"><font color="#888888"><br>

</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>- TIm</font></span><div><div class="h5"><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 3:20 PM, Ketan Maheshwari <span dir="ltr"><<a href="mailto:ketan@mcs.anl.gov" target="_blank">ketan@mcs.anl.gov</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">No. Doing shared lib approach as in mockdock.</div><div class="gmail_extra"><br><br>

<div class="gmail_quote">
<div>On Thu, Jul 31, 2014 at 3:19 PM, Wozniak, Justin M. <span dir="ltr"><<a href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div bgcolor="#FFFFFF" text="#000000"><div>
<div><br>
Are you trying to build a static executable?  <br><div><div>
<br>
On 07/31/2014 03:15 PM, Ketan Maheshwari wrote:<br>
</div></div></div></div><div><div><div><div>
<blockquote type="cite">
<div dir="ltr">These are the .o files I bring in from the application. I will check them in.</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jul 31, 2014 at 3:13 PM, Wozniak, Justin M. <span dir="ltr">
<<a href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>On 07/31/2014 02:58 PM, Ketan Maheshwari wrote:<br>
</div>
<blockquote type="cite"><br>
</blockquote>
<br>
What are the objfiles? <br>
<br>
thrash: ~/exm/apps/dock> ./setup.sh                                    <br>
WARN  user-code.swift:13:4: Variable usage warning. Variable x is not used<br>
g++: error: objfiles/*.o: No such file or directory<span><font color="#888888"><br>
<br>
<br>
<pre cols="72">-- 
Justin M Wozniak</pre>
</font></span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</div></div></div></div><span><font color="#888888"><span><font color="#888888"><pre cols="72">-- 
Justin M Wozniak</pre>
</font></span></font></span></div>

</blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div>