From: Bertrand Jeannet <Bertrand.Jeannet@inrialpes.fr>
To: caml-list@yquem.inria.fr
Subject: Change of behaviour of ocaml -make-runtime with 3.11.0
Date: Thu, 18 Dec 2008 13:32:20 +0100 [thread overview]
Message-ID: <494A42D4.7070501@inrialpes.fr> (raw)
1. With OCaml 3.11.0, if I write
ocamlc.opt -o myrun -make_runtime unix.cma
ocamlc.opt -o essai -use_runtime myrun unix.cma essai.ml
(with essai.ml:
let x = Unix.time() in
Format.printf "Here1 %f@." x;;)
and then ./essai
I get the following error message:
Fatal error: cannot load shared library dllunix
Reason: /usr/local/lib/ocaml/stublibs/dllunix.so: undefined symbol:
caml_copy_int64
2. Until version 3.10.2, it was OK
3. I understandd that now, it is not necessary to use a custom runtime,
as ocamlrun can load dynamically dllunix.so (in that case, ./essai works
OK).
However, I would like that my Makefiles remain compatible with recent
versions of OCaml.
Bertrand Jeannet
reply other threads:[~2008-12-18 12:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494A42D4.7070501@inrialpes.fr \
--to=bertrand.jeannet@inrialpes.fr \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox