Version française
Home     About     Download     Resources     Contact us    
Browse thread
RE: [Caml-list] Link errors with O'Caml 3.09 on MacOS
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: car@r...
Subject: RE: [Caml-list] Link errors with O'Caml 3.09 on MacOS
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