From: Erik de Castro Lopo <ocaml-erikd@mega-nerd.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ubuntu ocaml missing unix module
Date: Sat, 25 Feb 2006 15:10:32 +1100 [thread overview]
Message-ID: <20060225151032.17e57f5c.ocaml-erikd@mega-nerd.com> (raw)
In-Reply-To: <3dd983220602241958l6e21f3e2re7d866c8dd0e9acf@mail.gmail.com>
Brendan Miller wrote:
> has anyone else run into this? on ocaml 3.08.3-3ubuntu5(breazy) the
> implementation of the Unix module doesn't seem to be included.
I'm running Breezy and I've got:
erikd@mingus > ls -l /usr/lib/ocaml/3.08.3/unix.*
-rw-r--r-- 1 root root 59880 Aug 24 2005 /usr/lib/ocaml/3.08.3/unix.a
-rw-r--r-- 1 root root 22277 Aug 24 2005 /usr/lib/ocaml/3.08.3/unix.cma
-rw-r--r-- 1 root root 20956 Aug 24 2005 /usr/lib/ocaml/3.08.3/unix.cmi
-rw-r--r-- 1 root root 10054 Aug 24 2005 /usr/lib/ocaml/3.08.3/unix.cmx
-rw-r--r-- 1 root root 698 Aug 24 2005 /usr/lib/ocaml/3.08.3/unix.cmxa
-rw-r--r-- 1 root root 52002 Aug 24 2005 /usr/lib/ocaml/3.08.3/unix.mli
> I get this
> error when trying to use functions in UnixLabels or Unix
>
> No implementations provided for the following modules:
> UnixLabels referenced from net.cmx
>
> anyone know how to fix this? I'm a little frustrated, as I don't want to
> remove this package and mess up everything that depends on it...
I've never used the UnixLabels module, but I do know that if I want
to use the Unix module (and some others like Str) I have to explicitly
link it by adding unix.cmxa to the link line so that I have something
like this in my Makefile:
$(OCAMLOPT) -o <target exeutable> str.cmxa <list of .cmx files>
HTH,
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
Dar al-Harb : http://en.wikipedia.org/wiki/Dar_al-Harb
prev parent reply other threads:[~2006-02-25 4:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-25 3:58 Brendan Miller
2006-02-25 4:10 ` Erik de Castro Lopo [this message]
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=20060225151032.17e57f5c.ocaml-erikd@mega-nerd.com \
--to=ocaml-erikd@mega-nerd.com \
--cc=caml-list@yquem.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).