From: Michael Buesch <mbuesch@freenet.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu static linking
Date: Thu, 10 Jun 2004 20:20:53 +0200 [thread overview]
Message-ID: <200406102021.10886.mbuesch@freenet.de> (raw)
-----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-----
next reply other threads:[~2004-06-10 18:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-10 18:20 Michael Buesch [this message]
2004-06-11 17:24 ` [Qemu-devel] VNC patch, next version Johannes Schindelin
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=200406102021.10886.mbuesch@freenet.de \
--to=mbuesch@freenet.de \
--cc=qemu-devel@nongnu.org \
/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 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).