I am having problems with the DESPlugin in Cog. I am now trying to test in Squeak 4.0.2. Loaded latest VMMaker, installed Tools, downloaded and unzipped VM source, generated source files from VMMaker, including the security plugins, typed make (see output at the bottom of this email).
Error: gcc: gnu-interp.c: No such file or directory
It is in .\src\vm, not winbuild.
I do have the added complexity of having 2 make programs, one from gnutools/bin and the other from cygwin. Not sure which is running, but here is the version output:
C:\Squeak 4.1\vm-src\winbuild>make -version GNU Make version 3.77, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
Here's my output from make: ---------------- Makefile settings ------------------ VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm ../platforms/win32/mi sc INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -Ic:/dx7 sdk/include CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops -fschedule-ins ns2 -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/gnu-interp.o -g -mpentium -mwindows -fomit-frame-pointer -funrol l-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm -I../platfo rms/Cross/vm -Ic:/dx7sdk/include -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FIL E_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=""MySqueak"" -DVM_VERSION=""4.0.2.1\ "" -DX86 -DSQUEAK_BUILTIN_PLUGIN -c gnu-interp.c gcc: gnu-interp.c: No such file or directory gcc: No input files make: *** [gnu-interp.o] Error 1
On Sat, 24 Jul 2010, Rob Withers wrote:
I am having problems with the DESPlugin in Cog. I am now trying to test in
How did you build the plugin with Cog?
Levente
Squeak 4.0.2. Loaded latest VMMaker, installed Tools, downloaded and unzipped VM source, generated source files from VMMaker, including the security plugins, typed make (see output at the bottom of this email).
Error: gcc: gnu-interp.c: No such file or directory
It is in .\src\vm, not winbuild.
I do have the added complexity of having 2 make programs, one from gnutools/bin and the other from cygwin. Not sure which is running, but here is the version output:
C:\Squeak 4.1\vm-src\winbuild>make -version GNU Make version 3.77, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
Here's my output from make: ---------------- Makefile settings ------------------ VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm ../platforms/win32/mi sc INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -Ic:/dx7 sdk/include CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops -fschedule-ins ns2 -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/gnu-interp.o -g -mpentium -mwindows -fomit-frame-pointer -funrol l-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm -I../platfo rms/Cross/vm -Ic:/dx7sdk/include -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FIL E_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=""MySqueak"" -DVM_VERSION=""4.0.2.1\ "" -DX86 -DSQUEAK_BUILTIN_PLUGIN -c gnu-interp.c gcc: gnu-interp.c: No such file or directory gcc: No input files make: *** [gnu-interp.o] Error 1
-------------------------------------------------- From: "Levente Uzonyi" leves@elte.hu Sent: Saturday, July 24, 2010 6:30 AM To: "Squeak Virtual Machine Development Discussion" vm-dev@lists.squeakfoundation.org Subject: Re: [Vm-dev] Building the VM on windows
On Sat, 24 Jul 2010, Rob Withers wrote:
I am having problems with the DESPlugin in Cog. I am now trying to test in
How did you build the plugin with Cog?
I built under Cygwin, for Windows. I also built under linux, but I haven't figured out the headless script to run testcases yet.
Under Cygwin, I svn the latest platforms, source, and cygwinbuild directories. I start a cog image and update the Collections, Kernal, System and VMMaker to the latest for Cog (VMMaker to oscog.25). I load Cryptography and the latest CryptographyPlugins packages through Montecello (CryptographyPlugins to rww.4). I generate the sources using Eliot's script. I edit the squeak.int and squeak.ext and move the following to squeak.ext:
DESPlugin \ DSAPrims \ MD5Plugin \ SHA256Plugin \
I run make. I take the resulting plugins for Crypto and drop them in my Cog directory.
HTH, Rob
Levente
Squeak 4.0.2. Loaded latest VMMaker, installed Tools, downloaded and unzipped VM source, generated source files from VMMaker, including the security plugins, typed make (see output at the bottom of this email).
Error: gcc: gnu-interp.c: No such file or directory
It is in .\src\vm, not winbuild.
I do have the added complexity of having 2 make programs, one from gnutools/bin and the other from cygwin. Not sure which is running, but here is the version output:
C:\Squeak 4.1\vm-src\winbuild>make -version GNU Make version 3.77, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
Here's my output from make: ---------------- Makefile settings ------------------ VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm ../platforms/win32/mi sc INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -Ic:/dx7 sdk/include CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops -fschedule-ins ns2 -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/gnu-interp.o -g -mpentium -mwindows -fomit-frame-pointer -funrol l-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm -I../platfo rms/Cross/vm -Ic:/dx7sdk/include -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FIL E_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=""MySqueak"" -DVM_VERSION=""4.0.2.1\ "" -DX86 -DSQUEAK_BUILTIN_PLUGIN -c gnu-interp.c gcc: gnu-interp.c: No such file or directory gcc: No input files make: *** [gnu-interp.o] Error 1
Andreas,
Do you have an idea of what I may be doing wrong? What's causing this problem?
Thanks, Rob
-------------------------------------------------- From: "Rob Withers" reefedjib@yahoo.com Sent: Saturday, July 24, 2010 2:28 AM To: "Squeak VM Dev" vm-dev@lists.squeakfoundation.org Subject: [Vm-dev] Building the VM on windows
I am having problems with the DESPlugin in Cog. I am now trying to test in Squeak 4.0.2. Loaded latest VMMaker, installed Tools, downloaded and unzipped VM source, generated source files from VMMaker, including the security plugins, typed make (see output at the bottom of this email).
Error: gcc: gnu-interp.c: No such file or directory
It is in .\src\vm, not winbuild.
I do have the added complexity of having 2 make programs, one from gnutools/bin and the other from cygwin. Not sure which is running, but here is the version output:
C:\Squeak 4.1\vm-src\winbuild>make -version GNU Make version 3.77, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
Here's my output from make: ---------------- Makefile settings ------------------ VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm ../platforms/win32/mi sc INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -Ic:/dx7 sdk/include CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops -fschedule-ins ns2 -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/gnu-interp.o -g -mpentium -mwindows -fomit-frame-pointer -funrol l-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm -I../platfo rms/Cross/vm -Ic:/dx7sdk/include -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FIL E_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=""MySqueak"" -DVM_VERSION=""4.0.2.1\ "" -DX86 -DSQUEAK_BUILTIN_PLUGIN -c gnu-interp.c gcc: gnu-interp.c: No such file or directory gcc: No input files make: *** [gnu-interp.o] Error 1
On 7/24/2010 4:25 PM, Rob Withers wrote:
Andreas,
Do you have an idea of what I may be doing wrong? What's causing this problem?
It looks like it's outputting interp.c into the wrong place. So I think you need to set the path to the generated sources in VMMaker correctly.
Cheers, - Andreas
From: "Rob Withers" reefedjib@yahoo.com Sent: Saturday, July 24, 2010 2:28 AM To: "Squeak VM Dev" vm-dev@lists.squeakfoundation.org Subject: [Vm-dev] Building the VM on windows
I am having problems with the DESPlugin in Cog. I am now trying to test in Squeak 4.0.2. Loaded latest VMMaker, installed Tools, downloaded and unzipped VM source, generated source files from VMMaker, including the security plugins, typed make (see output at the bottom of this email).
Error: gcc: gnu-interp.c: No such file or directory
It is in .\src\vm, not winbuild.
I do have the added complexity of having 2 make programs, one from gnutools/bin and the other from cygwin. Not sure which is running, but here is the version output:
C:\Squeak 4.1\vm-src\winbuild>make -version GNU Make version 3.77, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
Here's my output from make: ---------------- Makefile settings ------------------ VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm ../platforms/win32/mi sc INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -Ic:/dx7 sdk/include CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops -fschedule-ins ns2 -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/gnu-interp.o -g -mpentium -mwindows -fomit-frame-pointer -funrol l-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm -I../platfo rms/Cross/vm -Ic:/dx7sdk/include -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FIL E_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=""MySqueak"" -DVM_VERSION=""4.0.2.1\ "" -DX86 -DSQUEAK_BUILTIN_PLUGIN -c gnu-interp.c gcc: gnu-interp.c: No such file or directory gcc: No input files make: *** [gnu-interp.o] Error 1
-------------------------------------------------- From: "Andreas Raab" andreas.raab@gmx.de Sent: Sunday, July 25, 2010 11:31 PM To: "Squeak Virtual Machine Development Discussion" vm-dev@lists.squeakfoundation.org Subject: Re: Windows: MINGW build problem (was Re: [Vm-dev] Building the VMon windows)
On 7/24/2010 4:25 PM, Rob Withers wrote:
Andreas,
Do you have an idea of what I may be doing wrong? What's causing this problem?
It looks like it's outputting interp.c into the wrong place. So I think you need to set the path to the generated sources in VMMaker correctly.
I regenerated the sources and this worked this time. Thanks!
I am now getting this error:
gcc -o ../.././obj/Win32OSProcessPlugin/Win32OSProcessPlugin.o -g -mpentium -mwi ndows -fomit-frame-pointer -funroll-loops -fschedule-insns2 -O2 -I. -Ic:/dx7sdk/ include -I../.././src/vm -I../../../platforms/Win32/vm -I../../../platforms/Cros s/vm -I../.././src/Win32OSProcessPlugin -I../../../platforms/Win32/plugins/Win32 OSProcessPlugin -I../../../platforms/Cross/plugins/Win32OSProcessPlugin -DWIN32_ FILE_SUPPORT -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=" "Squeak"" -DVM_VERSION=""4.0.2.1"" -DX86 -c ../.././src/Win32OSProcessPlug in/Win32OSProcessPlugin.c ../.././src/Win32OSProcessPlugin/Win32OSProcessPlugin.c:39: FilePlugin.h: No suc h file or directory ../.././src/Win32OSProcessPlugin/Win32OSProcessPlugin.c:40: SocketPlugin.h: No s uch file or directory make[1]: *** [Win32OSProcessPlugin.o] Error 1
Cheers,
- Andreas
From: "Rob Withers" reefedjib@yahoo.com Sent: Saturday, July 24, 2010 2:28 AM To: "Squeak VM Dev" vm-dev@lists.squeakfoundation.org Subject: [Vm-dev] Building the VM on windows
I am having problems with the DESPlugin in Cog. I am now trying to test in Squeak 4.0.2. Loaded latest VMMaker, installed Tools, downloaded and unzipped VM source, generated source files from VMMaker, including the security plugins, typed make (see output at the bottom of this email).
Error: gcc: gnu-interp.c: No such file or directory
It is in .\src\vm, not winbuild.
I do have the added complexity of having 2 make programs, one from gnutools/bin and the other from cygwin. Not sure which is running, but here is the version output:
C:\Squeak 4.1\vm-src\winbuild>make -version GNU Make version 3.77, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
Here's my output from make: ---------------- Makefile settings ------------------ VPATH=./src/vm ../platforms/win32/vm ../platforms/Cross/vm ../platforms/win32/mi sc INCLUDES=-I. -I./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -Ic:/dx7 sdk/include CFLAGS=-g -mpentium -mwindows -fomit-frame-pointer -funroll-loops -fschedule-ins ns2 -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/gnu-interp.o -g -mpentium -mwindows -fomit-frame-pointer -funrol l-loops -fschedule-insns2 -O2 -I. -I./src/vm -I../platforms/win32/vm -I../platfo rms/Cross/vm -Ic:/dx7sdk/include -DWIN32_FILE_SUPPORT -DNO_SERVICE -DNO_STD_FIL E_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=""MySqueak"" -DVM_VERSION=""4.0.2.1\ "" -DX86 -DSQUEAK_BUILTIN_PLUGIN -c gnu-interp.c gcc: gnu-interp.c: No such file or directory gcc: No input files make: *** [gnu-interp.o] Error 1
vm-dev@lists.squeakfoundation.org