English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Porblem with Num module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-13 (15:15)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Porblem with Num module
On Thu, May 13, 2004 at 04:30:19PM +0200, Claudio Trento wrote:
> I`ve included the line "open Num" at the begin of my test.ml file  to use 
> the Num module. Maybe it's not enough because I've this type of error in 
> cmpilation:
> "Error while linking test.cmo: Reference to undefined global `Num'"
> Probably I forget something, someone could say me where I mistake?

Is there a file called 'num.cma' or 'num.cmxa' in your /usr/lib/ocaml/
directory?  You probably need to link with it.


Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
PTHRLIB is a library for writing small, efficient and fast servers in C.
HTTP, CGI, DBI, lightweight threads: http://www.annexia.org/freeware/pthrlib/

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