From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 0D905BBBB for ; Fri, 10 Feb 2006 14:06:21 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k1AD6K3Y015124 for ; Fri, 10 Feb 2006 14:06:20 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA26525 for ; Fri, 10 Feb 2006 14:06:19 +0100 (MET) Received: from mail-white.research.att.com (mail-red.research.att.com [192.20.225.110]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k1AD6JME015115; Fri, 10 Feb 2006 14:06:19 +0100 Received: from [135.207.240.44] (vpn-44.research.att.com [135.207.240.44]) by bigmail.research.att.com (8.13.3+Sun/8.11.6) with ESMTP id k1AD6Idj001753; Fri, 10 Feb 2006 08:06:18 -0500 (EST) Subject: Re: [Caml-list] Link errors with O'Caml 3.09 on MacOS From: Mary Fernandez To: Alain Frisch Cc: Caml List , Chris Rath , Pam Dragosh , Jerome Simeon In-Reply-To: <43848C0E.1000202@inria.fr> References: <839F88BA-52A7-4905-BE12-F2EDF301CEF6@m4x.org> <1132759053.4008.39.camel@localhost.localdomain> <43848C0E.1000202@inria.fr> Content-Type: text/plain Organization: AT&T Labs - Research Message-Id: <1139576772.5445.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Fri, 10 Feb 2006 08:06:12 -0500 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43EC8FCC.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43EC8FCB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 o'caml:01 3.09:01 macos:01 bug:01 3.09:01 ocamlopt:01 -pack:01 binary:01 macos:01 binary:01 compilers:01 frisch:01 damien:01 o'caml:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 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 AT&T Labs - Research