[Vm-dev] error building linux32x86/squeak.cog.spur on FreeBSD 13.1-RELEASE-p2

Vaidotas Didžbalis vaidasd at gmail.com
Wed Oct 26 13:18:37 UTC 2022


Hello,
Building squeak VM on FreeBSD failed, though it used to work for  both
32 and 64 bit. Could someone comment on what is missing here? Thank
you in advance
Vaidotas


vaidas at NomadBSD ~/o/b/l/s/build (Cog)> pwd
/home/vaidas/opensmalltalk-vm/building/linux32x86/squeak.cog.spur/build

vaidas at NomadBSD ~/o/b/l/s/build (Cog)> ./mvm
static char SvnRawRevisionString[] = "$Rev$";
static char GitRawRevisionString[] = "$Rev$";
platforms/Cross/vm/sqSCCSVersion.h not up-to-date.
You must run ../../../../scripts/updateSCCSVersions
vaidas at NomadBSD ~/o/b/l/s/build (Cog) [1]>
../../../../scripts/updateSCCSVersions
vaidas at NomadBSD ~/o/b/l/s/build (Cog)> ./mvm
clean? y
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
.... snip ....

/home/vaidas/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c
/home/vaidas/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:979:19:
warning: incompatible pointer types initializing 'struct mcontext *'
with an expression of type 'mcontext_t *' (aka 'struct __mcontext *')
[-Wincompatible-pointer-types]
        struct mcontext *regs = &uap->uc_mcontext;
                         ^      ~~~~~~~~~~~~~~~~~
/home/vaidas/opensmalltalk-vm/platforms/unix/vm/sqUnixMain.c:984:8:
error: incomplete definition of type 'struct mcontext'
                        regs->mc_eax, regs->mc_ebx, regs->mc_ecx, regs->mc_edx,
                        ~~~~^


More information about the Vm-dev mailing list