caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dmitry Bely <dbely@mail.ru>
To: caml-list@inria.fr
Subject: Re: [Caml-list] CamlDL examples
Date: Thu, 10 Jul 2003 21:10:23 +0400	[thread overview]
Message-ID: <d6gis3y8.fsf@mail.ru> (raw)
In-Reply-To: <3F0D7551.3030402@research.att.com> ("Mary F. Fernandez"'s message of "Thu, 10 Jul 2003 10:16:49 -0400")

"Mary F. Fernandez" <mff@research.att.com> writes:

> We have installed the camlidl tool 1.04 and are using it with o'caml v3.06.
> The installation went fine and then we tried to run make in the tests/ directory
> and get the link error below.  Any suggestions on what is missing?
> Thanks,
> Mary
>
> squeak: squeak: make
> ocamlc -I ../lib -cc cc -custom -o testcomp \
>                  com.cmo comcomp.o component.o \
> 	component.cmo testcomponent.cmo \
>                  ../runtime/libcamlidl.a
> comcomp.o: In function `create_instance':
> /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference
> to `operator new(unsigned)'

Probably you should link libstdc++ explicitly (at least I had to do that
for gcc 3 when c++ sources were compiled with gcc frontend, not g++).
What is your platform/C compiler?

- Dmitry Bely


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-07-10 17:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-10 14:16 Mary F. Fernandez
2003-07-10 17:10 ` Dmitry Bely [this message]
2003-07-10 19:03 ` Kip Macy

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=d6gis3y8.fsf@mail.ru \
    --to=dbely@mail.ru \
    --cc=caml-list@inria.fr \
    /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).