From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0za3-0005hi-8Z for qemu-devel@nongnu.org; Fri, 24 Feb 2012 13:09:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0zZx-0006DG-CI for qemu-devel@nongnu.org; Fri, 24 Feb 2012 13:09:19 -0500 Received: from cantor2.suse.de ([195.135.220.15]:53791 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0zZx-0006D3-64 for qemu-devel@nongnu.org; Fri, 24 Feb 2012 13:09:13 -0500 Message-ID: <4F47D247.3020509@suse.de> Date: Fri, 24 Feb 2012 19:09:11 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <4F47C892.5040800@codemonkey.ws> In-Reply-To: <4F47C892.5040800@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Compile/link errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Gerhard Wiesinger , Paolo Bonzini , qemu-devel@nongnu.org Am 24.02.2012 18:27, schrieb Anthony Liguori: > On 02/24/2012 11:11 AM, Gerhard Wiesinger wrote: >> Hello, >> >> I'm having compile/link errors on >> 85f38553031b1a6e07f786c9ab0d403af7252b4f: >> LINK x86_64-softmmu/qemu-system-x86_64 >> ../libhw64/virtio-pci.o: In function `virtio_scsi_exit_pci': >> /root/download/qemu/git/qemu/hw/virtio-pci.c:956: undefined reference = to >> `virtio_scsi_exit' >> ../libhw64/virtio-pci.o: In function `virtio_scsi_init_pci': >> /root/download/qemu/git/qemu/hw/virtio-pci.c:939: undefined reference = to >> `virtio_scsi_init' >> collect2: ld returned 1 exit status >> >> Clean compile. >> >> Any ideas? >=20 > You have a stale configuration file. A 'make distclean' should help. Such errors indicate a dependency issue that should be fixed though. (Same error here. Rebuilding after rm -rf * worked.) When I change target-specific default configs it always seemed to work okay, is pci.mak different in any way? Or maybe some make target is lacking a dependency on the regenerated config files? Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg