English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 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