<div class="gmail_quote">2012/10/4 Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>></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'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't know.<br>
<div class="im"><br>
> dct.c:(.text+0x2d54): undefined reference to `cos'<br>
> dct.c:(.text+0x2d60): undefined reference to `sin'<br>
> dct.c:(.text+0x2ef8): undefined reference to `sincos'<br>
> collect2: perform ld complete with code 1<br>
> make[2]: *** [/cogVM/blessed/results/StackVM] ïÛÉÂËÁ 1<br>
> make[1]: *** [CMakeFiles/StackVM.dir/all] ïÛÉÂËÁ 2<br>
> make: *** [all] ïÛÉÂËÁ 2<br>
><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> <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>
><br>
> What can be reason? Are undefined's just warnings?<br>
><br>
> Mariano write about:<br>
>><br>
>> Then, I have a problem at linking time, “/usr/bin/ld: cannot find -lGL”, which<br>
><br>
><br>
> But I dont see any "cannot find -lGL”.<br>
> What this error actualy means?<br>
><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> ifdefine IPhoneSomething else ifdefine SomethingElse...<br><div>which repeated at many places of platforms code. (dont know about slang)<br></div></div></div><br>