Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link error on Linux with GIDISPATCH_AUTORESTORE_REGISTRY defined #32

Open
innodonni opened this issue Dec 4, 2019 · 1 comment
Open

Comments

@innodonni
Copy link

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?

@erkyrath
Copy link
Owner

(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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants