prosyslab-classroom / cs348-information-security

62 stars 10 forks source link

[Question][Hw3] Unbound value Instrument.run #87

Closed 0xXcrypted closed 3 years ago

0xXcrypted commented 3 years ago

I faced a new kind of error when running make command. Error: Unbound value Instrument.run

This error is raised in src/main.ml, Can anyone help me with this? Thanks

mickowale commented 3 years ago

You may have changed the name of run function in instrument.ml.

0xXcrypted commented 3 years ago

I’ve checked that but that is not my case. Thanks for your suggestion

RiceBiscuits commented 3 years ago

Please check that run function is complete.

miraliahmadli commented 3 years ago

If you are doing some recursive calls, that may have caused the issue: https://stackoverflow.com/questions/26491703/ocaml-error-unbound-value-when-using-recursion

If you are not doing recursively, just ignore this comment

0xXcrypted commented 3 years ago

Reconnecting to the VM solved this problem. Thanks everyone