<?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/11/0846c0670c6d66e04cd9b51e281e5cea"
  from="chris.danx &lt;chris.danx@n...&gt;"
  author="chris.danx"
  date="2003-11-24T17:34:49"
  subject="Re: [Caml-list] Building camlimages programs on deb (and linux)"
  prev="2003/11/2657135bcecea23ebab1a637490ae98e"
  next="2003/11/83bc295c446556f82e5c840b8216af05"
  prev-in-thread="2003/11/50753bf7ad517a0d3bb91feacf43eee4"
  next-in-thread="2003/11/d7056e171bf4ebf8c6db37acb85893a8"
  prev-thread="2003/11/51df69e6560d82f4c9692ae57b6a0125"
  next-thread="2003/11/5e86685e6180b05d4cfd14dcb86eb57c"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Building camlimages programs on deb (and linux)">
<msg 
  url="2003/11/a30c170c5922f2f44216ee3e001d0661"
  from="chris.danx &lt;chris.danx@n...&gt;"
  author="chris.danx"
  date="2003-11-24T00:22:01"
  subject="[Caml-list] Building camlimages programs on deb (and linux)">
<msg 
  url="2003/11/50753bf7ad517a0d3bb91feacf43eee4"
  from="Issac Trotts &lt;ijtrotts@c...&gt;"
  author="Issac Trotts"
  date="2003-11-24T01:07:51"
  subject="Re: [Caml-list] Building camlimages programs on deb (and linux)">
<msg 
  url="2003/11/0846c0670c6d66e04cd9b51e281e5cea"
  from="chris.danx &lt;chris.danx@n...&gt;"
  author="chris.danx"
  date="2003-11-24T17:34:49"
  subject="Re: [Caml-list] Building camlimages programs on deb (and linux)">
<msg 
  url="2003/11/d7056e171bf4ebf8c6db37acb85893a8"
  from="Matt Gushee &lt;matt@g...&gt;"
  author="Matt Gushee"
  date="2003-11-24T18:50:35"
  subject="Re: [Caml-list] Building camlimages programs on deb (and linux)">
<msg 
  url="2003/11/6217f3629a679650ddd2fe8434880be8"
  from="chris.danx &lt;chris.danx@n...&gt;"
  author="chris.danx"
  date="2003-11-24T19:10:51"
  subject="Re: [Caml-list] Building camlimages programs on deb (and linux)">
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Issac Trotts wrote:

&gt; $ grep XDefaultScreen /usr/X11R6/lib/*
&gt; Binary file /usr/X11R6/lib/libX11.a matches
&gt; Binary file /usr/X11R6/lib/libX11.so matches
&gt; Binary file /usr/X11R6/lib/libX11.so.6 matches
&gt; Binary file /usr/X11R6/lib/libX11.so.6.2 matches
&gt; Binary file /usr/X11R6/lib/libXpm.a matches
&gt; Binary file /usr/X11R6/lib/libXpm.so matches
&gt; Binary file /usr/X11R6/lib/libXpm.so.4 matches
&gt; Binary file /usr/X11R6/lib/libXpm.so.4.11 matches
&gt; 
&gt; so maybe it will work if you include -lX11 in your link line.

I tried your suggestion, but it didn't work. :(

It's defined in Xlib.h, so I included Xlib in the link options, but it 
didn't complete the link (same error).

ocamlc `camlimages-config` -cclib "-L/usr/X11R6/lib -L/usr/X11R6/lib/X11 
-lX11 -lXlib -lxvthumb -lXpm -lpng -lfreetype -lz -ljpeg -lgif" 
monochrome.ml

Wonder if the lib is mangled?  I'll do an update to see...


Cheers,
Chris

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

