* [Caml-list] GODI, netsys and vmthreads
@ 2012-06-27 10:41 Matej Kosik
2012-06-27 13:34 ` AW: " Gerd Stolpmann
0 siblings, 1 reply; 2+ messages in thread
From: Matej Kosik @ 2012-06-27 10:41 UTC (permalink / raw)
To: OCaml Mailing List
Dear all,
Is netsys package expected to work with -vmthreads?
When I try it, e.g.:
ocamlfind c -vmthread -o main -linkpkg -package netsys main.ml
I get the following error:
File "main.ml", line 1, characters 0-1:
Error: Files
.../godi/lib/ocaml/pkg-lib/netsys/netsys_oothr_mt.cma(Netsys_oothr_mt)
and .../godi/lib/ocaml/std-lib/vmthreads/threads.cma(Thread)
make inconsistent assumptions over interface Thread
make: *** [main] Error 2
Note that with -threads the whole thing compiles fine.
^ permalink raw reply [flat|nested] 2+ messages in thread
* AW: [Caml-list] GODI, netsys and vmthreads
2012-06-27 10:41 [Caml-list] GODI, netsys and vmthreads Matej Kosik
@ 2012-06-27 13:34 ` Gerd Stolpmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Stolpmann @ 2012-06-27 13:34 UTC (permalink / raw)
To: Matej Kosik; +Cc: OCaml Mailing List
Am 27.06.2012 12:41:22 schrieb(en) Matej Kosik:
> Dear all,
>
> Is netsys package expected to work with -vmthreads?
No, like most other libraries that interface with the OS. That means,
even if the checksum mismatch (i.e. the error you see) did not exist,
you would not have much fun with Netsys.
Gerd
> When I try it, e.g.:
>
> ocamlfind c -vmthread -o main -linkpkg -package netsys main.ml
>
> I get the following error:
>
> File "main.ml", line 1, characters 0-1:
> Error: Files
> .../godi/lib/ocaml/pkg-lib/netsys/netsys_oothr_mt.cma(Netsys_oothr_mt)
> and .../godi/lib/ocaml/std-lib/vmthreads/threads.cma(Thread)
> make inconsistent assumptions over interface Thread
> make: *** [main] Error 2
>
> Note that with -threads the whole thing compiles fine.
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
>
--
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details: http://www.camlcity.org/contact.html
Company homepage: http://www.gerd-stolpmann.de
------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-27 13:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 10:41 [Caml-list] GODI, netsys and vmthreads Matej Kosik
2012-06-27 13:34 ` AW: " Gerd Stolpmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox