[squeak-dev] Error making win32 vm

=?EUC-KR?B?sK3B+L/A?= jinoh67 at gmail.com
Sun Feb 26 08:26:19 UTC 2012


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.
2012. 2. 25. ¿ÀÈÄ 11:03¿¡ "David T. Lewis" <lewis at mail.msen.com>´ÔÀÌ ÀÛ¼º:

> On Sat, Feb 25, 2012 at 12:10:31PM +0900, ?????? wrote:
> > ---------------- Makefile settings ------------------
> > VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm
> > ../platforms/win32/misc
> > INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm
> > -Ic:/dx7sdk/include
> > CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops
> > -fschedule-insns2 -O2
> > -----------------------------------------------------
> > mkdir .\obj\vm
> > gawk -f ../platforms/win32/misc/gnuify ./src/vm/interp.c >
> > ./src/vm/gnu-interp.c
> > copying first section of file
> > interpret: adding static register assignments
> > interpret: adding bytecode dispatch table
> > interpret: rewriting case labels and outer breaks
> > gcc -o ./obj/vm/sqWin32Alloc.o -g -mpentium -mwindows
> -fomit-frame-pointer
> > -funroll-loops -fschedule-insns2 -O2 -I. -I./src/vm
> -I../platforms/win32/vm
> > -I../platforms/Cross/vm -Ic:/dx7sdk/include  -DWIN32_FILE_SUPPORT
> > -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG -DLSB_FIRST
> > -DVM_NAME=\"Squeak\" -DVM_VERSIONINFO=\""3.10.6 (release)"\" -DX86
> > -DSQUEAK_BUILTIN_PLUGIN  -c ../platforms/win32/vm/sqWin32Alloc.c
> > In file included from ..\platforms\win32\vm\sqConfig.h:21,
> >                  from ..\platforms\Cross\vm\sq.h:18,
> >                  from ../platforms/win32/vm/sqWin32Alloc.c:14:
> > ..\platforms\win32\vm\sqWin32.h:246: #error "VM_VERSION is undefined"
> > make: *** [sqWin32Alloc.o] Error 1
> > I'm tired about this. What is the problem?
>
> This looks to me like a mismatch between your platforms source
> directory and the generated sources from VMMaker. Can you please
> say specifically what sources you are using? Did you generate
> your own sources with VMMaker and use the latest platform sources
> form Subversion? Or are you compiling from a tarball downloaded
> from squeakvm.org? Is this Cog or an interpreter VM?
>
> Thanks,
> Dave
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120226/99dd4660/attachment.htm


More information about the Squeak-dev mailing list