<?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="2002/07/20a45415a16f4dc6a69803bdb47024ad"
  from="Dmitry Bely &lt;dbely@m...&gt;"
  author="Dmitry Bely"
  date="2002-07-05T18:25:15"
  subject="Re: [Caml-list] reg : camlidl_malloc"
  prev="2002/07/aad5a743288a064f4f5588efca0b71f5"
  next="2002/07/f93829baba8851df89806c7d94af4860"
  prev-in-thread="2002/07/e1d274a133b68487086df9bb59b11307"
  next-in-thread="2002/07/f93829baba8851df89806c7d94af4860"
  prev-thread="2002/07/1b99bcd01eb69ed9996ff372f98a9f8f"
  next-thread="2002/07/1eefe810f7f0f0aa410a2eab708b2234"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] reg : camlidl_malloc">
<msg 
  url="2002/07/e1d274a133b68487086df9bb59b11307"
  from="Sandeep Subramaniam &lt;sandeeps@i...&gt;"
  author="Sandeep Subramaniam"
  date="2002-07-05T15:54:23"
  subject="[Caml-list] reg : camlidl_malloc">
<msg 
  url="2002/07/20a45415a16f4dc6a69803bdb47024ad"
  from="Dmitry Bely &lt;dbely@m...&gt;"
  author="Dmitry Bely"
  date="2002-07-05T18:25:15"
  subject="Re: [Caml-list] reg : camlidl_malloc">
<msg 
  url="2002/07/f93829baba8851df89806c7d94af4860"
  from="Sandeep Subramaniam &lt;sandeeps@i...&gt;"
  author="Sandeep Subramaniam"
  date="2002-07-05T19:19:34"
  subject="Re: [Caml-list] reg : camlidl_malloc">
</msg>
</msg>
</msg>
</thread>

<contents>
Sandeep Subramaniam &lt;sandeeps@ittc.ku.edu&gt; writes:

&gt; But when dynamically linking this C code with Caml code I get the error :
&gt;
&gt; "Error on dynamically loaded library: ./test1_stubs.so: undefined symbol:
&gt; camlidl_malloc"
&gt;
&gt; It seems that camlidl_malloc() is declared in camlidlruntime.h but not
&gt; defined .
&gt;
&gt; So how do I solve this error ?

Add -lcamlidl to your link options.

Hope to hear from you soon,
Dmitry


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

