caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <markus@oefai.at>
To: David MENTRE <dmentre@linux-france.org>
Cc: Henri DF <henri.dubois-ferriere@epfl.ch>, caml-list@inria.fr
Subject: Re: [Caml-list] inconsistent assumptions over interface xxx.cmi
Date: Mon, 15 Mar 2004 20:55:55 +0100	[thread overview]
Message-ID: <20040315195555.GA21537@fichte.ai.univie.ac.at> (raw)
In-Reply-To: <874qsp3oph.fsf@linux-france.org>

On Mon, 15 Mar 2004, David MENTRE wrote:
> I've seen this kind of message in some rare cases where the .cmo is not
> properly recompiled with the .cmi, when the corresponding .ml is
> modified (due to errors or modification in my Makefile). Restarting from
> scratch (or at least erasing the yyy.cm* files) solve the issue.

This kind of error can also be the result of not computing dependencies
correctly after modifying ocamllex/yacc (*.mll, *.mly) files: you have
to first translate the scanner/parser specification to OCaml, you compute
dependencies for these files, and only then is it totally safe to compile
your code. If you run into such problems often, you might consider using
OCamlMakefile, which performs these steps automatically:

  http://www.oefai.at/~markus/home/ocaml_sources.html#OCamlMakefile

Regards,
Markus

-- 
Markus Mottl          http://www.oefai.at/~markus          markus@oefai.at

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2004-03-15 19:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 10:59 Henri DF
2004-03-15 19:16 ` David MENTRE
2004-03-15 19:55   ` Markus Mottl [this message]

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=20040315195555.GA21537@fichte.ai.univie.ac.at \
    --to=markus@oefai.at \
    --cc=caml-list@inria.fr \
    --cc=dmentre@linux-france.org \
    --cc=henri.dubois-ferriere@epfl.ch \
    /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;
as well as URLs for NNTP newsgroup(s).