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 VAA03011; Mon, 20 Sep 2004 21:28:00 +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 VAA02179 for ; Mon, 20 Sep 2004 21:27:59 +0200 (MET DST) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i8KJRwhg026767 for ; Mon, 20 Sep 2004 21:27:59 +0200 Received: by mproxy.gmail.com with SMTP id 74so1200631rnk for ; Mon, 20 Sep 2004 12:27:55 -0700 (PDT) Received: by 10.38.13.58 with SMTP id 58mr1660895rnm; Mon, 20 Sep 2004 12:27:55 -0700 (PDT) Received: by 10.38.72.39 with HTTP; Mon, 20 Sep 2004 12:27:54 -0700 (PDT) Message-ID: Date: Mon, 20 Sep 2004 15:27:54 -0400 From: Tyler Eaves Reply-To: Tyler Eaves To: caml-list@inria.fr Subject: [Caml-list] Problem with ocamlopt Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 414F2F3E.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ocamlopt:01 ocamlopt:01 phoenix:99 cmx:01 gcc:01 usr:01 yellow:99 compiler:01 480:98 ocaml:01 ocaml:01 lib:01 native:02 linking:02 o'caml:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I'm just learning O'Caml. The system I'm using is an x86 machine running debian unstable. I'm having a problem with the native compiler (ocamlopt). For instance: tyler@phoenix:~$ ocamlopt graphics.cmx gr1.ml -o gr1 gcc: /usr/lib/ocaml/3.08/graphics.o: No such file or directory Error during linking The gr1.ml file consists of: open Graphics;; open_graph " 640x480";; for i = 12 downto 1 do let radius = i * 20 in set_color (if (i mod 2) = 0 then red else yellow); fill_circle 320 240 radius done;; read_line();; This seems to occur with any library used. Any ideas on how to resolve this? I've already got every debian ocaml package that I can find installed, so I don't think that's the issue. ------------------- 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