All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Makefile: fix that qemu doesn't compile with qemu-ga and simpletrace configured.
@ 2011-09-01  5:56 wudxw
  2011-09-01 11:06 ` Lluís
  0 siblings, 1 reply; 2+ messages in thread
From: wudxw @ 2011-09-01  5:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mark Wu

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] Makefile: fix that qemu doesn't compile with qemu-ga and simpletrace configured.
  2011-09-01  5:56 [Qemu-devel] [PATCH] Makefile: fix that qemu doesn't compile with qemu-ga and simpletrace configured wudxw
@ 2011-09-01 11:06 ` Lluís
  0 siblings, 0 replies; 2+ messages in thread
From: Lluís @ 2011-09-01 11:06 UTC (permalink / raw)
  To: wudxw; +Cc: qemu-devel

wudxw  writes:

> 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>

This pull request addresses the issue (first 2 patches):

http://lists.gnu.org/archive/html/qemu-devel/2011-09/msg00030.html


Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-01 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-01  5:56 [Qemu-devel] [PATCH] Makefile: fix that qemu doesn't compile with qemu-ga and simpletrace configured wudxw
2011-09-01 11:06 ` Lluís

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.