<?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/10/aa7c2c5e40101b01565455bcd17f0456"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-15T08:57:39"
  subject="Re: [Caml-list] unknown C primitive `float_compare&apos;"
  prev="2003/10/40efc6d7a09a9588ce9fc3fe42b29f4e"
  next="2003/10/c1af550ea8aa0a1e792263146a015857"
  prev-in-thread="2003/10/3df891effe980ef58591b1b70f0a4bc3"
  prev-thread="2003/10/27fc1296deca589b03bd4c418d5e09f5"
  next-thread="2003/10/c1af550ea8aa0a1e792263146a015857"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] unknown C primitive `float_compare&apos;">
<msg 
  url="2003/10/3df891effe980ef58591b1b70f0a4bc3"
  from="Lex Stein &lt;stein@e...&gt;"
  author="Lex Stein"
  date="2003-10-15T07:49:11"
  subject="[Caml-list] unknown C primitive `float_compare&apos;">
<msg 
  url="2003/10/aa7c2c5e40101b01565455bcd17f0456"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-15T08:57:39"
  subject="Re: [Caml-list] unknown C primitive `float_compare&apos;">
</msg>
</msg>
</thread>

<contents>
From: Lex Stein &lt;stein@eecs.harvard.edu&gt;

&gt; Hi, I ./configure'd and built ocaml on a FreeBSD 4.7 system. And I get
&gt; this error:
&gt; 
&gt; node-10# make world ; make opt ;
&gt; ... everything looks OK ...
&gt; node-10# ./ocaml
&gt; Fatal error: unknown C primitive `float_compare'
&gt; 
&gt; What's going on here?

Probably:
* you have not yet installed
* there is already a /usr/local/bin/ocamlrun on your system
* it is from an older version
then ocaml is trying to use it and fails.

I get the same error when running ocaml 3.07 with ocamlrun 3.06.
$ /usr/local/opt/ocaml-3.06/bin/ocamlrun ocaml
Fatal error: unknown C primitive `float_compare'

Before installing, this should be: ./boot/ocamlrun ./ocaml -I stdlib

Jacques Garrigue

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

