qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2


From: Christian Mahnke
Subject: Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2
Date: Thu, 13 Mar 2014 19:53:13 +0100

Thanks Peter!
That works for me.


On Thu, Mar 13, 2014 at 7:48 PM, Peter Maydell <address@hidden> wrote:
On 13 March 2014 18:42, Christian Mahnke <address@hidden> wrote:
> On Thu, Mar 13, 2014 at 7:35 PM, Peter Maydell <address@hidden>
> wrote:
>> I have a feeling I know what may be happening here.
>>
>>  -L/opt/local/lib
>>  -Wl,-headerpad_max_install_names -arch -lcurl -lssh2 -lz x86_64
>>
>> is I think the result of doing an alphabetical sort on
>> the curl and ssh libraries, which is what rules.mak's
>> extract-libs = $(strip $(sort $(foreach o,$1,$($o-libs)) \
>>                   $(foreach o,$(call expand-objs,$1),$($o-libs))))
>>
>> does. Can you send us your config-host.mak, please?

Yep, here we are:
LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names
-arch x86_64
CURL_LIBS=-L/opt/local/lib -lcurl

rules.mak is incorrectly reordering the contents of
these and generating a non-working mess.

You should be able to work around this by passing configure
--disable-libssh2
(this will disable ssh block device support, which you probably
don't need, and will mean we don't give the compiler bogus
arguments).

thanks
-- PMM


reply via email to

[Prev in Thread] Current Thread [Next in Thread]