Version française
Home     About     Download     Resources     Contact us    
Browse thread
Threads and ocaml-2.02
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: Threads and ocaml-2.02
> 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