<div dir="ltr"><div><div><div><div>Hi guys, <br><br></div>Squeak is working now. There is no CameraPlugin, no UUIDPlugin and no ALSA.<br><br></div>I still got this issue with the makefile:<br><br><i><span style="font-family:monospace,monospace">[edwin@ottopedi ~/squeak/build]$ make<br>mkdir build || true<br>(cd build; ../../platforms/unix/cmake/con<wbr>figure --src=../../src " --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'")<br>unknown option:  --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'<br>-- Configuring squeak 4.16.5-3765 for i386-unknown-freebsd11.1<br>-- Using source directory /usr/home/edwin/squeak/src<br><br></span></i></div><span style="background-color:rgb(204,204,204)"><span><span style="background-color:rgb(238,238,238)"><span style="background-color:rgb(204,204,204)"></span></span></span></span>This looks like an error in resolving the parameters, because, when I execute the different steps manually, and correct the configure command as below, the script runs correctly.<br><i><span style="font-family:monospace,monospace">cd build; ../../platforms/unix/cmake/con<wbr>figure --src=../../src  --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64',<br><br></span></i></div><div><i><span style="font-family:monospace,monospace"><br></span></i></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">I will see if I can find out if this is due to some difference between FreeBSD and Linux to update the Makefile.<br><br></font></span></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Thanks,<br><br></font></span></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">Edwin Ancaer <br></font></span></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br></font></span></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br><br><br></font></span></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br></font></span></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif"><br> </font><br></span></div><div><i><span style="font-family:monospace,monospace"></span></i></div><i><span style="font-family:monospace,monospace"></span></i><div><div><div><br><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-20 19:34 GMT+02:00 Levente Uzonyi <span dir="ltr"><<a href="mailto:leves@caesar.elte.hu" target="_blank">leves@caesar.elte.hu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Edwin,<br>
<br>
I suggest you should keep using the -g compiler flag. It causes negligible slowdown, but without it debugging will be a lot harder.<span class="HOEnZb"><font color="#888888"><br>
<br>
Levente</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Sun, 20 May 2018, Edwin Ancaer wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dave,<br>
<br>
is it possible there is a problem in the CPARAM_FLAGS variable you passed.<br>
<br>
I get:<br>
<br>
(cd build; ../../platforms/unix/cmake/con<wbr>figure --src=../../src " --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'")<br>
unknown option:  --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'<br>
-- Configuring squeak 4.16.5-3765 for i386-unknown-freebsd11.1<br>
-- Using source directory /usr/home/edwin/squeak/src<br>
-- with CFLAGS =<br>
--      ARGS   =  -DOPT--src=/usr/home/edwin/squ<wbr>eak/src<br>
-- The C compiler identification is Clang 4.0.0<br>
<br>
This is an extract of the Makefile:<br>
<br>
# Assume platforms is ../platforms and src is ../src<br>
<br>
# CFLAGS setting to pass to cmake configure. If undefined, use compiler defaults.<br>
#CFLAGS_PARAM="--CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'"<br>
#CFLAGS_PARAM="--CFLAGS='-O0 -g'"<br>
CFLAGS_PARAM=" --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'"<br>
<br>
squeakvm:    build/squeakvm build64/squeakvm64<br>
<br>
build/squeakvm:    build/CMakeCache.txt<br>
    (cd build; make)<br>
<br>
Kind regards<br>
<br>
Edwin Ancaer<br>
<br>
 <br>
<br>
2018-05-19 17:25 GMT+02:00 David T. Lewis <<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>>:<br>
      Hi Edwin,<br>
<br>
      Let's try one more thing before we give up.<br>
<br>
      Looking at that error message, I think you must be encountering this issue<br>
      on FreeBSD:<br>
<br>
      <a href="https://github.com/FluidSynth/fluidsynth/issues/133" rel="noreferrer" target="_blank">https://github.com/FluidSynth/<wbr>fluidsynth/issues/133</a><br>
<br>
      That explains the "duplicate case value" error you are seeing. It will<br>
      affect only the ALSA vm plugin, so if ALSA sound is excluded from the build<br>
      I expect the error will be gone. Please try the following:<br>
<br>
      - Put SoundCodecPrims and SoundGenerationPlugin back into your <a href="http://plugins.int" rel="noreferrer" target="_blank">plugins.int</a><br>
      file. These were the the cause of the problem.<br>
<br>
      - In your build/Makefile, find the line that defines CFLAGS_PARAM, and<br>
      change it to this (leading space before the "--" is important, so copy<br>
      this exactly):<br>
<br>
        CFLAGS_PARAM=" --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'"<br>
<br>
      - Do a "make clean" followed by "make".<br>
<br>
      If this does not work, then let's move the question over to the vm-dev<br>
      list, and ask "can anyone can help provide either a Cog or interpreter VM<br>
      for V3 image on FreeBSD?" It is possible that someone may be running a Cog<br>
      OpenSmalltalk VM on FreeBSD, and if so that might be a better way to get<br>
      you running on FreeBSD.<br>
<br>
      CC to the vm-dev list.<br>
<br>
      Dave<br>
<br>
<br>
      On Sat, May 19, 2018 at 06:06:43AM +0200, Edwin Ancaer wrote:<br>
      > Hello,<br>
      ><br>
      > Squeak seems not to be made for FreeBSD.<br>
      > I removed the cameraplugin and the UUIDplugin, but at 96 % of the build,<br>
      > the error<br>
      ><br>
      > /home/edwin/squeak/platforms/u<wbr>nix/vm-sound-ALSA/sqUnixSoundA<wbr>LSA.c:254:9:<br>
      > error:<br>
      >       duplicate case value '-32'<br>
      >           case -ESTRPIPE: {     /* stream suspended */<br>
      >                ^<br>
      > popped up again.<br>
      ><br>
      > I tried to remove the sound plugins,SoundCodecPrims SoundGenerationPlugin<br>
      > SoundPlugin but that did not help.<br>
      ><br>
      > I then removed the offending case statement (logically, I could just get<br>
      > the wrong error message there).<br>
      ><br>
      > What I see is the squeak window opening, with a black rectangle in the<br>
      > upper left corner, and then the coredump starts.<br>
      ><br>
      > I'm afraid for now, I reached the limits of my possibilities. I'll have to<br>
      > choose, stay with FreeBSD and GNUstep, or back to Linux with Squeak....<br>
      > perfection does not exist in this world. I will keep following the mail<br>
      > list anyway, in case something pops up.<br>
      ><br>
      > Thanks anyway for the assistance.<br>
      ><br>
      > Edwin Ancaer<br>
      ><br>
      > 2018-05-19 1:47 GMT+02:00 David T. Lewis <<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>>:<br>
      ><br>
      > > Hi Edwin,<br>
      > ><br>
      > > Yes, it was a problem on the server, file system full as a result of some<br>
      > > hacker attacks. I have enough enough server access to clear out some files<br>
      > > from /tmp so I think it is working again now, although the problem is<br>
      > > likely<br>
      > > to come back. In any case, please give it another try and hopefully the<br>
      > > error<br>
      > > will to gone this time.<br>
      > ><br>
      > > Dave<br>
      > ><br>
      > > On Fri, May 18, 2018 at 11:07:53PM +0200, Edwin Ancaer wrote:<br>
      > > > Hello,<br>
      > > ><br>
      > > > when trying to execute the command<br>
      > > ><br>
      > > > svn co <a href="http://squeakvm.org/svn/squeak/trunk/platforms" rel="noreferrer" target="_blank">http://squeakvm.org/svn/squeak<wbr>/trunk/platforms</a><br>
      > > ><br>
      > > ><br>
      > > > I get the answer<br>
      > > ><br>
      > > > svn: E020014: Can't find a temporary directory: Internal error.<br>
      > > ><br>
      > > > I seem to hve enough free space. Can there be a problem on the server<br>
      > > again?<br>
      > > ><br>
      > > > Kind regards,<br>
      > > ><br>
      > > > 2018-05-18 5:37 GMT+02:00 Edwin Ancaer <<a href="mailto:eancaer@gmail.com" target="_blank">eancaer@gmail.com</a>>:<br>
      > > ><br>
      > > > > Tim,<br>
      > > > ><br>
      > > > > Thanks, the correspondence between the version numbers of vm, images<br>
      > > and<br>
      > > > > source files was not clear to me.<br>
      > > > ><br>
      > > > > However, the result remains the same: i get a coredump, with the same<br>
      > > > > backtrace. Now there is a chance the changes I made to get the vm<br>
      > > compiled<br>
      > > > > might have something to do with it, so I will first rebuild the vm and<br>
      > > > > exclude uuid and sound plugins, to see what I get then.<br>
      > > > ><br>
      > > > > Kind regards,<br>
      > > > ><br>
      > > > > Edwin Ancaer<br>
      > > > ><br>
      > > > ><br>
      > > > ><br>
      > > > > Op vr 18 mei 2018 04:23 schreef Tm Jhnsn <<a href="mailto:digit@sonic.net" target="_blank">digit@sonic.net</a>>:<br>
      > > > ><br>
      > > > >><br>
      > > > >> On May 16, 2018, at 11:47 PM, Edwin Ancaer wrote:<br>
      > > > >><br>
      > > > >> Doing the same I now have a  VM that could be working. I feel silly to<br>
      > > > >> ask, but can you tell ,me where I find a suitable image file? On<br>
      > > Windows<br>
      > > > >> and Linux I always used the all-in-one package, so this problem never<br>
      > > > >> occurred.<br>
      > > > >><br>
      > > > >><br>
      > > > >> Hi Edwin,<br>
      > > > >><br>
      > > > >> <a href="http://files.squeak.org/4.6/Squeak4.6-15102.zip" rel="noreferrer" target="_blank">http://files.squeak.org/4.6/Sq<wbr>ueak4.6-15102.zip</a> should contain your<br>
      > > > >> image.<br>
      > > > >><br>
      > > > >> <a href="http://files.squeak.org/4.6/SqueakV46.sources.zip" rel="noreferrer" target="_blank">http://files.squeak.org/4.6/Sq<wbr>ueakV46.sources.zip</a> should contain your<br>
      > > > >> sources file.<br>
      > > > >><br>
      > > > >> Hope that helps,<br>
      > > > >> Tim<br>
      > > > >><br>
      > > > >><br>
      > > > >><br>
      > > > >><br>
      > ><br>
      > > ><br>
      > ><br>
      > ><br>
      > ><br>
<br>
      ><br>
<br>
<br>
<br>
<br>
</blockquote>
</div></div><br><br>
<br></blockquote></div><br></div>