From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C19uh-0006A9-PD for qemu-devel@nongnu.org; Sat, 28 Aug 2004 16:35:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C19ud-00067u-I5 for qemu-devel@nongnu.org; Sat, 28 Aug 2004 16:35:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C19ud-00067i-De for qemu-devel@nongnu.org; Sat, 28 Aug 2004 16:34:59 -0400 Received: from [62.241.160.193] (helo=pengo.systems.pipex.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C19pY-0004nr-Gf for qemu-devel@nongnu.org; Sat, 28 Aug 2004 16:29:44 -0400 Received: from nowt.org (81-178-249-200.dsl.pipex.com [81.178.249.200]) by pengo.systems.pipex.net (Postfix) with ESMTP id 45C084C002E6 for ; Sat, 28 Aug 2004 21:29:42 +0100 (BST) Received: from wren.home (wren.home [192.168.1.7]) by nowt.org (Postfix) with ESMTP id E8A83AC95 for ; Sat, 28 Aug 2004 21:29:41 +0100 (BST) From: Paul Brook Subject: Re: [Qemu-devel] linking problem Date: Sat, 28 Aug 2004 21:29:41 +0100 References: <4130BFD0.9070005@neenet.com> <200408281524.40699.menola@sbcglobal.net> In-Reply-To: <200408281524.40699.menola@sbcglobal.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408282129.41511.paul@codesourcery.com> 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 On Saturday 28 August 2004 21:24, Joe Menola wrote: > On Sat August 28 2004 12:24 pm, Lonnie Cumberland wrote: > > Hello All, > > > > I am running Mandrake 10.0 and am trying to compile the qemu-0.6.0 > > version but keep getting this error: > > > > > > ar rcs libqemu.a exec.o translate-all.o cpu-exec.o translate.o op.o > > helper.o helper2.o translate-copy.o disas.o i386-dis.o > > gcc -static -Wl,-T,/home/lonnie/QEMU/qemu-0.6.0/i386-vl.ld -o > > qemu-fast vl.o osdep.o block.o monitor.o pci.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 cirrus_vga.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o > > slirp/ip_icmp.o slirp/ip_input.o slirp/ip_output.o slirp/slirp.o > > slirp/mbuf.o slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o > > slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o > > slirp/bootp.o slirp/debug.o libqemu.a -lm -L/usr/lib -lSDL -lpthread > > -lm -ldl -lasound -laudio -lXt -L/usr/X11R6/lib -lX11 -lXext -lutil > > /usr/bin/ld: cannot find -lm > > collect2: ld returned 1 exit status > > make[1]: *** [qemu-fast] Error 1 > > make[1]: Leaving directory `/home/lonnie/QEMU/qemu-0.6.0/i386' > > make: *** [all] Error 1 > > > > what is the "-lm" library? -lfoo means link with libfoo. libm is the C math library. > I forget exactly what -lm is, but it's in one of theses packages.. > > glibc-static-devel Probably this one. The exact package names vary, but make sure you have the glibc development packages installed. Paul