<?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/36136659631ee3fbf6d32f86f93dce70"
  from="Dmitry Bely &lt;dbely@m...&gt;"
  author="Dmitry Bely"
  date="2003-07-10T17:10:46"
  subject="Re: [Caml-list] CamlDL examples"
  prev="2003/07/b2b71859ff79010f7cf5fa585f7be435"
  next="2003/07/24a1c9618a2b7820f1130628be8e23cc"
  prev-in-thread="2003/07/f75742930f259f2a644535abf083b2fb"
  next-in-thread="2003/07/24a1c9618a2b7820f1130628be8e23cc"
  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>
"Mary F. Fernandez" &lt;mff@research.att.com&gt; writes:

&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
&gt; 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

</contents>

</message>

