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 1BAx64-00024Y-1m for qemu-devel@nongnu.org; Tue, 06 Apr 2004 16:23:00 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BAx62-00024A-8w for qemu-devel@nongnu.org; Tue, 06 Apr 2004 16:22:58 -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 1BAx61-00023j-RV for qemu-devel@nongnu.org; Tue, 06 Apr 2004 16:22:58 -0400 Date: Tue, 6 Apr 2004 22:23:06 +0200 From: rutger@mail.com Subject: Re: [Qemu-devel] Gentoo & qemu & non-static build Message-ID: <20040406202305.GA30254@mail.com> References: <20040404201119.GA2094@mail.com> <20040404202705.GA30876@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040404202705.GA30876@jbrown.mylinuxbox.org> Sender: 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: "Jim C. Brown" Cc: qemu-devel@nongnu.org On Sun, Apr 04, 2004 at 04:27:05PM -0400, Jim C. Brown wrote: > On Sun, Apr 04, 2004 at 10:11:19PM +0200, rutger@mail.com wrote: > > 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 > > Try using this command instead: > > 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 -shared -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 > > It worked for me. Works for me too, thanks! Now trying to let qemu use /dev/tun (default of udev) instead of /dev/net/tun ... -- Rutger Nijlunsing ---------------------------- rutger ed tux tmfweb nl never attribute to a conspiracy which can be explained by incompetence ----------------------------------------------------------------------