caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Olivier Ricordeau <olivier.ricordeau@wanadoo.fr>
To: caml-list@inria.fr
Subject: [Caml-list] weird compilation problem
Date: Sat, 06 Sep 2003 00:09:43 +0200	[thread overview]
Message-ID: <3F5909A7.3060200@wanadoo.fr> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I have a weird compilation problem. ocamlc complains that it doesn't
find a class, and I really don't know what mistake I made...
FYI, it used to compile fine until I tried to write some interfaces.

(* Compilation error *)
olivier@freedom libnn > make byte
make[1]: Entering directory `/home/olivier/projects/marvin/src/libnn/misc'
 + making interface in misc ...
ocamlc -c -g -I ../misc -I ../networks -w A corpus.mli
[...]
 + making byte in misc ...
ocamlc -c -g -I ../misc -I ../networks -w A corpus.ml
[...]
make[1]: Leaving directory `/home/olivier/projects/marvin/src/libnn/misc'
make[1]: Entering directory
`/home/olivier/projects/marvin/src/libnn/networks'
 + making interface in networks ...
ocamlc -c -g -I ../misc -I ../networks -w A nn.mli
 + making byte in networks ...
ocamlc -c -g -I ../misc -I ../networks -w A nn.ml
File "nn.ml", line 68, characters 24-34:
Unbound class corpus
make[1]: *** [nn.cmo] Erreur 2

(* FYI *)
olivier@freedom libnn > ls misc/corpus.*
misc/corpus.cmi  misc/corpus.cmo  misc/corpus.ml  misc/corpus.mli
olivier@freedom libnn > ocamlc -v
The Objective Caml compiler, version 3.06
Standard library directory: /usr/lib/ocaml/3.06

(* Code *)
http://freefolks.org/tmp/corpus.mli
http://freefolks.org/tmp/corpus.ml
http://freefolks.org/tmp/nn.ml
http://freefolks.org/tmp/nn.mli

If someone has an idea of what I did wrong, I'm interested! I'm quite
stuck for now.

Oliv

- --
- -= *Olivier RICORDEAU* =-        http://freefolks.org
          < LibNN addict http://libnn.org >
lynx -source http://freefolks.org/key.asc | gpg --import
olivier.ricordeau@wanadoo.fr _May the source be with you_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/WQmnDFRYKP6DJEwRAtmSAKCnHY/8nbQ2Qdf/S3J8JGLf4C09AwCghtsg
x6BjeSpWdMGtpatUtkqtZRg=
=A4xo
-----END PGP SIGNATURE-----

-------------------
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:[~2003-09-05 22:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-05 22:09 Olivier Ricordeau [this message]
2003-09-05 22:45 ` Olivier Andrieu
2003-09-06  1:22   ` Olivier Ricordeau

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=3F5909A7.3060200@wanadoo.fr \
    --to=olivier.ricordeau@wanadoo.fr \
    --cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).