From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQxw3-00005U-Nr for qemu-devel@nongnu.org; Mon, 18 Dec 2017 11:06:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQxvy-0003Uo-2P for qemu-devel@nongnu.org; Mon, 18 Dec 2017 11:06:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33142) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQxvx-0003TS-Si for qemu-devel@nongnu.org; Mon, 18 Dec 2017 11:06:29 -0500 Date: Mon, 18 Dec 2017 17:06:18 +0100 From: Cornelia Huck Message-ID: <20171218170618.69ff1ca1.cohuck@redhat.com> In-Reply-To: <180764363.27732961.1513612859884.JavaMail.zimbra@redhat.com> References: <20171218140002.23677-1-cohuck@redhat.com> <151360760770.51.389844259110219934@5adcb62bf0d6> <20171218165346.1fe50257.cohuck@redhat.com> <180764363.27732961.1513612859884.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tpm: move qdev_prop_tpm to hw/tpm/ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: no-reply@patchew.org, qemu-devel@nongnu.org, famz@redhat.com, stefanb@linux.vnet.ibm.com, marcandre lureau , thuth@redhat.com On Mon, 18 Dec 2017 11:00:59 -0500 (EST) Paolo Bonzini wrote: > > > ../hw/tpm/tpm_tis.o:tpm_tis.c:(.data+0x50): undefined reference to > > > `qdev_prop_tpm' > > > collect2: error: ld returned 1 exit status > > > Makefile:193: recipe for target 'qemu-system-x86_64w.exe' failed > > > make[1]: *** [qemu-system-x86_64w.exe] Error 1 > > > make: *** [subdir-x86_64-softmmu] Error 2 > > > Makefile:384: recipe for target 'subdir-x86_64-softmmu' failed > > > > Seems we need to build tpm_util also when tpm_tis is built (and none of > > the others). > > Or place the property in its own file. Currently testing building tpm_util all of the time; waiting for a vote from the tpm maintainer. [Building a file called 'util' all of the time makes sense to me.]