[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 1184616] [NEW] undefined reference to`trace_qemu_a
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [Bug 1184616] [NEW] undefined reference to`trace_qemu_anon_ram_alloc' |
Date: |
Tue, 28 May 2013 16:47:49 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, 05/28 10:38, Stefan Hajnoczi wrote:
> On Mon, May 27, 2013 at 09:04:26PM -0000, Nigel Horne wrote:
> > > On Mon, May 27, 2013 at 4:02 PM, Nigel Horne <address@hidden>
> > > wrote:
> > >> The latest git version (commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29)
> > >> fails to compile:
> > >>
> > >> ...
> > >> LINK qemu-ga
> > >> libqemuutil.a(oslib-posix.o): In function `qemu_anon_ram_alloc':
> > >> oslib-posix.c:(.text+0x154): undefined reference to
> > >> `trace_qemu_anon_ram_alloc'
> > >> libqemuutil.a(oslib-posix.o): In function `qemu_anon_ram_free':
> > >> oslib-posix.c:(.text+0x1e7): undefined reference to
> > >> `trace_qemu_anon_ram_free'
> > >> collect2: error: ld returned 1 exit status
> > >> make: *** [qemu-ga] Error 1
> > >>
> > >> This is on Ubuntu 13.04, gcc 4.7.3, configure flags:
> > >> './configure' '--enable-linux-aio' '--enable-kvm' '--enable-vhost-net'
> > >
> > > Please try:
> > > make distclean && ./configure --enable-linux-aio --enable-kvm
> > > --enable-vhost-net && make
> >
> > I tried that before I raised the bug. However I tried it again to be sure,
> > and yes I still get the same error.
>
> Please post the output of "git status". I wonder if there are stale
> files because the build works fine here.
>
> Stefan
>
In my case, git ignored files may also have affects. So make distclean
then git clean -dfx is worth a try.
--
Fam
- [Qemu-devel] [PATCH v4 01/12] target-i386/helper: remove EAX macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 02/12] target-i386/helper: remove EBX macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 08/12] target-i386/helper: remove EDI macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 03/12] target-i386/helper: remove ECX macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 07/12] target-i386/helper: remove ESI macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 05/12] target-i386/helper: remove EBP macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 06/12] target-i386/helper: remove ESP macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 10/12] target-i386/helper: remove DF macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 09/12] target-i386/helper: remove EIP macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 04/12] target-i386/helper: remove EDX macro, liguang, 2013/05/28
- [Qemu-devel] [PATCH v4 11/12] target-i386/helper: remove redundant env->eip assignment, liguang, 2013/05/28