remglk
remglk copied to clipboard
Link error on Linux with GIDISPATCH_AUTORESTORE_REGISTRY defined
Compiling glulxe c1c3a3140 with remglk-026, I had to comment out the definition of GIDISPATCH_AUTORESTORE_REGISTRY from gi_dispa.h to avoid the following linker error: glkop.c:215: undefined reference to `gidispatch_set_autorestore_registry'
I'm not sure how remglk is supposed to link with iosglk. Is gi_dispa.h:74 supposed to be an #ifdef?
(Sorry for the last response.) The missing gidispatch_set_autorestore_registry call is a mistake that got fixed a few years ago. I haven't done a release since then, so you need to use the bleeding-edge master branch (or comment out that line, as you found).