Thanks Bert.<br>It worked at my side too !!!!<br><br>The mp3 played fine at my end though :| :)<br><br>However, I now face the ubiquitous packaging issue. As it stands out, the src-rpm available is "squeak-vm-3.10.5-5.fc14.src.rpm", which has some very different installation schemes as compared to the "<a href="http://www.squeakvm.org/unix/release/Squeak-4.4.7.2357-src.tar.gz">http://www.squeakvm.org/unix/release/Squeak-4.4.7.2357-src.tar.gz</a>" scheme. <br>
<br>Worse, the make for "3.10.5-5" variant fails with the error ::<br><br>############################################################################<br>In file included from /home/ajay/rpmbuild/SOURCES/Squeak-3.10-5/platforms/unix/vm/debug.c:3:0:<br>
/usr/include/stdio.h:419:66: error: macro "dprintf" passed 3 arguments, but takes just 1<br>/home/ajay/rpmbuild/SOURCES/Squeak-3.10-5/platforms/unix/vm/debug.c: In function ‘__sq_assert’:<br>/home/ajay/rpmbuild/SOURCES/Squeak-3.10-5/platforms/unix/vm/debug.c:21:3: warning: incompatible implicit declaration of built-in function ‘abort’<br>
make[1]: *** [debug.o] Error 1<br>make: *** [vm/vm.a] Error 2<br>############################################################################<br><br><br><br>So, does there exist a way to make a rpm out of "4.4.7.2357" variant, with the "Mpeg3Plugin/config.cmake" patch applied?<br>
<br><br>Thanks a ton for your time.<br><br><br>Thanks and Regards,<br>Ajay<br><br><div class="gmail_quote">On Wed, May 30, 2012 at 8:05 PM, Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"><br>
On 30.05.2012, at 13:55, Ajay Garg wrote:<br>
<br>
> Same result.<br>
><br>
> Following are the locations of candidate files :::<br>
><br>
> ################################################################################<br>
</div>> [ajay@localhost ~]$ ls -l /usr/lib/squeak/3.10-5/<br>
<div class="im">> -rwxr-xr-x. 1 root root 674862 May 30 17:24 Mpeg3Plugin<br>
><br>
</div>> ################################################################################<br>
<br>
This one should have been sufficient. You're right, it does not work. There is a genuine problem.<br>
<br>
So I checked. I recompiled the VM after setting DEBUG to 1 in unix/vm/sqUnixExternalPrims.c which shows what's happening when Squeak tries to load the plugin.<br>
<br>
The plugin is missing a few functions, which makes it fail to load. I found one C file that is not included when building the plugin.<br>
<br>
This likely happened in 2009 when we switched to CMake. Which shows that nobody else except kids in UY are using the Mpeg3Plugin ;)<br>
<br>
It would be much better if you included a real mp3 player in your OS, and not rely on the Squeak one ...<br>
<br>
I'm not quite sure what the right fix is, but a workaround is to add "${src}/plugins/Mpeg3Plugin/Mpeg3Plugin.c" to the ${plugin}_sources LIST in unix/plugins/Mpeg3Plugin/config.cmake<br>
<br>
After adding that line and rebuilding, the plugin works fine in the 4.4.7 VM. I did not try in the 3.10 VM but it should work too.<br>
<br>
The MP3 I tried played too fast. Not quite sure why that is, but that's enough investigating for me for now ...<br>
<br>
(And don't bother with MPEG videos. There are only very few that play in this plugin. It's not a general-purpose MPEG video player)<br>
<span class="HOEnZb"><font color="#888888"><br>
- Bert -<br>
</font></span></blockquote></div><br>