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 801B9BB81 for ; Tue, 14 Feb 2006 14:24:18 +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 k1EDOHx6002889 for ; Tue, 14 Feb 2006 14:24:18 +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 OAA01993 for ; Tue, 14 Feb 2006 14:24:17 +0100 (MET) From: car@research.att.com Received: from mail-white.research.att.com (mail-red.research.att.com [192.20.225.110]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1EDOGpg030870; Tue, 14 Feb 2006 14:24:17 +0100 Received: from NJFPSRVEXG2KCL.research.att.com (njfpsrvexg2k1.research.att.com [135.207.26.243]) by mail-green.research.att.com (Postfix) with ESMTP id 45D028787; Tue, 14 Feb 2006 08:24:16 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] Link errors with O'Caml 3.09 on MacOS Date: Tue, 14 Feb 2006 08:24:15 -0500 Message-ID: <77E42FE8D777074488824B5D4056A2FE0167BD35@NJFPSRVEXG2KCL.research.att.com> Thread-Topic: [Caml-list] Link errors with O'Caml 3.09 on MacOS Thread-Index: AcYxZqjaMjCDSbkfRsGtivd/h86BgwAA0ZWQ To: , Cc: , , , X-Miltered: at concorde with ID 43F1DA01.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43F1DA00.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 makefile:01 camomile:01 rebuilt:01 ocamlopt:01 camomile:01 rath:01 frisch:01 frisch:01 rath:01 caml-list: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.2 required=5.0 tests=NO_REAL_NAME autolearn=disabled version=3.0.3 Thanks! I fixed the Makefile in our copy of the Camomile source and rebuilt. I was then able to build our application with ocamlopt and the linking errors went away. Let's hope the Camomile developer will put this change into the standard distribution soon. Chris Rath -----Original Message----- From: Alain Frisch [mailto:Alain.Frisch@inria.fr]=20 Sent: Tuesday, February 14, 2006 8:00 AM To: Fernandez,Maria F (Mary) Cc: Caml List; Rath,Christopher A (Christopher); Dragosh,Pamela L (Pam); Jerome Simeon; yori@users.sourceforge.net Subject: Re: [Caml-list] Link errors with O'Caml 3.09 on MacOS Hello again, Actually, the patch to Camomile's Makefile is trivial. You can simply=20 add $(INCLUDES) to line 137: $(OCAMLOPT) -pack -o camomile.cmx camomileconfig.cmx $(OPTOBJECTS) (and also to line 134 for cosmetic reasons) One could argue that OCaml should issue a proper error message when the=20 .cmi files are not available. I put Camomile's developper in Cc: of this mail. -- Alain