* [Qemu-devel] Compiling error on "memalign" in MinGW / WIN32
@ 2005-02-16 19:07 Andreas Bollhalder
0 siblings, 0 replies; only message in thread
From: Andreas Bollhalder @ 2005-02-16 19:07 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-16 19:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-16 19:07 [Qemu-devel] Compiling error on "memalign" in MinGW / WIN32 Andreas Bollhalder
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).