Version française
Home     About     Download     Resources     Contact us    
Browse thread
Link errors with O'Caml 3.09 and Camlidl 1.05
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mary Fernandez <mff@r...>
Subject: Re: [Caml-list] Link errors with O'Caml 3.09 on MacOS
Hi Alain,

We reported a bug in November with 3.09 when 
using ocamlopt to compile libraries build with the -pack option.
You said it was fixed by this patch:
http://caml.inria.fr/mantis/view.php?id=3825

Is this patch installed in the current release 3.09.1?
>From the dates in the patch log, it looks like it should be,
but I can't find any doc to be sure, and we are still
getting link errors.

Also, is this patch installed in the binary releases for Linux & MacOS?
It looks like the binary releases for Windows are still 3.09.0.

We want to be sure the patch is installed in all the downloadable
compilers as we can't ask our users to do patches by hand.

Thanks a lot!
Mary

On Wed, 2005-11-23 at 10:34, Alain Frisch wrote:
> Mary Fernandez wrote:
> > Hi Damien,
> > Thanks for your quick response.  I have another linking
> > problem on the Mac O/S 10.4 with O'Caml 3.09.  I'm getting
> > undefined _caml* symbols (see below).  From the link step,
> > you can see that I'm using a lot of libraries
> > (pcre, netstring, pxp, camomile, etc).
> 
> I suspect that one of the libraries uses the -pack option (probably 
> camomile). Unfortunately, this option does not work well under OCaml 
> 3.09 (with ocamlopt). You can try to apply to OCaml the patch from here:
> 
> http://caml.inria.fr/mantis/view.php?id=3825
> 
> -- Alain
-- 
Mary Fernandez <mff@research.att.com>
AT&T Labs - Research