* [Caml-list] Problem with ocamlopt
@ 2004-09-20 19:27 Tyler Eaves
2004-09-20 19:56 ` [Caml-list] " Matti Jokinen
2004-09-22 15:16 ` [Caml-list] " Christophe TROESTLER
0 siblings, 2 replies; 3+ messages in thread
From: Tyler Eaves @ 2004-09-20 19:27 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-09-22 15:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-20 19:27 [Caml-list] Problem with ocamlopt Tyler Eaves
2004-09-20 19:56 ` [Caml-list] " Matti Jokinen
2004-09-22 15:16 ` [Caml-list] " Christophe TROESTLER
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox