Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B0yre-0007Is-PW for qemu-devel@nongnu.org; Wed, 10 Mar 2004 03:14:54 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B0yr6-0007Bp-Ur for qemu-devel@nongnu.org; Wed, 10 Mar 2004 03:14:52 -0500 Received: from [130.136.10.114] (helo=pob.cs.unibo.it) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B0yr6-0007BA-9G for qemu-devel@nongnu.org; Wed, 10 Mar 2004 03:14:20 -0500 Date: Wed, 10 Mar 2004 09:14:12 +0100 Subject: Re: [Qemu-devel] Problem compiling qemu on Mandrake 9.2 Message-ID: <20040310081412.GA24260@cs.unibo.it> 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> From: renzo@cs.unibo.it (Renzo Davoli) 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 > 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 it seems that your likage editor does not recognize the -lm option. This problem could be caused by the non existence of the libm.a or libm.so library (I feel this is highly improbable). I think that your linkage editor ld get confused as the -lm option appears twice in the command, thus it tries to find a file named -lm (in fact it says -lm not found, it is not looking for libm.a). I would edit the Makefile by hand to remove the first -lm. renzo