[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: |
Peter Maydell |
Subject: |
Re: [Qemu-discuss] Please Help! qemu build error (/usr/bin/ld: -f may not be used without -shared) |
Date: |
Tue, 20 Jan 2015 18:52:42 +0000 |
On 20 January 2015 at 12:10, Chan Kim <address@hidden> 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