[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Please Help! qemu build error (/usr/bin/ld: -f may no
From: |
Chan Kim |
Subject: |
Re: [Qemu-discuss] Please Help! qemu build error (/usr/bin/ld: -f may not be used without -shared) |
Date: |
Thu, 22 Jan 2015 00:28:41 +0000 |
Hi, Peter
Thanks, adding --disable-smartcard-nss solved it.
By the way, from the original error message (It LINK vscclient .. and
[vscclient] Error 1),
how do you know it is linked with --disable-smartcard-nss option?
I searched the configure script and couldn't find any clue this option is
related to vscclient. Just curious.
Chan
보낸 사람 : "Peter Maydell" <address@hidden>
보낸 날짜 : 2015-01-21 03:53:05 ( +09:00 )
받는 사람 : 김찬 <address@hidden>
참조 : address@hidden <address@hidden>
제목 : Re: [Qemu-discuss] Please Help! qemu build error (/usr/bin/ld: -f may not
be used without -shared)
On 20 January 2015 at 12:10, Chan Kim wrote:
> when I run 'make', I get
> $make
> ...(many lines from make)...
> lt LINK vscclient
> /usr/bin/ld: -f may not be used without -shared
> collect2: ld returned 1 exit status
> make: *** [vscclient] Error 1
> $
>
> If I remove --disable-pie, I don't see make error. But to use debugger, I
> believe I need that option.
> (I've added that option before for using debugger)
I don't use that option when I build QEMU, and I can use the
debugger without problems.
The other thing to try would be to disable building of the
vscclient code using --disable-smartcard-nss. You won't
need it for a SPARC target anyway.
-- PMM