Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Dario Teixeira <darioteixeira@y...>
Subject: Trying out Ocaml CVS HEAD
Hi,

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
/home/dario/.godi/lib/ocaml/pkg-lib/camlzip/camlzip.cma:
Dynlink.Error: error loading shared library:
/home/dario/.godi/lib/ocaml/pkg-lib/stublibs/dllcamlzip_stubs.so:
/home/dario/.godi/lib/ocaml/pkg-lib/stublibs/dllcamlzip_stubs.so:
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!
Cheers,
Dario Teixeira





      ___________________________________________________________ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/