caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* RE: [Caml-list] Link errors with O'Caml 3.09 on MacOS
@ 2006-02-14 13:24 car
  0 siblings, 0 replies; 8+ messages in thread
From: car @ 2006-02-14 13:24 UTC (permalink / raw)
  To: Alain.Frisch, mff; +Cc: caml-list, pdragosh, simeon, yori

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



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Link errors with O'Caml 3.09 and Camlidl 1.05
@ 2005-11-21 19:01 Kathleen Fisher
  2005-11-22 11:45 ` [Caml-list] " Damien Bobillot
  0 siblings, 1 reply; 8+ messages in thread
From: Kathleen Fisher @ 2005-11-21 19:01 UTC (permalink / raw)
  To: caml-list; +Cc: Mary Fernandez

We installed O'Caml 3.09 on MacOS 10.4 from the .dmg image, then  
installed
Camlidl with no errors.  When we link our Camlidl test program,
we get the link errors below.  However, when we install OCaml 3.09
from source, compile it, and install Camlidl, we do not get
any link errors.

Can someone explain this behavior?

Thanks!
Kathleen Fisher

/usr/local/bin/ocamlc -I /usr/local/lib/ocaml -cc cc -custom -o test  
test.cmo test_stubs.o test.o test_idl.cmo /usr/local/lib/ocaml/ 
libcamlidl.a
ld: Undefined symbols:
_sprintf$LDBLStub
_fprintf$LDBLStub
_sscanf$LDBLStub
Error while building custom runtime system
make: *** [all] Error 2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-14 14:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-14 13:24 [Caml-list] Link errors with O'Caml 3.09 on MacOS car
  -- strict thread matches above, loose matches on Subject: below --
2005-11-21 19:01 Link errors with O'Caml 3.09 and Camlidl 1.05 Kathleen Fisher
2005-11-22 11:45 ` [Caml-list] " Damien Bobillot
2005-11-23 15:17   ` [Caml-list] Link errors with O'Caml 3.09 on MacOS Mary Fernandez
2005-11-23 15:34     ` Alain Frisch
2006-02-10 13:06       ` Mary Fernandez
2006-02-14 12:52         ` Alain Frisch
2006-02-14 13:00         ` Alain Frisch
2006-02-14 14:00           ` Yoriyuki Yamagata
2006-02-14 14:25           ` Mary Fernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).