From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA23388 for caml-redistribution; Wed, 7 Apr 1999 13:49:22 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA27331 for ; Tue, 6 Apr 1999 18:52:14 +0200 (MET DST) Received: from miss.wu-wien.ac.at (miss.wu-wien.ac.at [137.208.107.17]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id SAA25234 for ; Tue, 6 Apr 1999 18:52:11 +0200 (MET DST) Received: (from mottl@localhost) by miss.wu-wien.ac.at (8.9.0/8.9.0) id SAA08540; Tue, 6 Apr 1999 18:50:51 +0200 (MET DST) From: Markus Mottl Message-Id: <199904061650.SAA08540@miss.wu-wien.ac.at> Subject: Re: Threads and ocaml-2.02 To: d96cmu@csd.uu.se (Christian Murray) Date: Tue, 6 Apr 1999 18:50:51 +0100 (MET DST) Cc: caml-list@inria.fr (OCAML) In-Reply-To: from "Christian Murray" at Apr 6, 99 04:38:14 pm X-Mailer: ELM [version 2.4 PL21] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: weis > I have some problem with threads in ocaml-2.02 (bytecode threads) > > ocamlmktop -thread -custom threads.cma unix.cma -cclib -lthreads -cclib > -lunix > > Error while linking /opt/ocaml/lib/ocaml/threads/stdlib.cma(Printf): > Reference to undefined global `Buffer' > > The expression above do work in ocaml-2.01. This is almost certainly a bug in the distribution you have: the "threads"-version of the standard library has been linked without the new "buffer"-module. I have already sent in a bug report for this and Xavier Leroy was so kind to place an updated version on the distributions site. Just load down the new distribution (at least the RPM should be ok)... Best regards, Markus Mottl -- Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl