<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/24a1c9618a2b7820f1130628be8e23cc"
  from="Kip Macy &lt;kmacy@f...&gt;"
  author="Kip Macy"
  date="2003-07-10T19:03:40"
  subject="Re: [Caml-list] CamlDL examples"
  prev="2003/07/36136659631ee3fbf6d32f86f93dce70"
  next="2003/07/cad674da6db4c927c1be923af2934533"
  prev-in-thread="2003/07/36136659631ee3fbf6d32f86f93dce70"
  prev-thread="2003/07/8aeb8cebae576f740cf9fd73099a7b37"
  next-thread="2003/07/b2b71859ff79010f7cf5fa585f7be435"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] CamlDL examples">
<msg 
  url="2003/07/f75742930f259f2a644535abf083b2fb"
  from="Mary F. Fernandez &lt;mff@r...&gt;"
  author="Mary F. Fernandez"
  date="2003-07-10T14:16:18"
  subject="[Caml-list] CamlDL examples">
<msg 
  url="2003/07/36136659631ee3fbf6d32f86f93dce70"
  from="Dmitry Bely &lt;dbely@m...&gt;"
  author="Dmitry Bely"
  date="2003-07-10T17:10:46"
  subject="Re: [Caml-list] CamlDL examples">
</msg>
<msg 
  url="2003/07/24a1c9618a2b7820f1130628be8e23cc"
  from="Kip Macy &lt;kmacy@f...&gt;"
  author="Kip Macy"
  date="2003-07-10T19:03:40"
  subject="Re: [Caml-list] CamlDL examples">
</msg>
</msg>
</thread>

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

		-Kip

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

&gt; We have installed the camlidl tool 1.04 and are using it with o'caml v3.06.
&gt; The installation went fine and then we tried to run make in the tests/ directory
&gt; and get the link error below.  Any suggestions on what is missing?
&gt; Thanks,
&gt; Mary
&gt; 
&gt; squeak: squeak: make
&gt; ocamlc -I ../lib -cc cc -custom -o testcomp \
&gt;                  com.cmo comcomp.o component.o \
&gt; 	component.cmo testcomponent.cmo \
&gt;                  ../runtime/libcamlidl.a
&gt; comcomp.o: In function `create_instance':
&gt; /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
&gt; `operator new(unsigned)'
&gt; /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
&gt; `operator delete(void*)'
&gt; /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
&gt; `operator delete(void*)'
&gt; comcomp.o: In function `CA::Release()':
&gt; /home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference to 
&gt; `operator delete(void*)'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
&gt; to `vtable for __cxxabiv1::__vmi_class_type_info'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: more undefined 
&gt; references to `__cxa_pure_virtual' follow
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
&gt; to `vtable for __cxxabiv1::__si_class_type_info'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
&gt; to `vtable for __cxxabiv1::__si_class_type_info'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__cxa_pure_virtual'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:132: undefined reference 
&gt; to `vtable for __cxxabiv1::__class_type_info'
&gt; comcomp.o:/home/mff/lib/camlidl-1.04/tests/comcomp.cpp:133: undefined reference 
&gt; to `__gxx_personality_v0'
&gt; collect2: ld returned 1 exit status
&gt; Error while building custom runtime system
&gt; make: *** [testcomp] Error 2
&gt; -- 
&gt; Mary Fernandez, Principal Technical Staff Member
&gt; AT&amp;T Labs - Research, 180 Park Ave., Room E243, Florham Park, NJ 07932-0971
&gt; phone: 973-360-8679,  fax: 973-360-8187
&gt; mff@research.att.com, http://www.research.att.com/~mff
&gt; 
&gt; 
&gt; -------------------
&gt; To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
&gt; Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
&gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
&gt; 

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

</contents>

</message>

