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 nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 4BA65BBBB for ; Tue, 14 Feb 2006 13:52:31 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1ECqSG9026737 for ; Tue, 14 Feb 2006 13:52:28 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA01570 for ; Tue, 14 Feb 2006 13:52:28 +0100 (MET) Received: from [128.93.11.101] (buzet.inria.fr [128.93.11.101]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1ECqRGf026734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Feb 2006 13:52:27 +0100 Message-ID: <43F1D28A.7020700@inria.fr> Date: Tue, 14 Feb 2006 13:52:26 +0100 From: Alain Frisch User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mary Fernandez Cc: Caml List , Chris Rath , Pam Dragosh , Jerome Simeon Subject: Re: [Caml-list] Link errors with O'Caml 3.09 on MacOS References: <839F88BA-52A7-4905-BE12-F2EDF301CEF6@m4x.org> <1132759053.4008.39.camel@localhost.localdomain> <43848C0E.1000202@inria.fr> <1139576772.5445.6.camel@localhost.localdomain> In-Reply-To: <1139576772.5445.6.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 43F1D28C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43F1D28B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; frisch:01 frisch:01 caml-list:01 o'caml:01 3.09:01 macos:01 -pack:01 ocamlopt:01 compiler:01 cmi:01 ocaml:01 trivial:01 camomile:01 makefile:01 wrote: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 Hello Marry, Mary Fernandez wrote: > Is this patch installed in the current release 3.09.1? Yes. > but I can't find any doc to be sure, and we are still > getting link errors. Do you get the same errors or different ones? Another issue with -pack could explain link errors: http://caml.inria.fr/mantis/view.php?id=3827 When you pack units together with ocamlopt, you must ensure that the compiler sees the .cmi files (you must give -I options). This was not the case before OCaml 3.09. I can indeed reproduce link errors with a trivial program using Camomile. I guess Camomile's Makefile has to be fixed. Alain