From: Christian Sternagel <christian.sternagel@uibk.ac.at>
To: caml-list@yquem.inria.fr
Subject: caml/bigarray.h vs. caml/compatibility.h
Date: Mon, 2 Apr 2007 10:11:40 +0200 [thread overview]
Message-ID: <20070402081140.GA3371@pc6197-c703.uibk.ac.at> (raw)
Since a few days I'm using ocaml3.10 as standard ocaml environment. Until now everything worked fine. Then I tried to recompile a stub file for an ocmal-interfaced C-library and ended up with the error message "'bigarray.h' not found". After browsing the directory <ocamllibpath>/caml/ i realised, that the compiler was correct :), there was realy no bigarray.h. Instead there is a file named compatibility.h where some preprocessor commands are included which seemed to correspond to the former bigarray.h. After creating a new file bigarray.h with the sole content:
#include <caml/compatibility.h>
everything worked fine, until there was another error message for a different ocaml-interfaced C-library, namely: "'camlidlruntime.h' not found". Here I had to create the file camlidlruntime.h with the content:
#include <<oldocamllibpath>/caml/camlidlruntime.h>
in order to be able to compile. Now this solution does not seem very nice to me. Is there a general advice how to change settings as the one above from ocaml < 3.10 to ocaml 3.10?
cheers
christian
reply other threads:[~2007-04-02 8:11 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=20070402081140.GA3371@pc6197-c703.uibk.ac.at \
--to=christian.sternagel@uibk.ac.at \
--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