yes you are right that this change is very specific to Ubuntu.
My system crashes when theIDE tries to call 'aplay ...', so I replaced the function with a dummy call.
I am sorry, I used the wrong wording . Of course my system does not crash , but I get a core dump each time aplay is called.
Neither theIDE is crashing, but I get several core dumps depending on the number of beep tries.
I think the problem is the abort() function since it abnormally terminates the process that was forked before to play sound file.
And this somehow triggers the core dump creation.
Just replace call to abort() with call to _exit(EXIT_SUCCESS), if possible on your system.
This change fixes the problem on my system since the child process terminates normally then.
No, it does not beep (at least not my computer).
I don't have 'aplay'. Is it a userland program of Ubuntu that is installed by default?
I think there was a version in the past in which I got a beep either by getting a build error or by finish building.
aplay is AFAIK standard ALSA utility - if you have ALSA, you should have aplay. It is the most standard way to play .wav files in Linux I have found so far.
Is there some equivalent standard command in FreeBSD? Do you have some .wav files where we are trying to find them?
Is there some equivalent standard command in FreeBSD?
There seems to be no such command in the base system.One could use the sound device file directly, but that does not seem to be a good solution.
luzr wrote
Do you have some .wav files where we are trying to find them?
Also, not available in the base system (fortunately ).
I would like to leave beeping out for FreeBSD since it seems we need to add extra dependencies for the port to function correctly and I doubt that this is worth the effort.