I have the same error on ubuntu 10.10.<div><br><br><div class="gmail_quote">2012/6/10 David Leonhardt <span dir="ltr">&lt;<a href="mailto:davidleonhardt@gmail.com" target="_blank">davidleonhardt@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m using Ubuntu 12.04 32 bits<div class="HOEnZb"><div class="h5"><br><br><br><div class="gmail_quote">2012/6/10 Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi David. Nice to see you here!<br>Looks like it is not finding the math library?<br>which exact OS are you using?<br><br><div class="gmail_quote"><div><div>On Sun, Jun 10, 2012 at 7:29 PM, David Leonhardt <span dir="ltr">&lt;<a href="mailto:davidleonhardt@gmail.com" target="_blank">davidleonhardt@gmail.com</a>&gt;</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><div><img alt=""></div><span lang="en"><span>Hi!<br><br>My</span> <span>name is</span> <span>David</span><span>, I&#39;m</span> <span>trying to compile</span> <span>my first</span> <span>vm</span> <span>following this</span> <span>tutorial:</span><br>




 <span><a href="http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/" target="_blank">http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/</a></span><br>




<br> <span>When</span> <span>running make</span><span>, I get this</span> <span>error:<br><br>[ 84%] Built target LocalePlugin<br>[ 84%] Building C object CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c.o<br>




/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c: In function ‘main’:<br>/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c:1718:38: warning: assignment from incompatible pointer type [enabled by default]<br>




/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c:1723:38: warning: assignment from incompatible pointer type [enabled by default]<br>[ 85%] Building C object CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMemory.c.o<br>




[ 85%] Building C object CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixThreads.c.o<br>[ 86%] Building C object CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixVMProfile.c.o<br>




[ 86%] Building C object CMakeFiles/CogVM.dir/version.c.o<br>Linking C executable /home/david/worksapaces/cogVM/blessed/results/CogVM<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c.o: In function `sigusr1&#39;:<br>




sqUnixMain.c:(.text+0x4af): undefined reference to `pthread_kill&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o: In function `primitiveExp&#39;:<br>gcc3x-cointerp.c:(.text+0x9a26): undefined reference to `exp&#39;<br>




CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o: In function `primitiveLogN&#39;:<br>gcc3x-cointerp.c:(.text+0x9aa6): undefined reference to `log&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o: In function `primitiveArctan&#39;:<br>




gcc3x-cointerp.c:(.text+0x9b26): undefined reference to `atan&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o: In function `primitiveSine&#39;:<br>gcc3x-cointerp.c:(.text+0x9ba6): undefined reference to `sin&#39;<br>




CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o: In function `primitiveSquareRoot&#39;:<br>gcc3x-cointerp.c:(.text+0x9cb2): undefined reference to `sqrt&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o: In function `interpreterAllocationReserveBytes&#39;:<br>




gcc3x-cointerp.c:(.text+0xaf66): undefined reference to `pow&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o: In function `printFrameOopindexat&#39;:<br>gcc3x-cointerp.c:(.text+0x124ac): undefined reference to `log10&#39;<br>




CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o: In function `tryLoading&#39;:<br>sqUnixExternalPrims.c:(.text+0xd2): undefined reference to `dlopen&#39;<br>sqUnixExternalPrims.c:(.text+0xf1): undefined reference to `dlerror&#39;<br>




CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o: In function `ioLoadModule&#39;:<br>sqUnixExternalPrims.c:(.text+0x279): undefined reference to `dlopen&#39;<br>sqUnixExternalPrims.c:(.text+0x2a1): undefined reference to `dlerror&#39;<br>




CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o: In function `ioFindExternalFunctionIn&#39;:<br>sqUnixExternalPrims.c:(.text+0x497): undefined reference to `dlsym&#39;<br>




sqUnixExternalPrims.c:(.text+0x543): undefined reference to `dlerror&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o: In function `ioFreeModule&#39;:<br>sqUnixExternalPrims.c:(.text+0x58b): undefined reference to `dlclose&#39;<br>




CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o: In function `prodHighPriorityThread&#39;:<br>sqUnixHeartbeat.c:(.text+0x52e): undefined reference to `pthread_kill&#39;<br>



CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o: In function `heartbeat_handler&#39;:<br>
sqUnixHeartbeat.c:(.text+0x55a): undefined reference to `pthread_kill&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o: In function `unblockVMThreadAfterYieldToHighPriorityTickerThread&#39;:<br>




sqUnixHeartbeat.c:(.text+0x683): undefined reference to `pthread_mutex_trylock&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o: In function `ioInitHeartbeat&#39;:<br>




sqUnixHeartbeat.c:(.text+0x74e): undefined reference to `pthread_create&#39;<br>CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixThreads.c.o: In function `crashInThisOrAnotherThread&#39;:<br>




sqUnixThreads.c:(.text+0x9b): undefined reference to `pthread_create&#39;<br>B2DPlugin/libB2DPlugin.a(B2DPlugin.c.o): In function `accurateLengthOfwith&#39;:<br>B2DPlugin.c:(.text+0x6e82): undefined reference to `sqrt&#39;<br>




B2DPlugin/libB2DPlugin.a(B2DPlugin.c.o): In function `transformWidth&#39;:<br>B2DPlugin.c:(.text+0x9219): undefined reference to `sqrt&#39;<br>B2DPlugin.c:(.text+0x9234): undefined reference to `sqrt&#39;<br>CroquetPlugin/libCroquetPlugin.a(CroquetPlugin.c.o): In function `primitiveInplaceHouseHolderInvert&#39;:<br>




CroquetPlugin.c:(.text+0x8f1): undefined reference to `sqrt&#39;<br>CroquetPlugin.c:(.text+0x91c): undefined reference to `sqrt&#39;<br>FloatArrayPlugin/libFloatArrayPlugin.a(FloatArrayPlugin.c.o):FloatArrayPlugin.c:(.text+0xfb9): more undefined references to `sqrt&#39; follow<br>




FloatMathPlugin/libFloatMathPlugin.a(k_rem_pio2.c.o): In function `__kernel_rem_pio2&#39;:<br>k_rem_pio2.c:(.text+0x1e3): undefined reference to `floor&#39;<br>Klatt/libKlatt.a(Klatt.c.o): In function `linearFromdB&#39;:<br>




Klatt.c:(.text+0x81): undefined reference to `pow&#39;<br>Klatt/libKlatt.a(Klatt.c.o): In function `antiResonatorfrequencybandwidth&#39;:<br>Klatt.c:(.text+0xc0): undefined reference to `exp&#39;<br>Klatt.c:(.text+0xe2): undefined reference to `cos&#39;<br>




Klatt/libKlatt.a(Klatt.c.o): In function `resonatorfrequencybandwidth&#39;:<br>Klatt.c:(.text+0x160): undefined reference to `exp&#39;<br>Klatt.c:(.text+0x192): undefined reference to `cos&#39;<br>Klatt/libKlatt.a(Klatt.c.o): In function `primitiveSynthesizeFrameIntoStartingAt&#39;:<br>




Klatt.c:(.text+0xa92): undefined reference to `pow&#39;<br>Klatt.c:(.text+0xc41): undefined reference to `sin&#39;<br>Klatt.c:(.text+0xc59): undefined reference to `sin&#39;<br>Klatt.c:(.text+0xc6f): undefined reference to `sin&#39;<br>




Klatt.c:(.text+0xe3a): undefined reference to `sincosf&#39;<br>Klatt.c:(.text+0xe6a): undefined reference to `exp&#39;<br>Klatt.c:(.text+0xef5): undefined reference to `exp&#39;<br>Klatt.c:(.text+0xf78): undefined reference to `exp&#39;<br>




Klatt.c:(.text+0xffa): undefined reference to `exp&#39;<br>Klatt.c:(.text+0x1098): undefined reference to `exp&#39;<br>Klatt.c:(.text+0x10cc): undefined reference to `sincos&#39;<br>Klatt.c:(.text+0x115e): undefined reference to `exp&#39;<br>




Klatt.c:(.text+0x119b): undefined reference to `pow&#39;<br>Klatt.c:(.text+0x1db2): undefined reference to `exp&#39;<br>Klatt.c:(.text+0x1e2e): undefined reference to `exp&#39;<br>Klatt.c:(.text+0x1ed8): undefined reference to `exp&#39;<br>




Klatt.c:(.text+0x1f3c): undefined reference to `pow&#39;<br>Klatt.c:(.text+0x1f6e): undefined reference to `pow&#39;<br>Mpeg3Plugin/libMpeg3Plugin.a(mpeg3video.c.o): In function `mpeg3video_allocate_struct&#39;:<br>mpeg3video.c:(.text+0x5e5): undefined reference to `pthread_mutexattr_init&#39;<br>




Mpeg3Plugin/libMpeg3Plugin.a(slice.c.o): In function `mpeg3_new_slice_buffer&#39;:<br>slice.c:(.text+0x60): undefined reference to `pthread_mutexattr_init&#39;<br>Mpeg3Plugin/libMpeg3Plugin.a(slice.c.o): In function `mpeg3_new_slice_decoder&#39;:<br>




slice.c:(.text+0x139a): undefined reference to `pthread_mutexattr_init&#39;<br>slice.c:(.text+0x13f2): undefined reference to `pthread_create&#39;<br>Mpeg3Plugin/libMpeg3Plugin.a(slice.c.o): In function `mpeg3_delete_slice_decoder&#39;:<br>




slice.c:(.text+0x145c): undefined reference to `pthread_join&#39;<br>Mpeg3Plugin/libMpeg3Plugin.a(tables.c.o): In function `mpeg3audio_init_layer2&#39;:<br>tables.c:(.text+0x16f): undefined reference to `pow&#39;<br>Mpeg3Plugin/libMpeg3Plugin.a(tables.c.o): In function `mpeg3audio_init_layer3&#39;:<br>




tables.c:(.text+0x20a): undefined reference to `pow&#39;<br>tables.c:(.text+0x244): undefined reference to `pow&#39;<br>tables.c:(.text+0x2ef): undefined reference to `sin&#39;<br>tables.c:(.text+0x328): undefined reference to `cos&#39;<br>




tables.c:(.text+0x34e): undefined reference to `sin&#39;<br>tables.c:(.text+0x376): undefined reference to `cos&#39;<br>tables.c:(.text+0x43d): undefined reference to `cos&#39;<br>tables.c:(.text+0x466): undefined reference to `cos&#39;<br>




tables.c:(.text+0x491): undefined reference to `sin&#39;<br>tables.c:(.text+0x4ba): undefined reference to `cos&#39;<br>tables.c:(.text+0x4e0): undefined reference to `sin&#39;<br>tables.c:(.text+0x508): undefined reference to `cos&#39;<br>




tables.c:(.text+0x5a8): undefined reference to `cos&#39;<br>tables.c:(.text+0x5e9): undefined reference to `cos&#39;<br>tables.c:(.text+0x6da): undefined reference to `cos&#39;<br>tables.c:(.text+0x729): undefined reference to `sin&#39;<br>




tables.c:(.text+0x75c): undefined reference to `cos&#39;<br>tables.c:(.text+0x772): undefined reference to `cos&#39;<br>tables.c:(.text+0x81a): undefined reference to `pow&#39;<br>tables.c:(.text+0x8a5): undefined reference to `tan&#39;<br>




tables.c:(.text+0x916): undefined reference to `pow&#39;<br>tables.c:(.text+0x93e): undefined reference to `pow&#39;<br>tables.c:(.text+0xe3d): undefined reference to `sqrt&#39;<br>Mpeg3Plugin/libMpeg3Plugin.a(tables.c.o): In function `mpeg3audio_new_decode_tables&#39;:<br>




tables.c:(.text+0xeba): undefined reference to `cos&#39;<br>tables.c:(.text+0xefd): undefined reference to `cos&#39;<br>Mpeg3Plugin/libMpeg3Plugin.a(dct.c.o): In function `mpeg3audio_imdct_init&#39;:<br>dct.c:(.text+0x124f): undefined reference to `sincos&#39;<br>




dct.c:(.text+0x12cf): undefined reference to `sincos&#39;<br>dct.c:(.text+0x1411): undefined reference to `sincos&#39;<br>collect2: ld returned 1 exit status<br>make[2]: *** [/home/david/worksapaces/cogVM/blessed/results/CogVM] Error 1<br>




make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2<br>make: *** [all] Error 2<br><br>I&#39;m using Ubuntu 12.04<br><br><br></span></span><span lang="en"><span>Thank you very much</span><span>.</span></span>
<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><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><br>_______________________________________________<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><br>
</div></div></blockquote></div><br></div>