caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Bobillot <damien.bobillot@m4x.org>
To: Kathleen Fisher <kfisher@research.att.com>
Cc: caml-list@inria.fr, Mary Fernandez <mff@research.att.com>
Subject: Re: [Caml-list] Link errors with O'Caml 3.09 and Camlidl 1.05
Date: Tue, 22 Nov 2005 12:45:34 +0100	[thread overview]
Message-ID: <839F88BA-52A7-4905-BE12-F2EDF301CEF6@m4x.org> (raw)
In-Reply-To: <EA01CE17-8232-4289-B753-B09AC97DC3E3@research.att.com>

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]


Kathleen Fisher wrote :

> 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

Try to add the following options : -cclib -lSystemStub

-- 
Damien Bobillot


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2375 bytes --]

  reply	other threads:[~2005-11-22 11:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 19:01 Kathleen Fisher
2005-11-22 11:45 ` Damien Bobillot [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=839F88BA-52A7-4905-BE12-F2EDF301CEF6@m4x.org \
    --to=damien.bobillot@m4x.org \
    --cc=caml-list@inria.fr \
    --cc=kfisher@research.att.com \
    --cc=mff@research.att.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).