From: wudxw@linux.vnet.ibm.com
To: qemu-devel@nongnu.org
Cc: Mark Wu <wudxw@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH] Makefile: fix that qemu doesn't compile with qemu-ga and simpletrace configured.
Date: Thu, 1 Sep 2011 13:56:23 +0800 [thread overview]
Message-ID: <1314856583-11883-1-git-send-email-wudxw@linux.vnet.ibm.com> (raw)
From: Mark Wu <wudxw@linux.vnet.ibm.com>
Without this fix, it will not compile when simpletrace is configured:
$ ./configure --enable-trace-backend=simple
$ make
GEN config-host.h
GEN trace.h
CC qemu-ga.o
GEN trace.c
LINK qemu-ga
simpletrace.o: In function `get_clock':
$qemu_src/qemu-timer.h:122: undefined reference to `use_rt_clock'
collect2: ld returned 1 exit status
make: *** [qemu-ga] Error 1
Signed-off-by: Mark Wu <wudxw@linux.vnet.ibm.com>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 8606849..6dc6ac3 100644
--- a/Makefile
+++ b/Makefile
@@ -197,7 +197,7 @@ QGALIB_GEN=$(addprefix $(qapi-dir)/, qga-qapi-types.c qga-qapi-types.h qga-qapi-
$(QGALIB_GEN): $(GENERATED_HEADERS)
$(qga-obj-y) qemu-ga.o: $(QGALIB_GEN)
-qemu-ga$(EXESUF): qemu-ga.o $(qga-obj-y) $(qapi-obj-y) $(trace-obj-y) $(qobject-obj-y) $(version-obj-y) $(addprefix $(qapi-dir)/, qga-qapi-visit.o qga-qapi-types.o qga-qmp-marshal.o)
+qemu-ga$(EXESUF): qemu-ga.o $(qga-obj-y) $(qapi-obj-y) $(trace-obj-y) $(qobject-obj-y) $(version-obj-y) $(addprefix $(qapi-dir)/, qga-qapi-visit.o qga-qapi-types.o qga-qmp-marshal.o) qemu-timer-common.o
QEMULIBS=libhw32 libhw64 libuser libdis libdis-user
--
1.7.4.4
next reply other threads:[~2011-09-01 5:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-01 5:56 wudxw [this message]
2011-09-01 11:06 ` [Qemu-devel] [PATCH] Makefile: fix that qemu doesn't compile with qemu-ga and simpletrace configured Lluís
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=1314856583-11883-1-git-send-email-wudxw@linux.vnet.ibm.com \
--to=wudxw@linux.vnet.ibm.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).