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 1BADym-0003p5-LW for qemu-devel@nongnu.org; Sun, 04 Apr 2004 16:12:28 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BADy5-0003Sg-KD for qemu-devel@nongnu.org; Sun, 04 Apr 2004 16:11:46 -0400 Received: from [82.161.27.36] (helo=wingding.demon.nl) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BADxZ-00030d-0N for qemu-devel@nongnu.org; Sun, 04 Apr 2004 16:11:13 -0400 Received: from rutger by wingding.demon.nl with local (Exim 4.31) id 1BADxf-00011P-1d for qemu-devel@nongnu.org; Sun, 04 Apr 2004 22:11:19 +0200 Date: Sun, 4 Apr 2004 22:11:19 +0200 From: rutger@mail.com Message-ID: <20040404201119.GA2094@mail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: Subject: [Qemu-devel] Gentoo & qemu & non-static build Reply-To: qemu-devel@tux.tmfweb.nl, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I cannot get qemu to build on Gentoo ~x86. Is has to do with the known problem that alsa-lib is not build staticly, and therefore libsdl.a cannot be linked to, and therefore qemu cannot be build staticly also. Output in that case: ... gcc -static -Wl,-T,/home/rutger/download/qemu-0.5.3/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 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -laa -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lncurses -lutil /usr/lib/libSDL.a(SDL_x11gl.o)(.text+0x90a): 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/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lasound collect2: ld returned 1 exit status make[1]: *** [qemu-fast] Error 1 make[1]: Leaving directory `/home/rutger/download/qemu-0.5.3/i386' The problem on the qemu side is that I cannot get qemu to build non-staticly. I tried './configure --no-static', which gives 'static build no' (but then again, that's no different from when I remove the --no-static), but the build command still fails. It ends different however, with: ... gcc -Wall -O2 -g -fomit-frame-pointer -g -static -Wl,-T,/home/rutger/download/qemu-0.5.3/i386.ld i386 ../dyngen.c -o ../dyngen gcc: i386: No such file or directory make: *** [../dyngen] Error 1 make: Leaving directory `/home/rutger/download/qemu-0.5.3/i386' Anyone any idea on how to build qemu dynamically? Regards, Rutger. -- Rutger Nijlunsing ---------------------------- rutger ed tux tmfweb nl never attribute to a conspiracy which can be explained by incompetence ----------------------------------------------------------------------