Re: Threads and ocaml-2.02

From: Xavier Leroy (Xavier.Leroy@inria.fr)
Date: Wed Apr 07 1999 - 09:36:47 MET DST


Date: Wed, 7 Apr 1999 09:36:47 +0200
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Christian Murray <d96cmu@csd.uu.se>, caml-list@inria.fr
Subject: Re: Threads and ocaml-2.02
In-Reply-To: <Pine.GSO.3.96.990406163526.15093A-100000@ida.csd.uu.se>; from Christian Murray on Tue, Apr 06, 1999 at 04:38:14PM +0200

> 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 a known bug that has already been discussed on this mailing
list (see the archives). A patch is available at the following URL:

        ftp://ftp.inria.fr/lang/caml-light/ocaml-2.02-patch1.diffs

- Xavier Leroy



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:21 MET