From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyfPd-00066M-Db for qemu-devel@nongnu.org; Wed, 31 Aug 2011 03:40:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyfPc-0006Aj-6K for qemu-devel@nongnu.org; Wed, 31 Aug 2011 03:40:41 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:40499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyfPb-0006AZ-Qh for qemu-devel@nongnu.org; Wed, 31 Aug 2011 03:40:40 -0400 Message-ID: <4E5DE575.8090106@web.de> Date: Wed, 31 Aug 2011 09:40:37 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4E5D0FF3.6030705@genband.com> <4E5D23F5.3070905@gmail.com> <4E5D27B5.8090004@genband.com> <4E5D2C68.2050801@gmail.com> <4E5D3C67.1020908@genband.com> <4E5D413D.1070700@web.de> <4E5D7A63.5080706@genband.com> In-Reply-To: <4E5D7A63.5080706@genband.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1D09EB36722C6B5A3D6A259E" Sender: jan.kiszka@web.de Subject: Re: [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chris Friesen Cc: mtosatti@redhat.com, Avi Kivity , kvm@vger.kernel.org, qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1D09EB36722C6B5A3D6A259E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2011-08-31 02:03, Chris Friesen wrote: > Hi, >=20 > I've run into another problem. I configured qemu-kvm-0.15.0 as: >=20 > ./configure --target-list=3D"i386-softmmu,x86_64-softmmu" --disable-sdl= --disable-vnc --disable-curses >=20 >=20 > Building it, I get: >=20 > 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 refer= ence to `vnc_display_add_client' > collect2: ld returned 1 exit status > make[1]: *** [qemu] Error 1 > make: *** [subdir-i386-softmmu] Error 2 >=20 >=20 > The following patch allowed it to compile, but I don't know enough abou= t kvm to know if this is the proper thing to do. >=20 > Chris >=20 >=20 >=20 > Index: cfriesen/Download/qemu-kvm-0.15.0/console.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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 *p= assword) > { > qerror_report(QERR_FEATURE_DISABLED, "vnc"); >=20 >=20 >=20 c62f6d1d76aea587556c85b6b7b5c44167006264 and 860341f60582959698d2e1d839a5b7a004a2d76f need to be applied to stable-0.15 of upstream QEMU. Jan --------------enig1D09EB36722C6B5A3D6A259E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5d5XUACgkQitSsb3rl5xT/WwCfe0fnCpMb2kweeDAXRBIdYWVI 87IAoIcnmxkcZeAfvFQ+artw8l3p+A/+ =DgO2 -----END PGP SIGNATURE----- --------------enig1D09EB36722C6B5A3D6A259E--