qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jean-Michel POURE <jm@poure.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Mixed shared/static libraries
Date: Thu, 1 Apr 2004 11:12:49 +0200	[thread overview]
Message-ID: <200404011112.49133.jm@poure.com> (raw)

Dear all,

Building Qemu fails because of a mix of shared and static libraries:

gcc  -static -Wl,-T,/home/jmpoure/projets/qemu/qemu/i386-vl.ld  -o qemu-fast 
vl.o osdep.o block.o monitor.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 gdbstub.o sdl.o 
libqemu.a  -lm -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 
-lXext -lvga -laa -L/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lslang 
-lncurses -lutil
/usr/lib/libSDL.a(SDL_loadso.o)(.text+0x2a): dans la fonction « SDL_LoadObject 
»:
: warning: Using 'dlopen' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x995): dans la fonction « 
_X11TransSocketINETConnect »:
: warning: Using 'gethostbyname' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x76a): dans la fonction « 
_X11TransSocketINETConnect »:
: warning: Using 'getservbyname' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking
/usr/lib/libaa.a(aastdin.o)(.text+0x114): dans la fonction « stdin_getchar »:

Any idea how the ./configure script can be fixed?
This is becoming a rather important issue...

Cheers,
Jean-Michel

             reply	other threads:[~2004-04-01  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-01  9:12 Jean-Michel POURE [this message]
2004-04-01 22:02 ` [Qemu-devel] Mixed shared/static libraries Fabrice Bellard

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=200404011112.49133.jm@poure.com \
    --to=jm@poure.com \
    --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).