caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] library naming conflict
@ 2011-03-29  3:47 Niki Yoshiuchi
  2011-03-29 21:04 ` ygrek
  0 siblings, 1 reply; 2+ messages in thread
From: Niki Yoshiuchi @ 2011-03-29  3:47 UTC (permalink / raw)
  To: caml-list

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-29 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-29  3:47 [Caml-list] library naming conflict Niki Yoshiuchi
2011-03-29 21:04 ` ygrek

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).