Skip to contentSkip to conversation

Qemu CVS under Debian SID / Missing lgpm library

Qemu-devel Jean-Michel POURE 4 participants 4 messages Apr 29, 2004

lore
Share & tools
lore
#0 lore raw

Dear all,

Qemu CVS compilation fails under Debian SID because of a broken sdl-config. I opened a bug on the Debian tracking system today. But it may take some time and it would nice to think of a turnaround.

For example, it used to be possible to add the -lgpm switch in config-host.mak. Where can the missing switch be added now?

Cheers,
Jean-Michel

#1 lore raw

[Qemu-devel] keyboard under VNC

When I connect to my Linux machine via VNC (the X server version), then start up a QEMU session, the keyboard is all screwy. For instance, pressing d prints f (d->f, f->h, c->d, v->i, g->j, h->k, and neither shift nor delete work as examples). It works when I sit at the local X session though.

Any ideas as to why? All my other apps seem to work fine (except VMWare, which doesn't repaint reliably and shares the mouse scaling problems with QEMU).

Joe

#2 lore raw

Re: [Qemu-devel] keyboard under VNC

Quoted 9 lines · Joe Batt

When I connect to my Linux machine via VNC (the X server version), then start up a QEMU session, the keyboard is all screwy. For instance, pressing d prints f (d->f, f->h, c->d, v->i, g->j, h->k, and neither shift nor delete work as examples). It works when I sit at the local X session though.

Any ideas as to why? All my other apps seem to work fine (except VMWare, which doesn't repaint reliably and shares the mouse scaling problems with QEMU).

QEMU currently uses the raw PC scancodes returned by the X11 server in order to avoid keymaps problems. I can add an alternate method based on X11 keysyms, but you will have to give an option to QEMU to select the language of your keyboard.

Fabrice.

#3 lore raw
In reply to Jean-Michel POURE

Hi,

Quoted 1 line · Jean-Michel POURE

Qemu CVS compilation fails under Debian SID because of a broken sdl-config. I opened a bug on the Debian tracking system today. But it may take some time and it would nice to think of a turnaround.

The attached patch fixes this here.

bye, Roman

Index: configure
===================================================================
RCS file: /cvsroot/qemu/qemu/configure,v
retrieving revision 1.34

configure +1 -1
diff -u -p -r1.34 configure
@@ -220,7 +220,7 @@ aa="no"
 `$sdl_config --static-libs | grep \\\-laa > /dev/null` && aa="yes"
 sdl_static_libs=`$sdl_config --static-libs`
 if [ "$aa" = "yes" ] ; then
-  sdl_static_libs="$sdl_static_libs `aalib-config --libs`"
+  sdl_static_libs="$sdl_static_libs `aalib-config --static-libs`"
 fi
 
 if $cc -o $TMPE `$sdl_config --cflags 2> /dev/null` $TMPC $sdl_static_libs 2> /dev/null; then