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

The documentation fails to mention that you must #load "dynlink.cma";; #4833

Closed
vicuna opened this issue Jul 8, 2009 · 1 comment
Closed

Comments

@vicuna
Copy link

vicuna commented Jul 8, 2009

Original bug ID: 4833
Reporter: larsr
Status: closed (set by @damiendoligez on 2012-02-01T12:52:06Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.0
Fixed in version: 3.12.1
Category: documentation
Duplicate of: #5261 #5496

Bug description

On http://caml.inria.fr/pub/docs/manual-ocaml/manual003.html#toc11
it says you should #load "camlp4o.cma";;
but this fails with the message
Error: Reference to undefined global `Dynlink'

This is because you have to do #load "dynlink.cma";; first

The documentation should be updated to reflect this, to help the new users who just pick up the tutorial to try out ocaml

Additional information

Here is a user who (like me) stumbled into this trap:
http://www.nabble.com/Problem-using-camlp4o-on-windows.-td21688501.html

@vicuna
Copy link
Author

vicuna commented Feb 1, 2012

Comment author: @damiendoligez

This was fixed in 3.12.0 or 3.12.1.

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

No branches or pull requests

1 participant