From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N397I-00018v-BT for qemu-devel@nongnu.org; Wed, 28 Oct 2009 10:03:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N397D-00014j-FH for qemu-devel@nongnu.org; Wed, 28 Oct 2009 10:03:11 -0400 Received: from [199.232.76.173] (port=36643 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N397C-00014M-JM for qemu-devel@nongnu.org; Wed, 28 Oct 2009 10:03:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10274) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N397B-0004yl-Ou for qemu-devel@nongnu.org; Wed, 28 Oct 2009 10:03:06 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9SE342j015092 for ; Wed, 28 Oct 2009 10:03:04 -0400 Message-ID: <4AE84F13.8050501@redhat.com> Date: Wed, 28 Oct 2009 15:02:59 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <4AE847A8.2070606@redhat.com> In-Reply-To: <4AE847A8.2070606@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Usage of qemu_error withing shared object List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Naphtali Sprei Cc: qemu-devel@nongnu.org On 10/28/09 14:31, Naphtali Sprei wrote: > Hi, > I've added a call to qemu_error in block.c file, and got a link error on the qemu-utilities: qemu-img, qemu-nbd and qemu-io. > Should there be a stub that implements a qemu_error to be linked with those apps ? Am I missing something ? There was no need yet ... A simple qemu_error() implementation for the tools which writes to stderr unconditionally should do the trick. cheers, Gerd