caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kip Macy <kmacy@fsmware.com>
To: "Mary F. Fernandez" <mff@research.att.com>
Cc: caml-list@inria.fr, rmedel@research.att.com
Subject: Re: [Caml-list] CamlDL examples
Date: Thu, 10 Jul 2003 12:03:40 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0307101203090.15567-100000@walnut.he.net> (raw)
In-Reply-To: <3F0D7551.3030402@research.att.com>

It looks like it assumes that cc is soft linked to g++.

		-Kip

On Thu, 10 Jul 2003, Mary F. Fernandez wrote:

> 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)'
> /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
> `operator delete(void*)'
> /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
> `operator delete(void*)'
> comcomp.o: In function `CA::Release()':
> /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
> `operator delete(void*)'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
> to `vtable for __cxxabiv1::__vmi_class_type_info'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: more undefined 
> references to `__cxa_pure_virtual' follow
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
> to `vtable for __cxxabiv1::__si_class_type_info'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
> to `vtable for __cxxabiv1::__si_class_type_info'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__cxa_pure_virtual'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
> to `vtable for __cxxabiv1::__class_type_info'
> comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
> to `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> Error while building custom runtime system
> make: *** [testcomp] Error 2
> -- 
> Mary Fernandez, Principal Technical Staff Member
> AT&T Labs - Research, 180 Park Ave., Room E243, Florham Park, NJ 07932-0971
> phone: 973-360-8679,  fax: 973-360-8187
> mff@research.att.com, http://www.research.att.com/~mff
> 
> 
> -------------------
> 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
> 

-------------------
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


      parent reply	other threads:[~2003-07-10 19:03 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
2003-07-10 19:03 ` Kip Macy [this message]

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=Pine.LNX.4.21.0307101203090.15567-100000@walnut.he.net \
    --to=kmacy@fsmware.com \
    --cc=caml-list@inria.fr \
    --cc=mff@research.att.com \
    --cc=rmedel@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).