<div class="gmail_quote">2012/10/4 Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div id=":4g2">sqLowLevelMFence() is low-level assembler function used in various atomic<br>
operations.<br>
It is not defined for ARM architecture. Can&#39;t help with it.. i know<br>
little about ARM.<br>
But as i told you, Dimitry already dealt with these problems when making VM work<br>
on android platform you should just look and adopt his code.<br>
Search mailing list , you can find pointers.<br>
<br>
Btw, iPhone VM also runs on ARM, so the solution which Esteban/John<br>
Macintosh found, should be similar.<br>
I cannot say any more details, because i simply don&#39;t know.<br>
<div class="im"><br>
&gt; dct.c:(.text+0x2d54): undefined reference to `cos&#39;<br>
&gt; dct.c:(.text+0x2d60): undefined reference to `sin&#39;<br>
&gt; dct.c:(.text+0x2ef8): undefined reference to `sincos&#39;<br>
&gt; collect2: perform ld complete with code 1<br>
&gt; make[2]: *** [/cogVM/blessed/results/StackVM] ïÛÉÂËÁ 1<br>
&gt; make[1]: *** [CMakeFiles/StackVM.dir/all] ïÛÉÂËÁ 2<br>
&gt; make: *** [all] ïÛÉÂËÁ 2<br>
&gt;<br>
</div>no libm on ARM?<br>
<br>
-lm<br>
<div class="im"><br></div></div></blockquote><div><br>So I should try to resolve all undefines.<br>&nbsp;<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4g2">

<div class="im">
<br>
&gt;<br>
&gt; What can be reason? Are undefined&#39;s just warnings?<br>
&gt;<br>
&gt; Mariano write about:<br>
&gt;&gt;<br>
&gt;&gt; Then, I have a problem at linking time, &ldquo;/usr/bin/ld: cannot find -lGL&rdquo;, which<br>
&gt;<br>
&gt;<br>
&gt; But I dont see any &quot;cannot find -lGL&rdquo;.<br>
&gt; What this error actualy means?<br>
&gt;<br>
<br>
</div>means that you need to find a code which uses that and remove it :)<br>
<br>
<br>
P.S. and welcome to beautiful world of C :)</div></blockquote><div><br>Yes, C world is amazing :))<br>I wondering about tons of defines pragma instructions.<br>So my first think why all this precompile instructions not implemented at smalltalk side with good object abstraction?<br>

If you see code you know about tons of <br>&nbsp;&nbsp; ifdefine IPhoneSomething else ifdefine SomethingElse...<br><div>which repeated at many places of platforms code. (dont know about slang)<br></div></div></div><br>