[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Cannot build unix sources (missing file: bld/plugins.int) (#507)

kksubbu notifications at github.com
Fri Jun 12 16:23:55 UTC 2020


On 12/06/20 8:35 pm, Christoph Thiede wrote:
> Thank you very much for your help, Subbu. So now I ran exactly your two 
> commands, but first, the build failed because it was missing |clang|. Do 
> I assume correctly that the following dependency should be mentioned 
> anywhere in the repository?
> 
> sudo apt-get -y install clang

I haven't used clang. I use the gcc toolchain. Sorry

> 
>   *
> 
>     |error: unknown warning option '-Wno-unused-but-set-variable'; did
>     you mean '-Wno-unused-const-variable'?
>     [-Werror,-Wunknown-warning-option] |

gcc has the unused-but-set-variable warning that gets suppressed with 
that flag. See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

If you use clang, you will have to find the equivalent.

>     fatal error: 'GL/gl.h' file not found # include <GL/gl.h> ^~~~~~~~~

This is found in mesa-common-dev package which gets install 
automatically as a dependency for libgl1-mesa-dev.

> 
>   * Additionally, I am getting a large number of 177 warnings, which are
>     probably not so important?

If I were you, I would scan through the warnings on 64b compile just to 
make sure I am not missing anything important. Both int and pointer were 
32b on 32b compile so one could force a pointer into int. But a pointer 
is 64b on 64bit compiles. Storing a pointer into a int is problematic.

Regards .. Subbu


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/507#issuecomment-643366169
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200612/64c5b1b1/attachment.html>


More information about the Vm-dev mailing list