From: Michel Mauny <Michel.Mauny@inria.fr>
To: Raj Bandyopadhyay <rajb@rice.edu>
Cc: OCaml <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Array copying in OCaml
Date: Tue, 29 Jul 2008 11:37:02 +0200 [thread overview]
Message-ID: <488EE4BE.4020200@inria.fr> (raw)
In-Reply-To: <488E0319.4060005@rice.edu>
Having a look at the comment "Hard bootstrap how-to" in the toplevel
Makefile of the OCaml distribution may help.
-- MM
Raj Bandyopadhyay écrit/writes [07/28/2008 07:34 PM] :
> Thanks Richard!
>
> I added my C code to array.c (in the development version which I got
> from CVS), and added an external declaration in array.ml. However, I now
> get the following compiler error:
>
> File "_none_", line 1, characters 0-1:
> Error: Error while linking boot/stdlib.cma(Array):
> The external function `caml_general_array_sub' is not available
> make[1]: *** [ocamlc] Error 2
> make[1]: Leaving directory `/home/rajb/research/software/sources/ocaml'
> make: *** [world] Error 2
>
>
>
> Obviously this is because of incompatibility in the 'boot' version vs
> the current version of the compiler. How do I get around this? I have
> never worked on the OCaml compiler before, so I am definitely missing
> something.
>
> Thanks
> Raj
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
--
Michel Mauny
ENSTA
(+33) 1 4552 5388 (ENSTA)
(+33) 1 3963 5796 (INRIA)
prev parent reply other threads:[~2008-07-29 9:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-24 16:31 Raj Bandyopadhyay
2008-07-24 16:37 ` [Caml-list] " Dr. Thomas Fischbacher
2008-07-24 17:25 ` Christophe TROESTLER
2008-07-24 19:46 ` Adrien
2008-07-28 2:03 ` Raj Bandyopadhyay
2008-07-28 7:52 ` Richard Jones
2008-07-28 17:34 ` Raj Bandyopadhyay
2008-07-28 21:11 ` Richard Jones
2008-07-29 9:37 ` Michel Mauny [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=488EE4BE.4020200@inria.fr \
--to=michel.mauny@inria.fr \
--cc=caml-list@yquem.inria.fr \
--cc=rajb@rice.edu \
/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