qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: cmahnke@gmail.com
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2
Date: Thu, 13 Mar 2014 18:05:40 +0000	[thread overview]
Message-ID: <CAFEAcA93K_=TfPC3qTO3wfwxoSPjXqyf3pBEvj2VHU-E2sLwfA@mail.gmail.com> (raw)
In-Reply-To: <CAKKtb+tP-J2sVbR_ZcgOBpu=aC+jDW3E2pUv5BLashL5Ti4TyA@mail.gmail.com>

On 13 March 2014 17:45, Christian Mahnke <cmahnke@googlemail.com> wrote:
> Hi list,
> I'm trying to compile the the current HEAD of the Git repository on Mac OS X
> 10.9.2 using apple-gcc42 from Mac Ports
>
> I've got the following error:
>   LINK  qemu-nbd
> i686-apple-darwin13-g++-apple-4.2.1: x86_64: No such file or directory
> c++-apple-4.2: Invalid arch name : -lcurl
>
>
> To me it seem the compiler got the options in the wrong order. Has anyone a
> hint how this can be fixed?
> Should I use a different compiler? As far as I have tested clang also
> doesn't work.

I don't have a 10.9.x system, only 10.8.x, but on that clang
builds work fine. Can you:

1. tell us what commands you used to configure and make?
2. pass "V=1" to make (which will cause it to print the
full command lines it runs) and tell us what the link
command that produced this error was?
3. tell us whether you're trying to do a build from within
a directory with a space in the name...

(For MacOSX builds these days we recommend using clang
as supplied by Apple; it used to be necessary to build
with gcc but it is not any more, and Mac gcc versions
tend to be ancient. However that doesn't look like the
problem to me.)

thanks
-- PMM

  reply	other threads:[~2014-03-13 18:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 17:45 [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2 Christian Mahnke
2014-03-13 18:05 ` Peter Maydell [this message]
2014-03-13 18:34   ` Christian Mahnke
     [not found]   ` <CAKKtb+szAOsdt2po3Yw=51YG-3qQ31rFb8oqD-HiRAgLevvcvg@mail.gmail.com>
2014-03-13 18:35     ` Peter Maydell
2014-03-13 18:42       ` Christian Mahnke
2014-03-13 18:48         ` Peter Maydell
2014-03-13 18:53           ` Christian Mahnke
2014-03-14 12:29           ` Paolo Bonzini
2014-06-05 13:38             ` Rainer Müller
2014-06-05 16:11               ` Peter Maydell
2014-06-06  2:04                 ` Fam Zheng
2014-06-10 10:23                   ` Rainer Müller
2014-06-10 10:41                     ` Fam Zheng
2014-06-10 11:19                     ` Paolo Bonzini

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='CAFEAcA93K_=TfPC3qTO3wfwxoSPjXqyf3pBEvj2VHU-E2sLwfA@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=cmahnke@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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).