From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA13510; Wed, 15 Oct 2003 10:57:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA18595 for ; Wed, 15 Oct 2003 10:57:38 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9F8va127451 for ; Wed, 15 Oct 2003 10:57:36 +0200 (MET DST) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3p2-20030924/3.7W) with ESMTP id RAA02091; Wed, 15 Oct 2003 17:57:32 +0900 (JST) To: stein@eecs.harvard.edu Cc: caml-list@inria.fr Subject: Re: [Caml-list] unknown C primitive `float_compare' In-Reply-To: References: X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20031015175731F.garrigue@kurims.kyoto-u.ac.jp> Date: Wed, 15 Oct 2003 17:57:31 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 jacques:01 stein:01 stein:01 4.7:99 usr:01 ocamlrun:01 3.07:01 ocamlrun:01 3.06.:01 usr:01 3.06:01 stdlib:01 jacques:01 bin:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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? 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