とりあえずパッチ。
diff -r ef6478309778 platform/unix/Makefile --- a/platform/unix/Makefile Fri May 11 19:43:01 2007 -0400 +++ b/platform/unix/Makefile Fri Jun 22 19:47:18 2007 +0900 @@ -48,7 +48,7 @@ AVMPLUS_ROOT := ../.. AVMPLUS_ROOT := ../.. ZLIB_ROOT := ../../../../modules/zlib/src -LDFLAGS := -ldl +LDFLAGS := -ldl -lz # avmplus and MMgc make files include makecommon @@ -96,7 +96,7 @@ AVMPLUS_OBJS := $(addsuffix .o,$(basenam AVMPLUS_OBJS := $(addsuffix .o,$(basename ${AVMPLUS_SRCS})) MMGC_OBJS := $(addsuffix .o,$(basename ${MMGC_SRCS})) SHELL_OBJS := $(addsuffix .o,$(basename ${SHELL_SRCS})) -ZLIB_OBJS := $(addsuffix .o,$(basename ${ZLIB_SRCS})) +#ZLIB_OBJS := $(addsuffix .o,$(basename ${ZLIB_SRCS})) ${MMGC_OUTPUT}: ${MMGC_OBJS} ${AR} rcs $@ ${MMGC_OBJS} diff -r ef6478309778 shell/avmshell.cpp --- a/shell/avmshell.cpp Fri May 11 19:43:01 2007 -0400 +++ b/shell/avmshell.cpp Wed Jun 27 00:21:04 2007 +0900 @@ -401,9 +401,9 @@ namespace avmshell file.read(header, 8); // Check the magic number - if (header[0] != 0x56 && - header[1] != 0x34 && - header[2] != 0x12 && + if (header[0] != 0x56 || + header[1] != 0x34 || + header[2] != 0x12 || header[3] != 0xFA) { return false;
テスト終わった。
Tests complete at 2007/06/27 01:07:18 Start Date: 2007/06/27 00:23:23 End Date : 2007/06/27 01:07:18 Test Time : 43 minutes 55 seconds passes : 54742 failures : 23