caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Tyler Eaves <tylere@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] Problem with ocamlopt
Date: Mon, 20 Sep 2004 15:27:54 -0400	[thread overview]
Message-ID: <f69d3a2204092012276923ee0@mail.gmail.com> (raw)

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


             reply	other threads:[~2004-09-20 19:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-20 19:27 Tyler Eaves [this message]
2004-09-20 19:56 ` [Caml-list] " Matti Jokinen
2004-09-22 15:16 ` [Caml-list] " Christophe TROESTLER
  -- strict thread matches above, loose matches on Subject: below --
2002-03-11  7:51 Franck Delaplace
2002-03-11 12:36 ` M E Leypold @ labnet
2002-03-12  7:30   ` Franck Delaplace
2002-03-12  9:12     ` Christopher Quinn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f69d3a2204092012276923ee0@mail.gmail.com \
    --to=tylere@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).