Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

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

* 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 Archives:
Bug reports: FAQ:
Beginner's list: