Hi Torsten,

I just followed my own instructions here:

http://book.pharo-project.org/book/Virtual-Machine/Building/BuildVMOnWindows/BuildCogVMOnWindows

But I did NOT try to upgrad cygwin first and I got a successful build with version 2288 checked out.

I'll try from scratch if you like when I get home, but I am on Windows 7 and not Vista...

Rob



On Wed, Sep 8, 2010 at 5:06 PM, Torsten Bergmann <astares@gmx.de> wrote:

When I try to follow the instructions on http://www.squeakvm.org/svn/squeak/branches/Cog/cygwinbuild/HowToBuild

to build a cog VM on WinVista with latest cygwin and latest SVN sources
I get the following error:


bash-3.2$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enabl
e-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash
-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)



bash-3.2$ make
Makefile:327: warning: overriding commands for target `Croquet.res'
Makefile:309: warning: ignoring old commands for target `Croquet.res'
---------------- Makefile settings ------------------
CONFIGURATION=product
VPATH=../src/vm ../platforms/win32/vm ../platforms/Cross/vm
INCLUDES=-I. -I../src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -I../platforms/win32/third-party/dx9sdk/Include
CFLAGS=-isystem/usr/include/mingw -I/usr/include/w32api -msse2 -ggdb2 -mwindows -mthreads -mno-cygwin -mwin32 -mno-rtd -mms-bitfields -mno-accumulate-outgoing-args -D_MT -O2 -march=pentium4 -momit-lea
f-frame-pointer -funroll-loops -D_MT -fno-builtin-printf -fno-builtin-putchar -fno-builtin-fprintf
INTERNAL_PLUGINS=ADPCMCodecPlugin AsynchFilePlugin B3DAcceleratorPlugin B2DPlugin BitBltPlugin BMPReadWriterPlugin CroquetPlugin ZipPlugin DropPlugin DSAPrims FFTPlugin FilePlugin FloatArrayPlugin Flo
atMathPlugin HostWindowPlugin IA32ABI JoystickTabletPlugin JPEGReaderPlugin JPEGReadWriter2Plugin Klatt LargeIntegers LocalePlugin Matrix2x3Plugin MIDIPlugin MiscPrimitivePlugin Mpeg3Plugin RePlugin S
ecurityPlugin SerialPlugin SocketPlugin SoundCodecPrims SoundGenerationPlugin StarSqueakPlugin SurfacePlugin UUIDPlugin
EXTERNAL_PLUGINS=SqueakFFIPrims Win32OSProcessPlugin
LIBS=./build/vm/ADPCMCodecPlugin.lib ./build/vm/AsynchFilePlugin.lib ./build/vm/B3DAcceleratorPlugin.lib ./build/vm/B2DPlugin.lib ./build/vm/BitBltPlugin.lib ./build/vm/BMPReadWriterPlugin.lib ./build
/vm/CroquetPlugin.lib ./build/vm/ZipPlugin.lib ./build/vm/DropPlugin.lib ./build/vm/DSAPrims.lib ./build/vm/FFTPlugin.lib ./build/vm/FilePlugin.lib ./build/vm/FloatArrayPlugin.lib ./build/vm/FloatMath
Plugin.lib ./build/vm/HostWindowPlugin.lib ./build/vm/IA32ABI.lib ./build/vm/JoystickTabletPlugin.lib ./build/vm/JPEGReaderPlugin.lib ./build/vm/JPEGReadWriter2Plugin.lib ./build/vm/Klatt.lib ./build/
vm/LargeIntegers.lib ./build/vm/LocalePlugin.lib ./build/vm/Matrix2x3Plugin.lib ./build/vm/MIDIPlugin.lib ./build/vm/MiscPrimitivePlugin.lib ./build/vm/Mpeg3Plugin.lib ./build/vm/RePlugin.lib ./build/
vm/SecurityPlugin.lib ./build/vm/SerialPlugin.lib ./build/vm/SocketPlugin.lib ./build/vm/SoundCodecPrims.lib ./build/vm/SoundGenerationPlugin.lib ./build/vm/StarSqueakPlugin.lib ./build/vm/SurfacePlug
in.lib ./build/vm/UUIDPlugin.lib
DLLS=./build/vm/SqueakFFIPrims.dll ./build/vm/Win32OSProcessPlugin.dll
-----------------------------------------------------
gcc -o build/vm/sqNamedPrims.o -isystem/usr/include/mingw -I/usr/include/w32api -msse2 -ggdb2 -mwindows -mthreads -mno-cygwin -mwin32 -mno-rtd -mms-bitfields -mno-accumulate-outgoing-args -D_MT -O2 -m
arch=pentium4 -momit-leaf-frame-pointer -funroll-loops -D_MT -fno-builtin-printf -fno-builtin-putchar -fno-builtin-fprintf -I. -I../src/vm -I../platforms/win32/vm -I../platforms/Cross/vm -I../platform
s/win32/third-party/dx9sdk/Include  -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -DWIN32 -DWIN32_FILE_SUPPORT -DNO_ISNAN -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG  -DLSB_FIRST -DVM_NAME=\"Croquet\" -DX86
-DCROQUET -c ../platforms/Cross/vm/sqNamedPrims.c
../platforms/Cross/vm/sqNamedPrims.c: In function `findInternalFunctionIn':
../platforms/Cross/vm/sqNamedPrims.c:129: error: `pluginExports' undeclared (first use in this function)
../platforms/Cross/vm/sqNamedPrims.c:129: error: (Each undeclared identifier is reported only once
../platforms/Cross/vm/sqNamedPrims.c:129: error: for each function it appears in.)
../platforms/Cross/vm/sqNamedPrims.c: In function `ioListBuiltinModule':
../platforms/Cross/vm/sqNamedPrims.c:473: error: `pluginExports' undeclared (first use in this function)
make: *** [build/vm/sqNamedPrims.o] Error 1
--
Achtung Sicherheitswarnung: GMX warnt vor Phishing-Attacken!
http://portal.gmx.net/de/go/sicherheitspaket