Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: ocamlfind ocamlc -package unix -linkpkg \ -o $@
> -a
> minprog: timelib.cma  ocamlfind ocamlc $(INCLUDES) -thread
> -o $@ \ -package netclient -linkpkg $^

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