qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] cannot build qemu with "--static" configure option


From: Peter Maydell
Subject: Re: [Qemu-devel] cannot build qemu with "--static" configure option
Date: Wed, 23 Nov 2011 19:33:48 +0000

On 23 November 2011 19:22, Mr Dash Four <address@hidden> wrote:
>
>> OK. We don't explicitly try to link with ssl3 ourselves, so this only
>> ever ends up in LDFLAGS because of some other library that has claimed
>> it needs it as a dependency via pkg-config. Try adding
>>  --disable-sdl --disable-vnc --disable-bluez --disable-check-utests
>> --disable-smartcard --disable-usb-redir
>>
>> to your configure argument. That turns off a lot of stuff that's irrelevant
>> for linux-user and which might be pulling in this library. If that works
>> then you can identify which particular switch is needed by process of
>> elimination.
> Different error this time:

Good, we've got rid of the ssl3 link attempt.

> /usr/bin/ld: cannot find -lgthread-2.0

Do you have a static libgthread-2.0? (ie /usr/lib/libgthread-2.0.a or
equivalent). If not you need to install it. Similarly you'll need
a static libglib-2.0.

-- PMM



reply via email to

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