From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X58qh-000872-4B for qemu-devel@nongnu.org; Thu, 10 Jul 2014 03:32:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X58qf-00025k-Uh for qemu-devel@nongnu.org; Thu, 10 Jul 2014 03:32:59 -0400 Received: from mail-oa0-x22c.google.com ([2607:f8b0:4003:c02::22c]:33415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X58qf-00025g-Ps for qemu-devel@nongnu.org; Thu, 10 Jul 2014 03:32:57 -0400 Received: by mail-oa0-f44.google.com with SMTP id i7so9481773oag.31 for ; Thu, 10 Jul 2014 00:32:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140710052807.11774.70772.malone@gac.canonical.com> References: <20140528125211.29732.51513.malonedeb@wampee.canonical.com> <20140710052807.11774.70772.malone@gac.canonical.com> Date: Thu, 10 Jul 2014 09:32:56 +0200 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [Bug 1324112] Re: qemu parallel building error on libcacard.la List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1324112 <1324112@bugs.launchpad.net> Cc: qemu-devel On Thu, Jul 10, 2014 at 7:28 AM, Fam Zheng wrote: > > Could be because of this rule: > > > # libtool will build the .o files, too > > $(libcacard-obj-y): | $(libcacard-lobj-y) > > Does removing the "|" (order deps) solve the issue? I don't think so: libcacard.la: $(libcacard-lobj-y) $(call LINK,$^) The problem is the libcacard-obj-y target is not required by anything. Try this on qemu.git/master: $ make distclean $ ./configure $ make libcacard/vscclient libcacard/vscclient.o: In function `do_command': /home/stefanha/qemu/libcacard/vscclient.c:500: undefined reference to `vreader_get_reader_by_id' /home/stefanha/qemu/libcacard/vscclient.c:502: undefined reference to `vcard_emul_force_card_insert' /home/stefanha/qemu/libcacard/vscclient.c:503: undefined reference to `vreader_get_name' ... The Makefile is broken. I suspect that putting proper dependencies in place with fix this issue. Stefan