qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu static linking
@ 2004-06-10 18:20 Michael Buesch
  2004-06-11 17:24 ` [Qemu-devel] VNC patch, next version Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Buesch @ 2004-06-10 18:20 UTC (permalink / raw)
  To: qemu-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Why is qemu statically linked against X11, althought
I did --static=no at configure-time?

make[1]: Leaving directory `/home/mb/qemu/i386-user'
make[1]: Entering directory `/home/mb/qemu/i386'
gcc-3.3.3  -static -Wl,-T,/home/mb/qemu/i386-vl.ld  -o qemu-fast vl.o osdep.o block.o monitor.o pci.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o cirrus_vga.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o libqemu.a  -lm -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lm -ldl -lasound -L/usr/local/lib -lesd -L/usr/lib -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lutil
/usr/local/lib/libSDL.a(SDL_x11gl.o)(.text+0x927): In function `X11_GL_LoadLibrary':
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory `/home/mb/qemu/i386'
make: *** [all] Error 1

It errors out, because i don't have libX11.a installed (and
I'm not going to install it).

Any ideas?
Please CC: me, as I'm not subscribed to this list.
Thanks.
- -- 
Regards Michael Buesch  [ http://www.tuxsoft.de.vu ]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAyKaVFGK1OIvVOP4RAjJLAKDYS2+PWm7buUbvPnKzUovKgBJQKwCgz0ah
f/lV1GbvzdhR291jlFx4aok=
=LifX
-----END PGP SIGNATURE-----

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

* [Qemu-devel] VNC patch, next version
  2004-06-10 18:20 [Qemu-devel] qemu static linking Michael Buesch
@ 2004-06-11 17:24 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2004-06-11 17:24 UTC (permalink / raw)
  To: qemu-devel

Hi,

just wanted to announce the 5th version of my VNC patch at
	http://libvncserver.sf.net/qemu/qemu-rfb5.patch.gz

(I pulled the 4th version, because it had a severe keyboard bug).

What is new since the 3rd version?

- saves mouse/keyboard state (so that loadvm with a running Xwindows
  works, at least when loading the 2nd time).
- mouse does behave as expected when running Xwindows in KNOPPIX as guest
  (and should do on any Linux guest).
- introduced a mouse calibration (in a vncviewer: hit Ctrl+Shift, and
  release it).
- preliminary success with Windows 98 (for now you have to select "no
  acceleration" for the mouse; I am working on it).
- for my own convenience I introduced a "-V state_file" switch to "loadvm
  state_file". I don't insist on keeping it.

I suppose the loadvm bug is something about irq's sent at the wrong time,
because when I issue the very same command a 2nd time (after qemu ran for
a very short time), it's successful.

If you want to know how the mouse works: In Xwindows (at least the version
I have), whenever the mouse moves at least 4 pixels on either axis, the
amount on both axes is treated as if double. In Win98, it is 3 pixels, and
one axis does not influence the other. But Win98 does a little bit more,
which leads to errors, and which I am going to find out.

Ciao,
Dscho

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

end of thread, other threads:[~2004-06-11 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 18:20 [Qemu-devel] qemu static linking Michael Buesch
2004-06-11 17:24 ` [Qemu-devel] VNC patch, next version Johannes Schindelin

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