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
Trying out Ocaml CVS HEAD
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-12 (13:49)
From: Dario Teixeira <darioteixeira@y...>
Subject: Trying out Ocaml CVS HEAD

I realise that the Ocaml CVS HEAD comes with an implicit "Here be dragons"
warning.  Still, I would like to use it so I can try running Ocsigen in
native mode (the loading of Ocsigen modules relies on dynlink; native mode
thus requires the new natdynlink feature).  I've compiled the Ocaml CVS via
GODI, using the instructions in Alain Frisch's page; though the compilation
completes with no problems and the compiler itself seems to work fine, I
always get an error when Ocsigen tries to dynlink (either in byte-code or
native-code) a module that uses stub libraries.  One example is camlzip;
here's the error message I get:

[errors.log] 2008-04-12 14:15:31 - Fatal - While loading
Dynlink.Error: error loading shared library:
undefined symbol: caml_named_value

Now, is this a transient problem related to catching the CVS HEAD in a grumpy
day, or is there something else at play?

(This was tried out on a i386 machine running Debian Testing;  The Ocaml
version is "3.11+dev12 Private_abbrevs+natdynlink (2008-02-29)", and gcc's
version is 4.2.3 (Debian 4.2.3-3))

Thanks in advance for your help!
Dario Teixeira

Yahoo! For Good helps you make a difference