Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Array copying in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-07-28 (17:34)
From: Raj Bandyopadhyay <rajb@r...>
Subject: Re: [Caml-list] Array copying in OCaml
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 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