caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Stéphane Glondu" <steph@glondu.net>
To: Yitzhak Mandelbaum <yitzhak@research.att.com>
Cc: Eric Cooper <ecc@cmu.edu>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Ocamlnet and EINPROGRESS
Date: Thu, 03 Apr 2008 09:12:13 +0200	[thread overview]
Message-ID: <47F4834D.6010800@glondu.net> (raw)
In-Reply-To: <2E48665C-67B4-4182-BC23-EBA1A6DF9BF6@research.att.com>

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



  reply	other threads:[~2008-04-03  7:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03  1:06 Yitzhak Mandelbaum
2008-04-03  1:52 ` [Caml-list] " Eric Cooper
2008-04-03  2:08   ` Yitzhak Mandelbaum
2008-04-03  2:30     ` Eric Cooper
2008-04-03  2:43       ` Yitzhak Mandelbaum
2008-04-03  7:12         ` Stéphane Glondu [this message]
2008-04-03 13:33           ` Dario Teixeira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F4834D.6010800@glondu.net \
    --to=steph@glondu.net \
    --cc=caml-list@yquem.inria.fr \
    --cc=ecc@cmu.edu \
    --cc=yitzhak@research.att.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).