[squeak-dev] Problems building the VM

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

[squeak-dev] Problems building the VM

hernanmd
Hello, I've followed the steps described here :
http://wiki.squeak.org/squeak/6102 for compiling the VM, but it seems
there's something wrong in my procedure or the page needs some review:

C:\>cd C:\SqZ3950\platforms\win32\build\

C:\SqZ3950\platforms\win32\build>make
Makefile:44: src/plugins.ext: No such file or directory
Makefile:45: src/plugins.int: No such file or directory
make: *** No rule to make target `src/plugins.int'.  Stop.

C:\SqZ3950\platforms\win32\build>cd ..
C:\SqZ3950\platforms\win32>build
C:\SqZ3950\platforms\win32>make -f Makefile.mingw32
Makefile.mingw32:6: plugins/plugins.int: No such file or directory
make: *** No rule to make target `plugins/plugins.int'.  Stop.

Then I saw two pairs of them: plugins.int/plugins.ext
C:\SqZ3950\winbuild\src\    (not modified)
C:\SqZ3950\src32\             (modified but plugins.int list is empty
: INTERNAL_PLUGINS = )

I've copied both modified files to
C:\SqZ3950\platforms\win32\plugins\

and started the dancing again ('make' fails like above) with the build.bat:

C:\SqZ3950\platforms\win32>make -f Makefile.mingw32
gcc -o ./release/sqWin32Alloc.o -g -mpentium -mwindows -Werror-implicit-function
-declaration -fomit-frame-pointer -funroll-loops -fschedule-insns2 -O2 -I. -I. -
I./vm -Ic:/dx7sdk/include  -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FILE_SUPPO
RT -DNDEBUG -DLSB_FIRST -DVM_NAME=\"Croquet\" -DX86 -DSQUEAK_BUILTIN_PLUGIN -DCR
OQUET -c ./vm/sqWin32Alloc.c
./vm/sqWin32Alloc.c:14: sq.h: No such file or directory
make: *** [sqWin32Alloc.o] Error 1

I'm using the latest WMMaker from SqueakSource and Squeak 3.11.2
(alpha) Mar 27 2009. BTW I'm not building the Croquet VM :)

Any help would be appreciated.

Hernán

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Problems building the VM

Andreas.Raab
Not knowing what exactly you're trying to do, here is some general advice:
1. Download and extract
    http://squeakvm.org/win32/release/SqueakVM-Win32-3.11.2-src.zip
2. cd into the winbuild directory
3. Type "make" and see if this produces a correct VM.

If it does, you know you are good for the next steps whatever they might
be. You will probably read up some more on VMMaker which produces these
plugins.[int|ext] files.

Cheers,
   - Andreas

Hernán Morales Durand wrote:

> Hello, I've followed the steps described here :
> http://wiki.squeak.org/squeak/6102 for compiling the VM, but it seems
> there's something wrong in my procedure or the page needs some review:
>
> C:\>cd C:\SqZ3950\platforms\win32\build\
>
> C:\SqZ3950\platforms\win32\build>make
> Makefile:44: src/plugins.ext: No such file or directory
> Makefile:45: src/plugins.int: No such file or directory
> make: *** No rule to make target `src/plugins.int'.  Stop.
>
> C:\SqZ3950\platforms\win32\build>cd ..
> C:\SqZ3950\platforms\win32>build
> C:\SqZ3950\platforms\win32>make -f Makefile.mingw32
> Makefile.mingw32:6: plugins/plugins.int: No such file or directory
> make: *** No rule to make target `plugins/plugins.int'.  Stop.
>
> Then I saw two pairs of them: plugins.int/plugins.ext
> C:\SqZ3950\winbuild\src\    (not modified)
> C:\SqZ3950\src32\             (modified but plugins.int list is empty
> : INTERNAL_PLUGINS = )
>
> I've copied both modified files to
> C:\SqZ3950\platforms\win32\plugins\
>
> and started the dancing again ('make' fails like above) with the build.bat:
>
> C:\SqZ3950\platforms\win32>make -f Makefile.mingw32
> gcc -o ./release/sqWin32Alloc.o -g -mpentium -mwindows -Werror-implicit-function
> -declaration -fomit-frame-pointer -funroll-loops -fschedule-insns2 -O2 -I. -I. -
> I./vm -Ic:/dx7sdk/include  -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FILE_SUPPO
> RT -DNDEBUG -DLSB_FIRST -DVM_NAME=\"Croquet\" -DX86 -DSQUEAK_BUILTIN_PLUGIN -DCR
> OQUET -c ./vm/sqWin32Alloc.c
> ./vm/sqWin32Alloc.c:14: sq.h: No such file or directory
> make: *** [sqWin32Alloc.o] Error 1
>
> I'm using the latest WMMaker from SqueakSource and Squeak 3.11.2
> (alpha) Mar 27 2009. BTW I'm not building the Croquet VM :)
>
> Any help would be appreciated.
>
> Hernán
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Problems building the VM

hernanmd
Andreas,
   It worked fine, I forgot to mention, what I really want is to know
how to debug the FFIPlugin, not a particular problem with FFI at all,
but just want to see how things work. It is possible to use gdb?
What's the best approach?
Cheers

Hernán

2009/3/30 Andreas Raab <[hidden email]>:

> Not knowing what exactly you're trying to do, here is some general advice:
> 1. Download and extract
>   http://squeakvm.org/win32/release/SqueakVM-Win32-3.11.2-src.zip
> 2. cd into the winbuild directory
> 3. Type "make" and see if this produces a correct VM.
>
> If it does, you know you are good for the next steps whatever they might be.
> You will probably read up some more on VMMaker which produces these
> plugins.[int|ext] files.
>
> Cheers,
>  - Andreas
>
> Hernán Morales Durand wrote:
>>
>> Hello, I've followed the steps described here :
>> http://wiki.squeak.org/squeak/6102 for compiling the VM, but it seems
>> there's something wrong in my procedure or the page needs some review:
>>
>> C:\>cd C:\SqZ3950\platforms\win32\build\
>>
>> C:\SqZ3950\platforms\win32\build>make
>> Makefile:44: src/plugins.ext: No such file or directory
>> Makefile:45: src/plugins.int: No such file or directory
>> make: *** No rule to make target `src/plugins.int'.  Stop.
>>
>> C:\SqZ3950\platforms\win32\build>cd ..
>> C:\SqZ3950\platforms\win32>build
>> C:\SqZ3950\platforms\win32>make -f Makefile.mingw32
>> Makefile.mingw32:6: plugins/plugins.int: No such file or directory
>> make: *** No rule to make target `plugins/plugins.int'.  Stop.
>>
>> Then I saw two pairs of them: plugins.int/plugins.ext
>> C:\SqZ3950\winbuild\src\    (not modified)
>> C:\SqZ3950\src32\             (modified but plugins.int list is empty
>> : INTERNAL_PLUGINS = )
>>
>> I've copied both modified files to
>> C:\SqZ3950\platforms\win32\plugins\
>>
>> and started the dancing again ('make' fails like above) with the
>> build.bat:
>>
>> C:\SqZ3950\platforms\win32>make -f Makefile.mingw32
>> gcc -o ./release/sqWin32Alloc.o -g -mpentium -mwindows
>> -Werror-implicit-function
>> -declaration -fomit-frame-pointer -funroll-loops -fschedule-insns2 -O2 -I.
>> -I. -
>> I./vm -Ic:/dx7sdk/include  -DWIN32_FILE_SUPPORT -DNO_SERVICE
>> -DNO_STD_FILE_SUPPO
>> RT -DNDEBUG -DLSB_FIRST -DVM_NAME=\"Croquet\" -DX86
>> -DSQUEAK_BUILTIN_PLUGIN -DCR
>> OQUET -c ./vm/sqWin32Alloc.c
>> ./vm/sqWin32Alloc.c:14: sq.h: No such file or directory
>> make: *** [sqWin32Alloc.o] Error 1
>>
>> I'm using the latest WMMaker from SqueakSource and Squeak 3.11.2
>> (alpha) Mar 27 2009. BTW I'm not building the Croquet VM :)
>>
>> Any help would be appreciated.
>>
>> Hernán
>>
>>
>
>
>