Browse thread
Ocamlnet and EINPROGRESS
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-04-03 (07:12) |
From: | Stéphane Glondu <steph@g...> |
Subject: | Re: [Caml-list] Ocamlnet and EINPROGRESS |
Yitzhak Mandelbaum a écrit : > timelib.cma: mintime.ml ocamlfind ocamlc -package unix -linkpkg \ -o $@ > -a mintime.ml > minprog: timelib.cma unixprog.ml ocamlfind ocamlc $(INCLUDES) -thread > -o $@ \ -package netclient -linkpkg $^ minprog.ml With these rules, you link the Unix module twice. Try without -linkpkg in the first rule. More generally, avoid using -linkpkg when making .cma unless you know what you are doing (use it only in the final stage of linking). Cheers, -- Stéphane