I could compile on my 32bits Linux by adding some parameters (-lm -ldl -lpthread) by hand at the end of: /build/CMakeFiles/CogVM.dir/link.txt <br>after running cmake.<div><br>Those were also added through code:</div><div><br>
<font face="'courier new', monospace">CogUnixConfig >> setExtraTargetProperties: maker</font><div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"><span class="Apple-tab-span" style="white-space:pre">        </span>maker setTargetProperties: 'LINK_FLAGS "-lm -ldl -lpthread -m32"'.</font></div>
<div><font face="'courier new', monospace"> ...</font><br><br><font face="arial, helvetica, sans-serif">This adds the parameters at the start of the command on link.txt (/usr/bin/gcc -lm -ldl ...), but for some reason, it does not work. I have to add those manually at the end of the command.</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">At first I was using CogUnixNoGLConfig and got the same error that Guillermo points out here: </font><a href="http://forum.world.st/Error-while-compiling-td4290532.html">http://forum.world.st/Error-while-compiling-td4290532.html</a><font face="arial, helvetica, sans-serif"><br>
</font><br>With CogUnixConfig seems to work fine :) (after installing the libs mentioned on the guide).</div><div><br></div><div>As for the versions of CMakeVMMaker, VMMaker, ConfigurationOfCog and blessed, should be those from the guide (<a href="http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/">http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/</a>)<br>
<br>The code is still on my workspace:<br><br><div>Gofer new</div><div>squeaksource: 'MetacelloRepository';</div><div>package: 'ConfigurationOfCog';</div><div>load.</div><div>((Smalltalk at: #ConfigurationOfCog) project version: '1.5') load.</div>
<div><br></div><div>Gofer new</div><div>squeaksource: 'VMMaker';</div><div>package: 'CMakeVMMaker';</div><div>version: 'CMakeVMMaker-MarianoMartinezPeck.83';</div><div>load.<br><br><br></div><br><br>
</div><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 5:20 AM, Mariano Martinez Peck <span dir="ltr"><<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Lucas. Could you finally solve it? if not, can you tell use the version of the package CMakeVMMaker and VMMaker that you are using? and ConfigurationOfCog? and the git version of "blessed"? because maybe there is something out of sync.<br>
<br>Igor, any idea from the log?<br><br>cheers<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jun 11, 2012 at 7:20 PM, Lucas Mat <span dir="ltr"><<a href="mailto:lucas.matw@gmail.com" target="_blank">lucas.matw@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi!<br>I'm with David trying to compile the vm (just added to the mailinglist, he forwarded me previous mails).<br>
What I did:<div><br><div><font face="'courier new', monospace">cfg := CogUnixNoGLConfig new.</font></div>
<div><font face="'courier new', monospace">cfg internalPlugins: (cfg internalPlugins difference: #(</font></div><div><font face="'courier new', monospace">KlattSynthesizerPlugin Mpeg3Plugin)).</font></div>
<div><font face="'courier new', monospace">cfg generate.</font></div><div><br></div><div>and the make: <span>make VERBOSE=1 2>&1 > build.log</span><br><br>the log is attached.</div><div><br></div><div>
Thanks!</div><span><font color="#888888"><div><br></div>-- <br>Lucas.-<br>
</font></span></div>
<br></div></div>_______________________________________________<br>
VM-beginners mailing list<br>
<a href="mailto:VM-beginners@lists.squeakfoundation.org" target="_blank">VM-beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lucas.-<br>
</div>