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

Needed to add the flag -no-alias-deps to get the example to build. #2882

Closed
wants to merge 1 commit into from

Conversation

linse
Copy link

@linse linse commented Mar 11, 2018

I'm completely new to this and would love to learn more about this flag. 😺
Thx @stedolan for helping me debug!

@yminsky
Copy link
Member

yminsky commented Mar 11, 2018

What compiler version are you running this on? I'm currently running on 4.06.0, and don't see any problem with the script as in the book.

@stedolan
Copy link

I'm not sure what version @linse's on, but I saw the same problem on 4.06.0 (using base v0.9.3, stdio v0.9.0).

@stedolan
Copy link

@yomimono points me towards ocaml/dune#567, which does look like the same issue. The error message I'm seeing is:

File "freq.ml", line 1:
Error: No implementations provided for the following modules:
         Stdio__ referenced from freq.cmx
         Base__ referenced from freq.cmx

@yminsky
Copy link
Member

yminsky commented Mar 12, 2018

Closing. It sounds like this is a bug in a jbuilder beta that will be resolved soon, so it doesn't seem sensible to change RWO for this purpose.

@yminsky yminsky closed this Mar 12, 2018
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

Successfully merging this pull request may close these issues.

3 participants