Nicolas Passerini commited a &#39;-m32&#39; flag to the CogUnixConfiguration in order to be able to compile it on a 64bits machine.<br>Can you check it is still there? maybe it only was added to the VM and not to plugins. <br>
<br><div class="gmail_quote">On Sat, Aug 13, 2011 at 11:13 AM, laurent laffont <span dir="ltr">&lt;<a href="mailto:laurent.laffont@gmail.com">laurent.laffont@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 <br>Hi<div><br></div><div>I try to build a 32bits Cog on Debian 64 bits. I do:</div><div><br></div><div>apt-get install libsm-dev libasound2-dev libgl1-mesa-dev cmake g++ libc6-dev-i386 </div><div><br> git clone --depth 1 git://<a href="http://gitorious.org/%7Elaurentlaffont/cogvm/smallharbour.git" target="_blank">gitorious.org/~laurentlaffont/cogvm/smallharbour.git</a> shvm<br>


 cd shvm/codegen-scripts/<br> export SQUEAKVM=/usr/local/bin/coglinux/squeak<br> sh ./buildImage.sh -headless<br> sh ./generate.sh -headless CogUnixConfig<br> cd ../build/<br> sh ../codegen-scripts/extract-commit-info.sh<br>


 cmake .<br> make<br><br></div><div><br></div><div>I have the error:</div><div><div><br></div><div>[ 94%] Built target CogVM</div><div>Linking C shared library /root/securedvm/results/vm-display-null</div><div>/usr/bin/ld: i386 architecture of input file `CMakeFiles/vm-display-null.dir/root/securedvm/platforms/unix/vm-display-null/sqUnixDisplayNull.c.o&#39; is incompatible with i386:x86-64 output</div>


<div><br></div><div>Any idea ?</div><div><br></div><div><br></div><div><br></div>Laurent Laffont - <a href="http://twitter.com/#%21/lolgzs" target="_blank">@lolgzs</a><br><br>Pharo Smalltalk Screencasts: <a href="http://www.pharocasts.com/" target="_blank">http://www.pharocasts.com/</a><br>


Blog: <a href="http://magaloma.blogspot.com/" target="_blank">http://magaloma.blogspot.com/</a><div>Developer group: <a href="http://cara74.seasidehosting.st" target="_blank">http://cara74.seasidehosting.st</a></div><br>


</div>
<br></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>