Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] unknown C primitive `float_compare'
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] unknown C primitive `float_compare'
From: Lex Stein <stein@eecs.harvard.edu>

> Hi, I ./configure'd and built ocaml on a FreeBSD 4.7 system. And I get
> this error:
> 
> node-10# make world ; make opt ;
> ... everything looks OK ...
> node-10# ./ocaml
> Fatal error: unknown C primitive `float_compare'
> 
> 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