English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Link errors with O'Caml 3.09 and Camlidl 1.05
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-21 (19:01)
From: Kathleen Fisher <kfisher@r...>
Subject: Link errors with O'Caml 3.09 and Camlidl 1.05
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