Re: Threads and ocaml-2.02

From: Markus Mottl (mottl@miss.wu-wien.ac.at)
Date: Tue Apr 06 1999 - 19:50:51 MET DST


From: Markus Mottl <mottl@miss.wu-wien.ac.at>
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)
In-Reply-To: <Pine.GSO.3.96.990406163526.15093A-100000@ida.csd.uu.se> from "Christian Murray" at Apr 6, 99 04:38:14 pm

> 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



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