On 24 November 2011 12:26, Alon Levy <al...@redhat.com> wrote: > 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
Yeah. You can get this problem on Ubuntu too if you have the relevant libnns3-dev package installed. However we won't be using the smartcard stuff if we're building a linux-user target, right, so maybe we can get the makefile to skip it or only apply these libraries to the relevant executables ? Either that or we should say "we don't have a working nss for smartcard" if the user said --static (ie improve the smartcard autodetect configure code). -- PMM