From patchwork Mon Aug 3 08:38:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30485 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 67A33B708B for ; Mon, 3 Aug 2009 18:41:12 +1000 (EST) Received: from localhost ([127.0.0.1]:56289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXt6S-0001QO-Mk for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 04:41:08 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXt5o-0001QJ-9i for qemu-devel@nongnu.org; Mon, 03 Aug 2009 04:40:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXt5m-0001Q3-AI for qemu-devel@nongnu.org; Mon, 03 Aug 2009 04:40:27 -0400 Received: from [199.232.76.173] (port=45422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXt5m-0001Q0-6C for qemu-devel@nongnu.org; Mon, 03 Aug 2009 04:40:26 -0400 Received: from mx2.redhat.com ([66.187.237.31]:44357) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXt5l-00054c-MG for qemu-devel@nongnu.org; Mon, 03 Aug 2009 04:40:26 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n738eNuV020960; Mon, 3 Aug 2009 04:40:23 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n738eMNO007071; Mon, 3 Aug 2009 04:40:22 -0400 Received: from localhost (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n738eLPF030796; Mon, 3 Aug 2009 04:40:21 -0400 To: "Sebastian Herbszt" In-Reply-To: <19366128266D400E8F6EBFC3B3A62203@FSCPC> (Sebastian Herbszt's message of "Sat\, 1 Aug 2009 17\:54\:37 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) References: <7b74da8ddaa86c684c5d6a2b4743fb52d0383dfa.1248703755.git.quintela@redhat.com> <19366128266D400E8F6EBFC3B3A62203@FSCPC> From: Juan Quintela Date: Mon, 03 Aug 2009 10:38:25 +0200 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org Subject: [Qemu-devel] Re: [PATCH 29/47] Use CONFIG_POSIX to simplify Makefile X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org "Sebastian Herbszt" wrote: > Juan Quintela wrote: Hi Thanks for the report, on my next series, I add this patch that fix the problem: > I think this patch or a related one breaks MinGW/Win32: > > CC posix-aio-compat.o > posix-aio-compat.c:14:23: warning: sys/ioctl.h: No such file or directory > posix-aio-compat.c: In function `handle_aiocb_ioctl': > posix-aio-compat.c:90: warning: implicit declaration of function `ioctl' > posix-aio-compat.c: In function `handle_aiocb_rw_linear': > posix-aio-compat.c:182: warning: implicit declaration of function `pwrite' > posix-aio-compat.c:187: warning: implicit declaration of function `pread' > posix-aio-compat.c: In function `aio_thread': > posix-aio-compat.c:284: warning: implicit declaration of function `sigfillset' > posix-aio-compat.c:285: warning: implicit declaration of function `sigprocmask' > posix-aio-compat.c:332: warning: implicit declaration of function `kill' > posix-aio-compat.c: In function `qemu_paio_submit': > posix-aio-compat.c:367: error: `EINPROGRESS' undeclared (first use in this function) > posix-aio-compat.c:367: error: (Each undeclared identifier is reported only once > posix-aio-compat.c:367: error: for each function it appears in.) > posix-aio-compat.c: In function `qemu_paio_cancel': > posix-aio-compat.c:424: error: `ECANCELED' undeclared (first use in this function) > posix-aio-compat.c:426: error: `EINPROGRESS' undeclared (first use in this function) > make: *** [posix-aio-compat.o] Error 1 > > v0.11.0-rc0-182-g28e738d on gcc version 3.4.5 (mingw32 special) > > - Sebastian From 53e6f57abb0534b5f654dd1b18183c18443ecb5b Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 3 Aug 2009 10:36:09 +0200 Subject: [PATCH] disable aio with mingw32 Signed-off-by: Juan Quintela --- configure | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 58a32a7..a25343a 100755 --- a/configure +++ b/configure @@ -359,6 +359,7 @@ if test "$mingw32" = "yes" ; then EXESUF=".exe" CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $CFLAGS" LIBS="-lwinmm -lws2_32 -liphlpapi $LIBS" + aio=no fi # find source path