<div dir="ltr"><div>Using this configuration compiles:</div><div>$ ./configure --prefix=/usr/local/gambit --enable-multiple-versions --enable-shared --enable-single-host --enable-openssl --enable-dynamic-clib --enable-march=native</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 20, 2023 at 6:36 PM Dimitris Vyzovitis <<a href="mailto:vyzo@hackzen.org">vyzo@hackzen.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>$ ./configure --prefix=/usr/local/gambit --enable-multiple-versions --enable-shared --enable-single-host --enable-openssl --enable-poll --enable-high-res-timing --enable-multiple-vms --enable-dynamic-clib --enable-march=native</div><div>$ make -j4</div><div>....</div><div>gcc -O3 -pthread   -Wno-unused -Wno-write-strings -Wdisabled-optimization -fwrapv -fno-strict-aliasing -fno-trapping-math -fno-math-errno -fschedule-insns2 -foptimize-sibling-calls -fomit-frame-pointer -march=native -fPIC -fno-common -mpc64  -pthread  -I"../include" -c -o setup.o -I. -DHAVE_CONFIG_H -D___GAMBITDIR="\"/usr/local/gambit/v4.9.4\"" -D___GAMBITDIR_USERLIB="\"~/.gambit_userlib\"" -D___GAMBITDIR_INSTLIB="\"~~userlib\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"pc\"" -D___SYS_TYPE_OS="\"linux-gnu\"" -D___CONFIGURE_COMMAND="\"./configure '--prefix=/usr/local/gambit' '--enable-multiple-versions' '--enable-shared' '--enable-single-host' '--enable-openssl' '--enable-poll' '--enable-high-res-timing' '--enable-multiple-vms' '--enable-dynamic-clib' '--enable-march=native'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL setup.c -D___LIBRARY<br>In file included from setup.c:12:0:<br>setup.c: In function ‘make_global’:<br>../include/gambit.h:5010:62: error: ‘___ps’ undeclared (first use in this function); did you mean ‘__cos’?<br> #define ___GLOCELL(x)___GLOCELL_IN_VM(___VMSTATE_FROM_PSTATE(___ps),x)<br>                                                              ^<br>../include/gambit.h:5009:31: note: in definition of macro ‘___GLOCELL_IN_VM’<br> #define ___GLOCELL_IN_VM(vm,x)vm->glos[x]<br>                               ^~<br>../include/gambit.h:6975:1: note: in expansion of macro ‘___CAST’<br> ___CAST(___virtual_machine_state,ps)<br> ^~~~~~~<br>../include/gambit.h:5010:39: note: in expansion of macro ‘___VMSTATE_FROM_PSTATE’<br> #define ___GLOCELL(x)___GLOCELL_IN_VM(___VMSTATE_FROM_PSTATE(___ps),x)<br>                                       ^~~~~~~~~~~~~~~~~~~~~~<br>setup.c:1301:21: note: in expansion of macro ‘___GLOCELL’<br>       if (supply && ___GLOCELL(g->val) == ___UNB1)<br>                     ^~~~~~~~~~<br>../include/gambit.h:5010:62: note: each undeclared identifier is reported only once for each function it appears in<br> #define ___GLOCELL(x)___GLOCELL_IN_VM(___VMSTATE_FROM_PSTATE(___ps),x)<br>                                                              ^<br>../include/gambit.h:5009:31: note: in definition of macro ‘___GLOCELL_IN_VM’<br> #define ___GLOCELL_IN_VM(vm,x)vm->glos[x]<br>                               ^~<br>../include/gambit.h:6975:1: note: in expansion of macro ‘___CAST’<br> ___CAST(___virtual_machine_state,ps)<br> ^~~~~~~<br>../include/gambit.h:5010:39: note: in expansion of macro ‘___VMSTATE_FROM_PSTATE’<br> #define ___GLOCELL(x)___GLOCELL_IN_VM(___VMSTATE_FROM_PSTATE(___ps),x)<br>                                       ^~~~~~~~~~~~~~~~~~~~~~<br>setup.c:1301:21: note: in expansion of macro ‘___GLOCELL’<br>       if (supply && ___GLOCELL(g->val) == ___UNB1)<br>                     ^~~~~~~~~~<br>make[1]: *** [makefile:326: setup.o] Error 1<br></div></div>
</blockquote></div>