<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2006/02/352cb24578fe26f17294b542bbed17ad"
  from="car@r..."
  author="car@r..."
  date="2006-02-14T13:24:18"
  subject="RE: [Caml-list] Link errors with O&apos;Caml 3.09 on MacOS"
  prev="2006/02/e1f28b627411055425113f5e8f9c40f8"
  next="2006/02/7161496f24ac25e07196b3e0771b5c5d"
  prev-thread="2006/02/e2ac6157fdcc6fcaefdce3f8dd56911d"
  next-thread="2006/02/7f1fb00a556878588a6f8dfc3a2b39fc"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="RE: [Caml-list] Link errors with O&apos;Caml 3.09 on MacOS">
<msg 
  url="2006/02/352cb24578fe26f17294b542bbed17ad"
  from="car@r..."
  author="car@r..."
  date="2006-02-14T13:24:18"
  subject="RE: [Caml-list] Link errors with O&apos;Caml 3.09 on MacOS">
</msg>
</thread>

<contents>
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] 
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 
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 
.cmi files are not available.


I put Camomile's developper in Cc: of this mail.

-- Alain


</contents>

</message>

