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 1B1rGx-00021W-Ds for qemu-devel@nongnu.org; Fri, 12 Mar 2004 13:20:39 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B1dEy-0004D1-Jl for qemu-devel@nongnu.org; Thu, 11 Mar 2004 22:22:11 -0500 Received: from [206.72.67.39] (helo=claudius.sentinelchicken.org) by monty-python.gnu.org with smtp (Exim 4.30) id 1B1dEy-0004CU-2E for qemu-devel@nongnu.org; Thu, 11 Mar 2004 22:21:40 -0500 Date: Thu, 11 Mar 2004 19:21:31 -0800 From: Tim Subject: Re: [Qemu-devel] Problem compiling qemu on Mandrake 9.2 Message-ID: <20040312032131.GA8363@sentinelchicken.org> References: <1078526135.3560.18.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1078526135.3560.18.camel@localhost> Reply-To: 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 > Whenever I try to compile qemu, I get the following error: > > gcc -static > -Wl,-T,/home/stealthdave/download/emulators/qemu/i386-vl.ld -o > qemu-fast vl.o block.o ide.o vga.o sb16.o dma.o oss.o fdc.o osdep.o > sdl.o libqemu.a -lm -L/usr/lib -lSDL -lpthread -lm -ldl -lasound > -laudio -lXt -L/usr/X11R6/lib -lX11 -lXext > /usr//bin/ld: cannot find -lm > collect2: ld returned 1 exit status > make[1]: *** [qemu-fast] Error 1 > make[1]: Leaving directory `/mnt/data/download/emulators/qemu/i386' > make: *** [all] Error 1 Don't you need '.a' library files for your libraries when you are compiling static instead of just '.so' files? It has been a while since I did this stuff, maybe I am just reaching here... tim