[squeak-dev] Error making win32 vm
David T. Lewis
lewis at mail.msen.com
Sat Feb 25 14:03:07 UTC 2012
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
More information about the Squeak-dev
mailing list
|