Version française
Home     About     Download     Resources     Contact us    
Browse thread
Ocamlnet and EINPROGRESS
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
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