From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 3AEF2BB81 for ; Sat, 25 Feb 2006 05:10:40 +0100 (CET) Received: from smtp2.syd.swiftdsl.com.au (smtp2.syd.swiftdsl.com.au [218.214.225.98]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id k1P4AbgU000415 for ; Sat, 25 Feb 2006 05:10:38 +0100 Received: (qmail 27148 invoked from network); 25 Feb 2006 04:10:42 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp2.syd.swiftdsl.com.au with SMTP; 25 Feb 2006 04:10:42 -0000 Received: from coltrane (localhost [127.0.0.1]) by coltrane.mega-nerd.net (Postfix) with SMTP id 65F4B7AE0 for ; Sat, 25 Feb 2006 15:10:32 +1100 (EST) Date: Sat, 25 Feb 2006 15:10:32 +1100 From: Erik de Castro Lopo To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] ubuntu ocaml missing unix module Message-Id: <20060225151032.17e57f5c.ocaml-erikd@mega-nerd.com> In-Reply-To: <3dd983220602241958l6e21f3e2re7d866c8dd0e9acf@mail.gmail.com> References: <3dd983220602241958l6e21f3e2re7d866c8dd0e9acf@mail.gmail.com> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43FFD8BD.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 3.08.3:01 usr:01 lib:01 3.08.3:01 usr:01 lib:01 cmi:01 cmx:01 cmxa:01 mli:01 unixlabels:01 unixlabels:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 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 str.cmxa HTH, Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ Dar al-Harb : http://en.wikipedia.org/wiki/Dar_al-Harb