<br><br><div class="gmail_quote">On Fri, Apr 5, 2013 at 2:37 PM, Javier Diaz-Reinoso <span dir="ltr">&lt;<a href="mailto:javier_diaz_r@mac.com" target="_blank">javier_diaz_r@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 03/04/2013, at 10:53, Javier Diaz-Reinoso &lt;<a href="mailto:javier_diaz_r@MAC.COM">javier_diaz_r@MAC.COM</a>&gt; wrote:<br>
<br>
&gt; After line: p openPort: &#39;/dev/cu.usbmodem1a21&#39;., p in Cog is:<br>
&gt;       SerialPort(closed, 115200 baud, 8 bits, 1 stopbits, no parity)<br>
&gt; is closed because port is nil, in Squeak 4.2.5beta1U is:<br>
&gt;       SerialPort(#&#39;/dev/cu.usbmodem1a21&#39;, 115200 baud, 8 bits, 1 stopbits, no parity)<br>
&gt; port is: &#39;/dev/cu.usbmodem1a21&#39;.<br>
&gt;<br>
&gt; I repeated my test with a virgin copy of Squeak4.4-12327 (before I was using 4.1 and 4.3), also with other macbook pro, the same error.<br>
&gt;<br>
</div>[cut...]<br>
<br>
Well, I download the VM from <a href="http://www.squeakvm.org/svn/squeak/branches/Cog/" target="_blank">www.squeakvm.org/svn/squeak/branches/Cog/</a> and find that primitiveSerialPortOpenByName is not defined!.<br>
<br>
In /Tools/Squeak/VMCog/platforms/unix/plugins/SerialPlugin/sqUnixSerial.c (included in the CoreVM. xcodeproj) the function serialPortOpenByName is defined, but is not &quot;linked&quot; with primitiveSerialPortOpenByName so the call (in Squeak) of primOpenPortByName: fail.<br>
</blockquote><div><br></div><div>Ah, right.  That&#39;s because there is no support on Mac OS or Windows.  So wen I tried adding  primitiveSerialPortOpenByName it broke the builds on Windows and Mac.  If anyone has support files for those platforms I&#39;ll try again.</div>
</div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>