From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B9AGy-0005TQ-Pa for qemu-devel@nongnu.org; Thu, 01 Apr 2004 17:02:52 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B9AFG-0003WS-AA for qemu-devel@nongnu.org; Thu, 01 Apr 2004 17:01:38 -0500 Received: from [193.252.22.27] (helo=mwinf0401.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B9AFC-0003Rs-T3 for qemu-devel@nongnu.org; Thu, 01 Apr 2004 17:01:03 -0500 Message-ID: <406C918A.6080600@bellard.org> Date: Fri, 02 Apr 2004 00:02:50 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Mixed shared/static libraries References: <200404011112.49133.jm@poure.com> In-Reply-To: <200404011112.49133.jm@poure.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jm@poure.com, qemu-devel@nongnu.org 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 >