The problem is still there, with another plugin, but it's still there.<br><br><br><div class="gmail_quote">2012/6/10 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 class="im">Klatt/libKlatt.a(Klatt.c.o): In function `linearFromdB':<br>
Klatt.c:(.text+0x81): undefined reference to `pow'<br>
<br>
</div>- seems like klatt plugin missing -lm<br>
<br>
Mpeg3Plugin/libMpeg3Plugin.a<br>
this guys seems to be missing<br>
-lpthread -lm<br>
<br>
Try adding following two methods to CogFamilyUnixConfig and rerun the #generated<br>
<br>
<br>
CogFamilyUnixConfig>>configureMpeg3Plugin: maker<br>
super configureMpeg3Plugin: maker.<br>
maker addExternalLibraries: #('m' 'pthread')<br>
<br>
CogFamilyUnixConfig>>configureKlattSynthesizerPlugin: maker<br>
<br>
maker addExternalLibraries: #('m')<br>
<br>
-- see if this can help.<br>
<br>
you can also just exclude these plugins from build, unless of course<br>
you cannot live w/o them :)<br>
<br>
you can do something like that:<br>
cfg := CogUnixConfig new.<br>
cfg internalPlugins: (cfg internalPlugins difference: #(<br>
KlattSynthesizerPlugin Mpeg3Plugin))<br>
cfg generate<br>
<div class="HOEnZb"><div class="h5"><br>
On 11 June 2012 00:56, David Leonhardt <<a href="mailto:davidleonhardt@gmail.com">davidleonhardt@gmail.com</a>> wrote:<br>
> Yes, they are installed.<br>
><br>
><br>
> 2012/6/10 Igor Stasenko <<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>><br>
>><br>
>> Hmm. that strange.<br>
>> do you have headers installed?<br>
>> /usr/include/pthread.h<br>
>><br>
>>>>>> When running make, I get this error:<br>
>>>>>><br>
>>>>>> [ 84%] Built target LocalePlugin<br>
>>>>>> [ 84%] Building C object<br>
>>>>>> 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:<br>
>>>>>> In function ‘main’:<br>
>>>>>><br>
>>>>>> /home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c:1718:38:<br>
>>>>>> warning: assignment from incompatible pointer type [enabled by default]<br>
>>>>>><br>
>>>>>> /home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c:1723:38:<br>
>>>>>> warning: assignment from incompatible pointer type [enabled by default]<br>
>>>>>> [ 85%] Building C object<br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMemory.c.o<br>
>>>>>> [ 85%] Building C object<br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixThreads.c.o<br>
>>>>>> [ 86%] Building C object<br>
>>>>>> 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<br>
>>>>>> /home/david/worksapaces/cogVM/blessed/results/CogVM<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixMain.c.o:<br>
>>>>>> In function `sigusr1':<br>
>>>>>> sqUnixMain.c:(.text+0x4af): undefined reference to `pthread_kill'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o:<br>
>>>>>> In function `primitiveExp':<br>
>>>>>> gcc3x-cointerp.c:(.text+0x9a26): undefined reference to `exp'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o:<br>
>>>>>> In function `primitiveLogN':<br>
>>>>>> gcc3x-cointerp.c:(.text+0x9aa6): undefined reference to `log'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o:<br>
>>>>>> In function `primitiveArctan':<br>
>>>>>> gcc3x-cointerp.c:(.text+0x9b26): undefined reference to `atan'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o:<br>
>>>>>> In function `primitiveSine':<br>
>>>>>> gcc3x-cointerp.c:(.text+0x9ba6): undefined reference to `sin'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o:<br>
>>>>>> In function `primitiveSquareRoot':<br>
>>>>>> gcc3x-cointerp.c:(.text+0x9cb2): undefined reference to `sqrt'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o:<br>
>>>>>> In function `interpreterAllocationReserveBytes':<br>
>>>>>> gcc3x-cointerp.c:(.text+0xaf66): undefined reference to `pow'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/src/vm/gcc3x-cointerp.c.o:<br>
>>>>>> In function `printFrameOopindexat':<br>
>>>>>> gcc3x-cointerp.c:(.text+0x124ac): undefined reference to `log10'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o:<br>
>>>>>> In function `tryLoading':<br>
>>>>>> sqUnixExternalPrims.c:(.text+0xd2): undefined reference to `dlopen'<br>
>>>>>> sqUnixExternalPrims.c:(.text+0xf1): undefined reference to `dlerror'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o:<br>
>>>>>> In function `ioLoadModule':<br>
>>>>>> sqUnixExternalPrims.c:(.text+0x279): undefined reference to `dlopen'<br>
>>>>>> sqUnixExternalPrims.c:(.text+0x2a1): undefined reference to `dlerror'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o:<br>
>>>>>> In function `ioFindExternalFunctionIn':<br>
>>>>>> sqUnixExternalPrims.c:(.text+0x497): undefined reference to `dlsym'<br>
>>>>>> sqUnixExternalPrims.c:(.text+0x543): undefined reference to `dlerror'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixExternalPrims.c.o:<br>
>>>>>> In function `ioFreeModule':<br>
>>>>>> sqUnixExternalPrims.c:(.text+0x58b): undefined reference to `dlclose'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o:<br>
>>>>>> In function `prodHighPriorityThread':<br>
>>>>>> sqUnixHeartbeat.c:(.text+0x52e): undefined reference to `pthread_kill'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o:<br>
>>>>>> In function `heartbeat_handler':<br>
>>>>>> sqUnixHeartbeat.c:(.text+0x55a): undefined reference to `pthread_kill'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o:<br>
>>>>>> In function `unblockVMThreadAfterYieldToHighPriorityTickerThread':<br>
>>>>>> sqUnixHeartbeat.c:(.text+0x683): undefined reference to<br>
>>>>>> `pthread_mutex_trylock'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixHeartbeat.c.o:<br>
>>>>>> In function `ioInitHeartbeat':<br>
>>>>>> sqUnixHeartbeat.c:(.text+0x74e): undefined reference to<br>
>>>>>> `pthread_create'<br>
>>>>>><br>
>>>>>> CMakeFiles/CogVM.dir/home/david/worksapaces/cogVM/blessed/platforms/unix/vm/sqUnixThreads.c.o:<br>
>>>>>> In function `crashInThisOrAnotherThread':<br>
>>>>>> sqUnixThreads.c:(.text+0x9b): undefined reference to `pthread_create'<br>
>>>>>> B2DPlugin/libB2DPlugin.a(B2DPlugin.c.o): In function<br>
>>>>>> `accurateLengthOfwith':<br>
>>>>>> B2DPlugin.c:(.text+0x6e82): undefined reference to `sqrt'<br>
>>>>>> B2DPlugin/libB2DPlugin.a(B2DPlugin.c.o): In function `transformWidth':<br>
>>>>>> B2DPlugin.c:(.text+0x9219): undefined reference to `sqrt'<br>
>>>>>> B2DPlugin.c:(.text+0x9234): undefined reference to `sqrt'<br>
>>>>>> CroquetPlugin/libCroquetPlugin.a(CroquetPlugin.c.o): In function<br>
>>>>>> `primitiveInplaceHouseHolderInvert':<br>
>>>>>> CroquetPlugin.c:(.text+0x8f1): undefined reference to `sqrt'<br>
>>>>>> CroquetPlugin.c:(.text+0x91c): undefined reference to `sqrt'<br>
>>>>>><br>
>>>>>> FloatArrayPlugin/libFloatArrayPlugin.a(FloatArrayPlugin.c.o):FloatArrayPlugin.c:(.text+0xfb9):<br>
>>>>>> more undefined references to `sqrt' follow<br>
>>>>>> FloatMathPlugin/libFloatMathPlugin.a(k_rem_pio2.c.o): In function<br>
>>>>>> `__kernel_rem_pio2':<br>
>>>>>> k_rem_pio2.c:(.text+0x1e3): undefined reference to `floor'<br>
>>>>>> Klatt/libKlatt.a(Klatt.c.o): In function `linearFromdB':<br>
>>>>>> Klatt.c:(.text+0x81): undefined reference to `pow'<br>
>>>>>> Klatt/libKlatt.a(Klatt.c.o): In function<br>
>>>>>> `antiResonatorfrequencybandwidth':<br>
>>>>>> Klatt.c:(.text+0xc0): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0xe2): undefined reference to `cos'<br>
>>>>>> Klatt/libKlatt.a(Klatt.c.o): In function<br>
>>>>>> `resonatorfrequencybandwidth':<br>
>>>>>> Klatt.c:(.text+0x160): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0x192): undefined reference to `cos'<br>
>>>>>> Klatt/libKlatt.a(Klatt.c.o): In function<br>
>>>>>> `primitiveSynthesizeFrameIntoStartingAt':<br>
>>>>>> Klatt.c:(.text+0xa92): undefined reference to `pow'<br>
>>>>>> Klatt.c:(.text+0xc41): undefined reference to `sin'<br>
>>>>>> Klatt.c:(.text+0xc59): undefined reference to `sin'<br>
>>>>>> Klatt.c:(.text+0xc6f): undefined reference to `sin'<br>
>>>>>> Klatt.c:(.text+0xe3a): undefined reference to `sincosf'<br>
>>>>>> Klatt.c:(.text+0xe6a): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0xef5): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0xf78): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0xffa): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0x1098): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0x10cc): undefined reference to `sincos'<br>
>>>>>> Klatt.c:(.text+0x115e): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0x119b): undefined reference to `pow'<br>
>>>>>> Klatt.c:(.text+0x1db2): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0x1e2e): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0x1ed8): undefined reference to `exp'<br>
>>>>>> Klatt.c:(.text+0x1f3c): undefined reference to `pow'<br>
>>>>>> Klatt.c:(.text+0x1f6e): undefined reference to `pow'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(mpeg3video.c.o): In function<br>
>>>>>> `mpeg3video_allocate_struct':<br>
>>>>>> mpeg3video.c:(.text+0x5e5): undefined reference to<br>
>>>>>> `pthread_mutexattr_init'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(slice.c.o): In function<br>
>>>>>> `mpeg3_new_slice_buffer':<br>
>>>>>> slice.c:(.text+0x60): undefined reference to `pthread_mutexattr_init'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(slice.c.o): In function<br>
>>>>>> `mpeg3_new_slice_decoder':<br>
>>>>>> slice.c:(.text+0x139a): undefined reference to<br>
>>>>>> `pthread_mutexattr_init'<br>
>>>>>> slice.c:(.text+0x13f2): undefined reference to `pthread_create'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(slice.c.o): In function<br>
>>>>>> `mpeg3_delete_slice_decoder':<br>
>>>>>> slice.c:(.text+0x145c): undefined reference to `pthread_join'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(tables.c.o): In function<br>
>>>>>> `mpeg3audio_init_layer2':<br>
>>>>>> tables.c:(.text+0x16f): undefined reference to `pow'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(tables.c.o): In function<br>
>>>>>> `mpeg3audio_init_layer3':<br>
>>>>>> tables.c:(.text+0x20a): undefined reference to `pow'<br>
>>>>>> tables.c:(.text+0x244): undefined reference to `pow'<br>
>>>>>> tables.c:(.text+0x2ef): undefined reference to `sin'<br>
>>>>>> tables.c:(.text+0x328): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x34e): undefined reference to `sin'<br>
>>>>>> tables.c:(.text+0x376): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x43d): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x466): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x491): undefined reference to `sin'<br>
>>>>>> tables.c:(.text+0x4ba): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x4e0): undefined reference to `sin'<br>
>>>>>> tables.c:(.text+0x508): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x5a8): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x5e9): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x6da): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x729): undefined reference to `sin'<br>
>>>>>> tables.c:(.text+0x75c): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x772): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0x81a): undefined reference to `pow'<br>
>>>>>> tables.c:(.text+0x8a5): undefined reference to `tan'<br>
>>>>>> tables.c:(.text+0x916): undefined reference to `pow'<br>
>>>>>> tables.c:(.text+0x93e): undefined reference to `pow'<br>
>>>>>> tables.c:(.text+0xe3d): undefined reference to `sqrt'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(tables.c.o): In function<br>
>>>>>> `mpeg3audio_new_decode_tables':<br>
>>>>>> tables.c:(.text+0xeba): undefined reference to `cos'<br>
>>>>>> tables.c:(.text+0xefd): undefined reference to `cos'<br>
>>>>>> Mpeg3Plugin/libMpeg3Plugin.a(dct.c.o): In function<br>
>>>>>> `mpeg3audio_imdct_init':<br>
>>>>>> dct.c:(.text+0x124f): undefined reference to `sincos'<br>
>>>>>> dct.c:(.text+0x12cf): undefined reference to `sincos'<br>
>>>>>> dct.c:(.text+0x1411): undefined reference to `sincos'<br>
>>>>>> collect2: ld returned 1 exit status<br>
>>>>>> make[2]: *** [/home/david/worksapaces/cogVM/blessed/results/CogVM]<br>
>>>>>> Error 1<br>
>>>>>> make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2<br>
>>>>>> make: *** [all] Error 2<br>
>>>>>><br>
>>>>>> I'm using Ubuntu 12.04<br>
>>>>>><br>
>>>>>><br>
>>>>>> Thank you very much.<br>
>>>>>> _______________________________________________<br>
>>>>>> VM-beginners mailing list<br>
>>>>>> <a href="mailto:VM-beginners@lists.squeakfoundation.org">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>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Mariano<br>
>>>>> <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
>>>>><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> VM-beginners mailing list<br>
>>>>> <a href="mailto:VM-beginners@lists.squeakfoundation.org">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>
>>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> VM-beginners mailing list<br>
>>> <a href="mailto:VM-beginners@lists.squeakfoundation.org">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>
>><br>
>><br>
>><br>
>> --<br>
>> Best regards,<br>
>> Igor Stasenko.<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko.<br>
</div></div></blockquote></div><br>