[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] cannot build qemu with "--static" configure option
From: |
Alon Levy |
Subject: |
Re: [Qemu-devel] cannot build qemu with "--static" configure option |
Date: |
Thu, 24 Nov 2011 14:26:39 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Nov 23, 2011 at 07:33:48PM +0000, Peter Maydell wrote:
> 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
Just FYI, It's the --disable-smartcard that fixed this:
smartcard requires nss, and:
$ pkg-config --libs nss
-lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl
> >>
> >> 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
>
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, (continued)
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Paolo Bonzini, 2011/11/24
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Mr Dash Four, 2011/11/24
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Mr Dash Four, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Mr Dash Four, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Max Filippov, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Mr Dash Four, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Max Filippov, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Peter Maydell, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Peter Maydell, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Mr Dash Four, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option,
Alon Levy <=
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Peter Maydell, 2011/11/24
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Mr Dash Four, 2011/11/23
- Re: [Qemu-devel] cannot build qemu with "--static" configure option, Peter Maydell, 2011/11/23