* Re: [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc [not found] ` <4E5D7A63.5080706@genband.com> @ 2011-08-31 7:40 ` Jan Kiszka 2011-08-31 8:14 ` Kevin Wolf 0 siblings, 1 reply; 3+ messages in thread From: Jan Kiszka @ 2011-08-31 7:40 UTC (permalink / raw) To: Chris Friesen; +Cc: mtosatti, Avi Kivity, kvm, qemu-devel [-- Attachment #1: Type: text/plain, Size: 2267 bytes --] On 2011-08-31 02:03, Chris Friesen wrote: > 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"); > > > c62f6d1d76aea587556c85b6b7b5c44167006264 and 860341f60582959698d2e1d839a5b7a004a2d76f need to be applied to stable-0.15 of upstream QEMU. Jan [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc 2011-08-31 7:40 ` [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc Jan Kiszka @ 2011-08-31 8:14 ` Kevin Wolf 2011-08-31 20:11 ` Justin M. Forbes 0 siblings, 1 reply; 3+ messages in thread From: Kevin Wolf @ 2011-08-31 8:14 UTC (permalink / raw) To: Jan Kiszka Cc: kvm, Chris Friesen, mtosatti, Justin M. Forbes, qemu-devel, Avi Kivity Am 31.08.2011 09:40, schrieb Jan Kiszka: > On 2011-08-31 02:03, Chris Friesen wrote: >> 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"); >> >> >> > > c62f6d1d76aea587556c85b6b7b5c44167006264 and > 860341f60582959698d2e1d839a5b7a004a2d76f need to be applied to > stable-0.15 of upstream QEMU. So I guess Justin should be CCed? Kevin ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc 2011-08-31 8:14 ` Kevin Wolf @ 2011-08-31 20:11 ` Justin M. Forbes 0 siblings, 0 replies; 3+ messages in thread From: Justin M. Forbes @ 2011-08-31 20:11 UTC (permalink / raw) To: Kevin Wolf Cc: kvm, Chris Friesen, mtosatti, qemu-devel, Jan Kiszka, Avi Kivity On Wed, 2011-08-31 at 10:14 +0200, Kevin Wolf wrote: > Am 31.08.2011 09:40, schrieb Jan Kiszka: > > On 2011-08-31 02:03, Chris Friesen wrote: > > c62f6d1d76aea587556c85b6b7b5c44167006264 and > > 860341f60582959698d2e1d839a5b7a004a2d76f need to be applied to > > stable-0.15 of upstream QEMU. > > So I guess Justin should be CCed? > > Kevin Thanks for the CC, and pulled. Justin ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-31 20:11 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <4E5D0FF3.6030705@genband.com> [not found] ` <4E5D23F5.3070905@gmail.com> [not found] ` <4E5D27B5.8090004@genband.com> [not found] ` <4E5D2C68.2050801@gmail.com> [not found] ` <4E5D3C67.1020908@genband.com> [not found] ` <4E5D413D.1070700@web.de> [not found] ` <4E5D7A63.5080706@genband.com> 2011-08-31 7:40 ` [Qemu-devel] [BUG] error compiling qemu-kvm-0.15.0 without vnc Jan Kiszka 2011-08-31 8:14 ` Kevin Wolf 2011-08-31 20:11 ` Justin M. Forbes
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).