<p>I correctedd the VM platform path by editing MakeFile. I generated sources by latest VMMaker and latest platform files. And I ' m building interpreter VM first.</p>
<div class="gmail_quote">2012. 2. 25. ¿ÀÈÄ 11:03¿¡ "David T. Lewis" <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>>´ÔÀÌ ÀÛ¼º:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, Feb 25, 2012 at 12:10:31PM +0900, ?????? wrote:<br>
> ---------------- Makefile settings ------------------<br>
> VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm<br>
> ../platforms/win32/misc<br>
> INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm<br>
> -Ic:/dx7sdk/include<br>
> CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops<br>
> -fschedule-insns2 -O2<br>
> -----------------------------------------------------<br>
> mkdir .\obj\vm<br>
> gawk -f ../platforms/win32/misc/gnuify ./src/vm/interp.c ><br>
> ./src/vm/gnu-interp.c<br>
> copying first section of file<br>
> interpret: adding static register assignments<br>
> interpret: adding bytecode dispatch table<br>
> interpret: rewriting case labels and outer breaks<br>
> gcc -o ./obj/vm/sqWin32Alloc.o -g -mpentium -mwindows -fomit-frame-pointer<br>
> -funroll-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm<br>
> -I../platforms/Cross/vm -Ic:/dx7sdk/include -DWIN32_FILE_SUPPORT<br>
> -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG -DLSB_FIRST<br>
> -DVM_NAME=\"Squeak\" -DVM_VERSIONINFO=\""3.10.6 (release)"\" -DX86<br>
> -DSQUEAK_BUILTIN_PLUGIN -c ../platforms/win32/vm/sqWin32Alloc.c<br>
> In file included from ..\platforms\win32\vm\sqConfig.h:21,<br>
> from ..\platforms\Cross\vm\sq.h:18,<br>
> from ../platforms/win32/vm/sqWin32Alloc.c:14:<br>
> ..\platforms\win32\vm\sqWin32.h:246: #error "VM_VERSION is undefined"<br>
> make: *** [sqWin32Alloc.o] Error 1<br>
> I'm tired about this. What is the problem?<br>
<br>
This looks to me like a mismatch between your platforms source<br>
directory and the generated sources from VMMaker. Can you please<br>
say specifically what sources you are using? Did you generate<br>
your own sources with VMMaker and use the latest platform sources<br>
form Subversion? Or are you compiling from a tarball downloaded<br>
from <a href="http://squeakvm.org" target="_blank">squeakvm.org</a>? Is this Cog or an interpreter VM?<br>
<br>
Thanks,<br>
Dave<br>
<br>
<br>
</blockquote></div>