From: Nigel Horne <1184616@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1184616] [NEW] undefined reference to`trace_qemu_anon_ram_alloc'
Date: Tue, 28 May 2013 13:18:29 -0000 [thread overview]
Message-ID: <51A4AEA5.6090302@bandsman.co.uk> (raw)
In-Reply-To: 20130528083810.GG13368@stefanha-thinkpad.redhat.com
>>> On Mon, May 27, 2013 at 4:02 PM, Nigel Horne <1184616@bugs.launchpad.net>
>>> 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.
Here it is:
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# libhw32/
# libhw64/
# trace.c
# trace.h
I don't do any local modification just 'git pull' and recompile. Perhaps
git is broken so I should 'git clone' and start again.
-Nigel
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1184616
Title:
undefined reference to `trace_qemu_anon_ram_alloc'
Status in QEMU:
New
Bug description:
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'
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1184616/+subscriptions
next prev parent reply other threads:[~2013-05-28 13:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-27 14:02 [Qemu-devel] [Bug 1184616] [NEW] undefined reference to `trace_qemu_anon_ram_alloc' Nigel Horne
2013-05-27 19:13 ` Stefan Hajnoczi
2013-05-27 21:04 ` [Qemu-devel] [Bug 1184616] [NEW] undefined reference to`trace_qemu_anon_ram_alloc' Nigel Horne
2013-05-28 8:38 ` Stefan Hajnoczi
2013-05-28 8:47 ` Fam Zheng
2013-05-28 13:18 ` Nigel Horne [this message]
2013-05-28 13:30 ` Stefan Hajnoczi
2016-10-19 16:37 ` [Qemu-devel] [Bug 1184616] Re: undefined reference to `trace_qemu_anon_ram_alloc' T. Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51A4AEA5.6090302@bandsman.co.uk \
--to=1184616@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.