[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Windows compile errors
From: |
consul |
Subject: |
[Qemu-devel] [PATCH] Windows compile errors |
Date: |
Thu, 15 May 2008 17:04:16 -0700 |
Current svn does not compile under MinGW. The patch below fixes the problem.
Should the musicpal part go to a more generic header?
When running
qemu-system-arm -M n800 -m 130 -kernel c:\test\zImage -mtdblock
c:\test\n800.img -show-cursor -serial vc -serial vc -serial vc -serial
vc -usb -s
I'm getting
omap_l4ta_write: Bad register 0x6800a078
Uncompressing Linux................................................
........................................ done, booting the kernel.
then qemu crashes.
Index: slirp/slirp.h
===================================================================
--- slirp/slirp.h (revision 4462)
+++ slirp/slirp.h (working copy)
@@ -28,6 +28,7 @@
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
typedef char *caddr_t;
+typedef int socklen_t;
#define WIN32_LEAN_AND_MEAN
# include <windows.h>
Index: hw/musicpal.c
===================================================================
--- hw/musicpal.c (revision 4462)
+++ hw/musicpal.c (working copy)
@@ -19,7 +19,9 @@
#include "console.h"
#include "audio/audio.h"
#include "i2c.h"
-
+#ifdef _WIN32
+#define sleep Sleep
+#endif
#define MP_ETH_BASE 0x80008000
#define MP_ETH_SIZE 0x00001000
- [Qemu-devel] [PATCH] Windows compile errors,
consul <=
- Re: [Qemu-devel] [PATCH] Windows compile errors, Johannes Schindelin, 2008/05/15
- [Qemu-devel] Re: [PATCH] Windows compile errors, Alex, 2008/05/16
- Re: [Qemu-devel] Re: [PATCH] Windows compile errors, Johannes Schindelin, 2008/05/16
- [Qemu-devel] Re: Re: [PATCH] Windows compile errors, consul, 2008/05/16
- Re: [Qemu-devel] Re: Re: [PATCH] Windows compile errors, andrzej zaborowski, 2008/05/16
- [Qemu-devel] Re: [PATCH] Windows compile errors, Jan Kiszka, 2008/05/16
- [Qemu-devel] Re: [PATCH] Windows compile errors, Alex, 2008/05/16
- [Qemu-devel] Re: [PATCH] Windows compile errors, Jan Kiszka, 2008/05/17
- Re: [Qemu-devel] Re: [PATCH] Windows compile errors, Eduardo Felipe, 2008/05/16
Re: [Qemu-devel] [PATCH] Windows compile errors, Erik de Castro Lopo, 2008/05/15