From: Marek Kubica <marek@xivilization.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] OASIS: linking with C library fails
Date: Wed, 19 Dec 2012 20:38:23 +0100 [thread overview]
Message-ID: <20121219203823.71ce6520@xivilization.net> (raw)
In-Reply-To: <20121219202728.4fa184a3@xivilization.net>
On Wed, 19 Dec 2012 20:27:28 +0100
Marek Kubica <marek@xivilization.net> wrote:
> You can see the complete output (after ocaml setup.ml -clean) in the
> Gist. Now I wonder how to fix it? From what I see, Archive_stubs.c
> gets compiled to an .o file properly but linking fails as it doesn't
> seem to get linked to the library. What am I missing?
Alright, I figured it out thanks to adrien @ #ocaml: I don't have a
dependency on ost, so it never links the stuff together.
So I stared at ocaml-archive's _oasis file for a bit and figured I try
adding a
BuildDepends: ost
line in the executable declaration. Lo and behold, it works!
So uhm, thanks for listening :)
regards,
Marek
prev parent reply other threads:[~2012-12-19 19:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 19:27 Marek Kubica
2012-12-19 19:38 ` Marek Kubica [this message]
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=20121219203823.71ce6520@xivilization.net \
--to=marek@xivilization.net \
--cc=caml-list@inria.fr \
/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).