From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D1UtI-0004Zc-5e for qemu-devel@nongnu.org; Wed, 16 Feb 2005 14:31:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D1UtC-0004XB-KN for qemu-devel@nongnu.org; Wed, 16 Feb 2005 14:31:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1UtC-0004Vd-3y for qemu-devel@nongnu.org; Wed, 16 Feb 2005 14:31:10 -0500 Received: from [62.2.95.247] (helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D1UZz-0002cy-2h for qemu-devel@nongnu.org; Wed, 16 Feb 2005 14:11:19 -0500 Received: from nbbolle (84-72-197-183.dclient.hispeed.ch [84.72.197.183]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with ESMTP id j1GJBG3T028949 for ; Wed, 16 Feb 2005 20:11:16 +0100 From: "Andreas Bollhalder" Date: Wed, 16 Feb 2005 20:07:45 +0100 Message-ID: <002601c5145a$cc2bc580$6401a8c0@geodb.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Compiling error on "memalign" in MinGW / WIN32 Reply-To: bolle@smile.ch, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org When I compile QEmu in MinGW/MSYS on my WinXP host, I get an error in "osdep.c" on line 371. The reason is, my MinGW/MSYS has no "memalign" function. It seems, that this was introduced with KQEmu. Even with the configure parameter "--disable-kqemu", it ends complaining about that function. I replaced the "return memalign(4096,size);" with "return qemu_malloc(size);" and all went fine. But I don't know if this is right. It works for me. I think, there should be an "#ifdef" for the Win32 platform. Andreas