From: Chris Friesen <chris.friesen@genband.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Avi Kivity <avi@redhat.com>, mtosatti@redhat.com, kvm@vger.kernel.org
Subject: [BUG] error compiling qemu-kvm-0.15.0 without vnc
Date: Tue, 30 Aug 2011 18:03:47 -0600 [thread overview]
Message-ID: <4E5D7A63.5080706@genband.com> (raw)
In-Reply-To: <4E5D413D.1070700@web.de>
Hi,
I've run into another problem. I configured qemu-kvm-0.15.0 as:
./configure --target-list="i386-softmmu,x86_64-softmmu" --disable-sdl --disable-vnc --disable-curses
Building it, I get:
CC i386-softmmu/pcspk.o
CC i386-softmmu/i8254.o
CC i386-softmmu/i8254-kvm.o
CC i386-softmmu/device-assignment.o
LINK i386-softmmu/qemu
monitor.o: In function `add_graphics_client':
/home/cfriesen/Download/qemu-kvm-0.15.0/monitor.c:1226: undefined reference to `vnc_display_add_client'
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make: *** [subdir-i386-softmmu] Error 2
The following patch allowed it to compile, but I don't know enough about kvm to know if this is the proper thing to do.
Chris
Index: cfriesen/Download/qemu-kvm-0.15.0/console.h
===================================================================
--- cfriesen.orig/Download/qemu-kvm-0.15.0/console.h
+++ cfriesen/Download/qemu-kvm-0.15.0/console.h
@@ -372,15 +372,18 @@ void cocoa_display_init(DisplayState *ds
void vnc_display_init(DisplayState *ds);
void vnc_display_close(DisplayState *ds);
int vnc_display_open(DisplayState *ds, const char *display);
-void vnc_display_add_client(DisplayState *ds, int csock, int skipauth);
int vnc_display_disable_login(DisplayState *ds);
char *vnc_display_local_addr(DisplayState *ds);
#ifdef CONFIG_VNC
+void vnc_display_add_client(DisplayState *ds, int csock, int skipauth);
int vnc_display_password(DisplayState *ds, const char *password);
int vnc_display_pw_expire(DisplayState *ds, time_t expires);
void do_info_vnc_print(Monitor *mon, const QObject *data);
void do_info_vnc(Monitor *mon, QObject **ret_data);
#else
+static inline void vnc_display_add_client(DisplayState *ds, int csock, int skipauth)
+{
+}
static inline int vnc_display_password(DisplayState *ds, const char *password)
{
qerror_report(QERR_FEATURE_DISABLED, "vnc");
--
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com
next prev parent reply other threads:[~2011-08-31 0:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-30 16:29 help? need to enable VT-d for 2.6.27 Chris Friesen
2011-08-30 17:55 ` David Ahern
2011-08-30 18:11 ` Chris Friesen
2011-08-30 18:31 ` David Ahern
2011-08-30 19:39 ` Chris Friesen
2011-08-30 19:54 ` David Ahern
2011-08-30 19:59 ` Jan Kiszka
2011-08-30 23:03 ` Chris Friesen
2011-08-31 7:30 ` Jan Kiszka
2011-08-31 0:03 ` Chris Friesen [this message]
2011-08-31 7:40 ` [BUG] error compiling qemu-kvm-0.15.0 without vnc Jan Kiszka
2011-08-31 7:40 ` [Qemu-devel] " Jan Kiszka
2011-08-31 8:14 ` Kevin Wolf
2011-08-31 8:14 ` [Qemu-devel] " Kevin Wolf
2011-08-31 20:11 ` Justin M. Forbes
2011-08-31 20:11 ` Justin M. Forbes
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=4E5D7A63.5080706@genband.com \
--to=chris.friesen@genband.com \
--cc=avi@redhat.com \
--cc=jan.kiszka@web.de \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/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.