From: Ivan Gotovchits <ivg@ieee.org>
To: Kenneth Adam Miller <kennethadammiller@gmail.com>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] OSX OCaml ld compile errors
Date: Sat, 9 Sep 2017 10:19:38 +0300 [thread overview]
Message-ID: <CALdWJ+zQnaobJ7iGXo8gu1vo1ugdtaGByju6Kqp0KNzfnXHT9w@mail.gmail.com> (raw)
In-Reply-To: <CAK7rcp9a1C1NNnrg0XBcwskoPrbMk_-F8EvY=YHiALmHAC80Ww@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
What did you update? If you've updated OS X I would suggest you to
reinstall macports and to start from a new opam switch.
Cheers,
Ivan
On Sep 8, 2017 7:26 PM, "Kenneth Adam Miller" <kennethadammiller@gmail.com>
wrote:
> Hello,
>
> I'm on OSX, and recently I did an update. I had a working package that was
> building some C/++ code underneath an oasis package successfully all the
> way to where I could run the output binary. Right now I am getting the
> following:
>
> ld: warning: ignoring file src/liblibdai_stubs.a, file was built for
> archive which is not the architecture being linked (x86_64):
> src/liblibdai_stubs.a
>
> And then, literally everything that is output next is just missing
> functions from what ld is ignoring, the liblibdai_stubs.a file:
>
>
> "__wrap_BBPFindClampVardai", referenced from:
> _camlDai___BBPFindClampVar_6660 in libdai.a(dai.o)
> _camlDai__2620 in libdai.a(dai.o)
>
> And so on, for a lot of different functions. I need to get ld to shut up
> and link my application, because I didn't have this problem before the
> update. I've never had this problem on OSX before. The .a file being
> ignored is part of the package that I'm building, and is a result of a
> CSources spec I have in my oasis.
>
[-- Attachment #2: Type: text/html, Size: 1750 bytes --]
next prev parent reply other threads:[~2017-09-09 7:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-08 16:26 Kenneth Adam Miller
2017-09-09 7:19 ` Ivan Gotovchits [this message]
2017-09-09 8:36 ` Kenneth Adam Miller
2017-09-09 22:20 ` Kenneth Adam Miller
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=CALdWJ+zQnaobJ7iGXo8gu1vo1ugdtaGByju6Kqp0KNzfnXHT9w@mail.gmail.com \
--to=ivg@ieee.org \
--cc=caml-list@inria.fr \
--cc=kennethadammiller@gmail.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