All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: jm@poure.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Mixed shared/static libraries
Date: Fri, 02 Apr 2004 00:02:50 +0200	[thread overview]
Message-ID: <406C918A.6080600@bellard.org> (raw)
In-Reply-To: <200404011112.49133.jm@poure.com>


It is a problem in your distribution (SDL package), not in QEMU. I'll 
try to make a faq for the next release. Maybe optionally disabling the 
build of qemu-fast could be a solution.

Fabrice.

Jean-Michel POURE wrote:
> 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
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
> 

      reply	other threads:[~2004-04-01 22:02 UTC|newest]

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

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=406C918A.6080600@bellard.org \
    --to=fabrice@bellard.org \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.