Error making win32 vm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error making win32 vm

강진오
---------------- 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?


Reply | Threaded
Open this post in threaded view
|

Re: Error making win32 vm

David T. Lewis
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


Reply | Threaded
Open this post in threaded view
|

Re: Error making win32 vm

강진오

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" <[hidden email]>님이 작성:
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




Reply | Threaded
Open this post in threaded view
|

Re: Error making win32 vm

David T. Lewis
I'm sorry, I don't know what the problem is, and I don't have access to
a Windows system to try this right now. I am CCing the vm-dev list in case
someone else can help.

Has anyone recently built an interpreter VM on Windows and encountered
the following problem with VM_VERSION not defined in the build?

Thanks,
Dave

On Sun, Feb 26, 2012 at 05:26:19PM +0900, ?????? wrote:

> 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" <[hidden email]>???? ????:
>
> > 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
> >
> >
> >

>