From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34860 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAHew-0004NN-1I for qemu-devel@nongnu.org; Mon, 25 Oct 2010 03:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAHeu-00078V-Ms for qemu-devel@nongnu.org; Mon, 25 Oct 2010 03:39:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAHeu-00078G-GX for qemu-devel@nongnu.org; Mon, 25 Oct 2010 03:39:56 -0400 Message-ID: <4CC53447.1070200@redhat.com> Date: Mon, 25 Oct 2010 09:39:51 +0200 From: Jes Sorensen MIME-Version: 1.0 References: <1287389754-985-1-git-send-email-Jes.Sorensen@redhat.com> <1287389754-985-6-git-send-email-Jes.Sorensen@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 5/9] Move qemu_gettimeofday() to OS specific files List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: pbonzini@redhat.com, qemu-devel@nongnu.org On 10/23/10 16:42, Blue Swirl wrote: > On Mon, Oct 18, 2010 at 8:15 AM, wrote: >> From: Jes Sorensen >> >> Signed-off-by: Jes Sorensen > > Almost there: > CC m68k-linux-user/m68k-semi.o > /src/qemu/m68k-semi.c: In function 'do_m68k_semihosting': > /src/qemu/m68k-semi.c:328: error: 'qemu_timeval' undeclared (first use > in this function) > /src/qemu/m68k-semi.c:328: error: (Each undeclared identifier is > reported only once > /src/qemu/m68k-semi.c:328: error: for each function it appears in.) > /src/qemu/m68k-semi.c:328: error: expected ';' before 'tv' > cc1: warnings being treated as errors > /src/qemu/m68k-semi.c:330: error: implicit declaration of function > 'qemu_gettimeofday' > /src/qemu/m68k-semi.c:330: error: nested extern declaration of > 'qemu_gettimeofday' > /src/qemu/m68k-semi.c:330: error: 'tv' undeclared (first use in this function) How are you configuring your build? m68k-semi.c builds fine for me here with these patches applied: CC m68k-softmmu/mcf_fec.o CC m68k-softmmu/m68k-semi.o CC m68k-softmmu/dummy_m68k.o LINK m68k-softmmu/qemu-system-m68k This is for target m68k-softmmu, are you using a different target? Thanks, Jes