编译过程中报错:
/android-emulator-20080826/qemu/skins/skin_argb.h:286: error: incompatible
types in assignment
解决办法:
Patch:
--- qemu.orig/Makefile.target 2008-08-29 10:01:41.000000000 +0800
+++ qemu/Makefile.target 2008-08-29 10:01:24.000000000 +0800
@@ -39,7 +39,7 @@ endif
ifeq ($(ARCH),i386)
OP_CFLAGS=$(CFLAGS) -O2 -fomit-frame-pointer
-CFLAGS+=-DUSE_MMX -mmmx
+CFLAGS+=-DUSE_MMX -mmmx -msse2
ifneq ($(CONFIG_DARWIN),yes)
OP_CFLAGS+= -mpreferred-stack-boundary=2
else
--- build-emulator.sh.orig 2008-08-29 10:02:57.000000000 +0800
+++ build-emulator.sh 2008-08-29 10:03:13.000000000 +0800
阅读(1642) | 评论(0) | 转发(0) |