-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error: Reference to undefined global `Oprint' #108
Comments
That module is part of the compiler-libs. Can you tell what version of OCaml you are using, and see in ocp-index's |
Yes, I noticed. I'm on 4.03.0, but I get the same on 4.04.0+flambda. The META file seems to be identical to https://github.com/OCamlPro/ocp-index/blob/618872a0980d077857a63d502eadbbf0d1b05c0f/META where only the version number has changed the past 4 years. It was working for me until I updated a few days ago. I'm wondering if it's due to a change in ocamlfind? I discovered the issue when I saw the same error in https://github.com/reynir/ocp-index-top (which is a hack; would be cool to include something similar in ocp-index), and I found out ocp-index was affected in the same way. |
I just tried to reproduce on a fresh 4.04.1 switch, and I could not. |
Interesting! I tested with |
It seems to be due to ocaml-community/utop#213. Sorry for the noise, and thank you! |
After running
opam upgrade
I can no longer useocp-index.lib
. It fails with the error in the title. It can easily be reproduced in e.g. utop:The text was updated successfully, but these errors were encountered: