qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Bollhalder" <bolle@smile.ch>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Compiling error on "memalign" in MinGW / WIN32
Date: Wed, 16 Feb 2005 20:07:45 +0100	[thread overview]
Message-ID: <002601c5145a$cc2bc580$6401a8c0@geodb.org> (raw)

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

                 reply	other threads:[~2005-02-16 19:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002601c5145a$cc2bc580$6401a8c0@geodb.org' \
    --to=bolle@smile.ch \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).