caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] unknown C primitive `float_compare'
@ 2003-10-15  7:49 Lex Stein
  2003-10-15  8:57 ` Jacques Garrigue
  0 siblings, 1 reply; 2+ messages in thread
From: Lex Stein @ 2003-10-15  7:49 UTC (permalink / raw)
  To: caml-list


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?

Thanks,
Lex

--
Lex Stein                     http://www.eecs.harvard.edu/~stein/
stein@eecs.harvard.edu        cell: 617-233-0246

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] unknown C primitive `float_compare'
  2003-10-15  7:49 [Caml-list] unknown C primitive `float_compare' Lex Stein
@ 2003-10-15  8:57 ` Jacques Garrigue
  0 siblings, 0 replies; 2+ messages in thread
From: Jacques Garrigue @ 2003-10-15  8:57 UTC (permalink / raw)
  To: stein; +Cc: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-15  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15  7:49 [Caml-list] unknown C primitive `float_compare' Lex Stein
2003-10-15  8:57 ` Jacques Garrigue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).