caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Niki Yoshiuchi <aplusbi@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] library naming conflict
Date: Mon, 28 Mar 2011 23:47:38 -0400	[thread overview]
Message-ID: <AANLkTi=j2ajEbzpb_RvNmxJQq8FnD3JQ=8UzgzRsTLa=@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

I'm using oasis (with ocamlbuild) to create a library.  Specifically, I'm
writing bindings to portmidi.

Naming my ocaml library "portmidi" causes linking problems.  It seems to be
from a conflict when linking the C-library "-lportmidi" (the linker tries to
link with the local libportmidi.a file instead of the file in /usr/lib).  My
solution at the moment is to just give my ocaml library a different name,
however I'd prefer to name it "portmidi".

Is there a simple fix?

Thanks,
-Niki Yoshiuchi

[-- Attachment #2: Type: text/html, Size: 573 bytes --]

             reply	other threads:[~2011-03-29  3:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29  3:47 Niki Yoshiuchi [this message]
2011-03-29 21:04 ` ygrek

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='AANLkTi=j2ajEbzpb_RvNmxJQq8FnD3JQ=8UzgzRsTLa=@mail.gmail.com' \
    --to=aplusbi@gmail.com \
    --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).