On Wed, Nov 23, 2011 at 07:33:48PM +0000, Peter Maydell wrote: > On 23 November 2011 19:22, Mr Dash Four <mr.dash.f...@googlemail.com> 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 >