Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUdAu-0005zs-MW for qemu-devel@nongnu.org; Sun, 30 May 2004 23:09:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUdAs-0005xm-54 for qemu-devel@nongnu.org; Sun, 30 May 2004 23:09:19 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUdAr-0005xc-QQ for qemu-devel@nongnu.org; Sun, 30 May 2004 23:09:17 -0400 Received: from [65.54.247.158] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BUdAe-0007el-7Q for qemu-devel@nongnu.org; Sun, 30 May 2004 23:09:04 -0400 From: "zach etienne" Date: Mon, 31 May 2004 03:06:57 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: Subject: [Qemu-devel] Linking problem: Makefile bug? 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 Hello all. I'd like to get qemu to compile with some SDL libraries installed in a nonstandard location on my machine. I think the problem lies in the fact that qemu-fast tries to link itself _statically_ (gcc -static) to various libraries on my system. Here's the compile command+error message (note that /scratch/zetienne/bin//lib contains the SDL libraries, and libartsc.so/la/so.0 is installed in /usr/lib): gcc -static -Wl,-T,/scratch/zetienne/qemu/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 gdbstub.o sdl.o libqemu.a -lm -L/scratch/zetienne/bin//lib -Wl,-rpath,/scratch/zetienne/bin//lib -lSDL -lpthread -lm -L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -ldl -lutil /usr/bin/ld: cannot find -lartsc collect2: ld returned 1 exit status make: *** [qemu-fast] Error 1 Any suggestions would be most welcome. -Zach http://w3.physics.uiuc.edu/~zetienne/ _________________________________________________________________ Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.click-url.com/go/onm00200362ave/direct/01/