* Threads and ocaml-2.02
@ 1999-04-06 14:38 Christian Murray
1999-04-06 17:50 ` Markus Mottl
1999-04-07 7:36 ` Xavier Leroy
0 siblings, 2 replies; 3+ messages in thread
From: Christian Murray @ 1999-04-06 14:38 UTC (permalink / raw)
To: caml-list
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.
/regards Christian Murray
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Threads and ocaml-2.02
1999-04-06 14:38 Threads and ocaml-2.02 Christian Murray
@ 1999-04-06 17:50 ` Markus Mottl
1999-04-07 7:36 ` Xavier Leroy
1 sibling, 0 replies; 3+ messages in thread
From: Markus Mottl @ 1999-04-06 17:50 UTC (permalink / raw)
To: Christian Murray; +Cc: OCAML
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Threads and ocaml-2.02
1999-04-06 14:38 Threads and ocaml-2.02 Christian Murray
1999-04-06 17:50 ` Markus Mottl
@ 1999-04-07 7:36 ` Xavier Leroy
1 sibling, 0 replies; 3+ messages in thread
From: Xavier Leroy @ 1999-04-07 7:36 UTC (permalink / raw)
To: Christian Murray, caml-list
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-04-07 11:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-06 14:38 Threads and ocaml-2.02 Christian Murray
1999-04-06 17:50 ` Markus Mottl
1999-04-07 7:36 ` Xavier Leroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox