<div>Greetings All</div><div><br></div><div>I&#39;m having trouble getting my external to work, It compiles with no errors and has 1 warning when I do a make but it completes </div><div>successfully see warning below. </div>

<div><br></div><div>cc -export_dynamic -shared  -lc -lm -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../../../pd/src -o sineq.pd_linux sineq.c</div>

<div><font class="Apple-style-span" color="#ff0000">/usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000000980</font></div><div>strip --strip-unneeded sineq.pd_linux</div><div>make[1]: Leaving directory `/home/rat/Documents/pd/code&#39;</div>

<div>Compilation finished successfully.</div><div><br></div><div>I copy over the sineq.pd_linux to the pd-externals directory but when I try and add the external in PD it says <font class="Apple-style-span" color="#ff0000">&quot;couldn&#39;t create&quot;</font> on the main console screen.</div>

<div><br></div><div>Here&#39;s a link to the workflow of my thinking and what I&#39;m trying to do, notice I have 4 float inputs and 1 signal output</div><div><a href="http://dl.dropbox.com/u/6576402/questions/pd/Sine_EQ_Diagram.jpg">http://dl.dropbox.com/u/6576402/questions/pd/Sine_EQ_Diagram.jpg</a></div>

<div><br></div><div>Link to code: (Pastebin)</div><div><a href="http://pastebin.com/wW9H4pWY">http://pastebin.com/wW9H4pWY</a> </div><div><br></div><div>Link to makefile (pastebin)</div><div><a href="http://pastebin.com/z9aTYVNY">http://pastebin.com/z9aTYVNY</a></div>

<div><br></div><div>My external is a reproduction of the sinewave equation with 4 inputs that are floats and one output signal my logic is to have 4 inlets one for the frequency,amplitude,phase and vertical offset and an output for the created signal.  Granted this isn&#39;t the final equation but this will help me understand how to create the full equation once done.   If you want to see the full equation I&#39;ll be using here&#39;s a link to it below.  </div>

<div><a href="http://dl.dropbox.com/u/6576402/questions/eq1.txt">http://dl.dropbox.com/u/6576402/questions/eq1.txt</a></div><div><br></div><div>Basically it&#39;s a 1 second periodic signal with the sample rate at 44100 which the equation gives me control over the frequency,amplitude,phase and vertical offset, which will be controlled by a usb midi controller.</div>

<div><br></div><div><font class="Apple-style-span" color="#ff0000">Another question I have is what do I use for the t (time) for my final equation is that the t_sample object in PD?  or do I need to create a for loop counting from 1-44100 for a 1 second 44100 sampled equation? like this link uses</font></div>

<div><font class="Apple-style-span" color="#ff0000"><a href="http://www.daniweb.com/software-development/c/threads/354944">http://www.daniweb.com/software-development/c/threads/354944</a></font></div><div><br></div><div>
<br>
</div><div><br></div><div>PS: I&#39;m compiling on ubuntu 10.04 using gcc</div><div>Sorry for the link / information overload.  After going over the d_osc.c, bassemu.c and the pan~ tutorial I&#39;m a little stuck and not sure what&#39;s causing the issue.</div>

<div><br></div><div>Aloha</div><div>Rick</div><div><br></div><div><br></div><br>