[M3devel] build problems on Windows 2000

Randy Coleburn rcoleburn at scires.com
Mon Dec 21 10:04:36 CET 2009


I got my hands on a Windows 2000 computer and decided to try and build cm3 on it.
 
I get a build failure on m3-libs\m3core.  Seems I am missing a file "Windows.h"
 
This computer has Windows 2000 Professional SP4 and Microsoft Visual C++ Express 2005 installed.
 
Any ideas where I should get the Windows.h file from?
 
--- processing package "m3-libs\m3core" ---
--- purging derived files from NT386 ---
--- cleaning NT386 ---
ignoring ..\src\m3overrides
--- building in NT386 ---
ignoring ..\src\m3overrides
new source -> compiling RTHooks.i3
new source -> compiling RT0.i3
new source -> compiling RuntimeError.i3
new source -> compiling WordRep.i3
new source -> compiling Word.i3
new source -> compiling RTException.i3
new source -> compiling RTHooks.m3
new source -> compiling RT0.m3
new source -> compiling Compiler.i3
new source -> compiling RuntimeError.m3
new source -> compiling Compiler.m3
new source -> compiling RTAllocator.i3
new source -> compiling RTType.i3
new source -> compiling RTMachine.i3
new source -> compiling RTHeapRep.i3
new source -> compiling FloatMode.i3
new source -> compiling RTThread.i3
new source -> compiling Scheduler.i3
new source -> compiling RTOS.i3
new source -> compiling RTMisc.i3
new source -> compiling Cstdlib.i3
new source -> compiling LongRep.i3
new source -> compiling Long.i3
new source -> compiling BasicCtypes.i3
new source -> compiling Ctypes.i3
new source -> compiling Cstddef.i3
new source -> compiling RTAllocCnts.i3
new source -> compiling RTAllocator.m3
new source -> compiling RTAllocStats.i3
new source -> compiling Convert.i3
new source -> compiling TextClass.i3
new source -> compiling Text.i3
new source -> compiling RTProcedureSRC.i3
new source -> compiling Fingerprint.i3
new source -> compiling RTProcedure.i3
new source -> compiling RTStack.i3
new source -> compiling RTAllocStats.m3
new source -> compiling RTHeap.i3
new source -> compiling TextLiteral.i3
new source -> compiling RTHeap.m3
new source -> compiling RTHeapInfo.i3
new source -> compiling Cstring.i3
new source -> compiling Thread.i3
new source -> compiling RTPerfTool.i3
new source -> compiling RTParams.i3
new source -> compiling RTHeapInfo.m3
new source -> compiling RTHeapMap.i3
new source -> compiling RTIO.i3
new source -> compiling RTTypeMap.i3
new source -> compiling RTMapOp.i3
new source -> compiling RTModule.i3
new source -> compiling RTHeapMap.m3
new source -> compiling RTHeapRep.m3
new source -> compiling RTHeapStats.i3
new source -> compiling RTTypeSRC.i3
new source -> compiling RTCollector.i3
new source -> compiling RTHeapStats.m3
new source -> compiling Time.i3
new source -> compiling RTLinker.i3
new source -> compiling RTProcess.i3
new source -> compiling RTHeapEvent.i3
new source -> compiling RTWeakRef.i3
new source -> compiling RTCollectorSRC.i3
new source -> compiling RTCollector.m3
new source -> compiling RTIO.m3
new source -> compiling RTLinkerX.i3
new source -> compiling RTSignal.i3
new source -> compiling RTDebug.i3
new source -> compiling RTLinker.m3
new source -> compiling RTDebug.m3
new source -> compiling RTError.i3
new source -> compiling RTError.m3
new source -> compiling M3toC.i3
new source -> compiling RTException.m3
new source -> compiling RTMapOp.m3
new source -> compiling RTMisc.m3
new source -> compiling RTPacking.i3
new source -> compiling RTPacking.m3
new source -> compiling RTArgs.i3
new source -> compiling RTParams.m3
new source -> compiling RTProcedure.m3
new source -> compiling RTProcess.m3
new source -> compiling RTTipe.i3
new source -> compiling RTTipe.m3
new source -> compiling RTType.m3
new source -> compiling RTTypeFP.i3
new source -> compiling RTTypeFP.m3
new source -> compiling RTTypeMap.m3
new source -> compiling RTutils.i3
new source -> compiling RTutils.m3
new source -> compiling RTHeapDebug.i3
new source -> compiling WeakRef.i3
new source -> compiling RTHeapDebug.m3
new source -> compiling Cstdint.i3
new source -> compiling WinBaseTypes.i3
new source -> compiling WinNT.i3
new source -> compiling WinBase.i3
new source -> compiling WinDef.i3
new source -> compiling RTArgs.m3
new source -> compiling WinCon.i3
new source -> compiling RTMachInfo.i3
new source -> compiling RTOS.m3
new source -> compiling RTPerfTool.m3
new source -> compiling ThreadContext.i3
new source -> compiling RTSignal.m3
new source -> compiling RTMachInfo.m3
new source -> compiling Csetjmp.i3
new source -> compiling RTExFrame.i3
new source -> compiling RTExFrame.m3
new source -> compiling ThreadF.i3
new source -> compiling ThreadDebug.i3
new source -> compiling MutexRep.i3
new source -> compiling ThreadEvent.i3
new source -> compiling ThreadWin32.i3
new source -> compiling WinGDI.i3
new source -> compiling ThreadWin32.m3
new source -> compiling WinDef.m3
new source -> compiling WinNT.m3
new source -> compiling WinError.i3
new source -> compiling WinGDI.m3
new source -> compiling WinIoctl.i3
new source -> compiling WinIoctl.m3
new source -> compiling WinNetwk.i3
new source -> compiling WinNLS.i3
new source -> compiling WinReg.i3
new source -> compiling WinReg.m3
new source -> compiling WinSock.i3
new source -> compiling WinSock.m3
new source -> compiling WinUser.i3
new source -> compiling WinUser.m3
new source -> compiling WinVer.i3
new source -> compiling WinVer.m3
new source -> compiling NB30.i3
new source -> compiling NB30.m3
new source -> compiling CDErr.i3
new source -> compiling CommDlg.i3
new source -> compiling TlHelp32.i3
new source -> compiling WinMidi.i3
new source -> compiling WinCommCtrl.i3
new source -> compiling WinTabCon.i3
new source -> compiling WinImageList.i3
new source -> compiling WinTabCon.m3
new source -> compiling WinListView.i3
new source -> compiling Text8.i3
new source -> compiling WinListView.m3
new source -> compiling WinImageList.m3
new source -> compiling Unix.i3
new source -> compiling Uuio.i3
new source -> compiling Cerrno.i3
new source -> compiling Text8CString.i3
new source -> compiling M3toC.m3
new source -> compiling Cstdio.i3
new source -> compiling Csignal.i3
new source -> compiling Real.i3
new source -> compiling RealFloat.i3
new source -> compiling LongReal.i3
new source -> compiling LongFloat.i3
new source -> compiling Extended.i3
new source -> compiling ExtendedFloat.i3
new source -> compiling IEEESpecial.i3
new source -> compiling LongRealRep.i3
new source -> compiling RealRep.i3
new source -> compiling IEEESpecial.m3
new source -> compiling Real.m3
new source -> compiling LongReal.m3
new source -> compiling Extended.m3
new source -> compiling DragonInt.i3
new source -> compiling DragonInt.m3
new source -> compiling DragonT.i3
new source -> compiling DragonT.m3
new source -> compiling FPU.i3
new source -> compiling RealFloat.m3
new source -> compiling LongFloat.m3
new source -> compiling ExtendedFloat.m3
new source -> compiling FPU.m3
new source -> compiling FloatMode.m3
new source -> compiling Tick.i3
new source -> compiling Date.i3
new source -> compiling FmtTime.i3
new source -> compiling FmtTime.m3
new source -> compiling TickPortable.m3
new source -> compiling TimeWin32.i3
new source -> compiling Time.m3
new source -> compiling TimeWin32.m3
new source -> compiling DateWin32.m3
new source -> compiling CConvert.i3
new source -> compiling CConvert.m3
new source -> compiling Convert.m3
new source -> compiling String8.i3
new source -> compiling String8.m3
new source -> compiling String16.i3
new source -> compiling String16.m3
new source -> compiling Text16.i3
new source -> compiling Text.m3
new source -> compiling TextClass.m3
new source -> compiling TextLiteral.m3
new source -> compiling Text8Short.i3
new source -> compiling Text8.m3
new source -> compiling Text8Short.m3
new source -> compiling Text8CString.m3
new source -> compiling Text16Short.i3
new source -> compiling Text16.m3
new source -> compiling Text16Short.m3
new source -> compiling TextSub.i3
new source -> compiling TextCat.i3
new source -> compiling TextSub.m3
new source -> compiling TextCat.m3
new source -> compiling TextConv.i3
new source -> compiling TextConv.m3
new source -> compiling Poly.i3
new source -> compiling Fingerprint.m3
new source -> compiling Poly.m3
new source -> compiling PolyBasis.i3
new source -> compiling PolyBasis.m3
new source -> compiling Main.i3
new source -> compiling WeakRef.m3
new source -> compiling Word.m3
new source -> compiling Long.m3
new source -> compiling hand.c
new source -> compiling dtoa.c
new source -> compiling libgcc.c
new source -> compiling RTIOc.c
new source -> compiling RTLinkerC.c
new source -> compiling RTMiscC.c
new source -> compiling RTOSc.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/comm
on -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\runtime\\W
IN32\\RTOSc.c
RTOSc.c
..\\src\\runtime\\WIN32\\RTOSc.c(21) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\runtime\WIN32\RTOSc.c
new source -> compiling RTStackC.c
new source -> compiling ThreadDebug.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/comm
on -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\thread\\Co
mmon\\ThreadDebug.c
ThreadDebug.c
..\\src\\thread\\Common\\ThreadDebug.c(24) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\thread\Common\ThreadDebug.c
new source -> compiling ThreadWin32C.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/comm
on -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\thread\\WI
N32\\ThreadWin32C.c
ThreadWin32C.c
..\\src\\thread\\WIN32\\ThreadWin32C.c(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\thread\WIN32\ThreadWin32C.c
new source -> compiling WinNTc.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/comm
on -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\win32\\WinNTc.c
WinNTc.c
..\\src\\win32\\WinNTc.c(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\win32\WinNTc.c
new source -> compiling WinUserC.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/comm
on -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\win32\\WinUserC.c
WinUserC.c
..\\src\\win32\\WinUserC.c(5) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\win32\WinUserC.c
new source -> compiling CstdlibC.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/comm
on -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\C\\Common\\CstdlibC.c
CstdlibC.c
../src\m3core.h(85) : fatal error C1083: Cannot open include file: 'winsock.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\C\Common\CstdlibC.c
new source -> compiling CerrnoC.c
new source -> compiling CstringC.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/common -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\C\\Common\\CstringC.c
CstringC.c
../src\m3core.h(85) : fatal error C1083: Cannot open include file: 'winsock.h':No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\C\Common\CstringC.c
new source -> compiling CstdioC.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/common -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\C\\Common\\CstdioC.c
CstdioC.c
../src\m3core.h(85) : fatal error C1083: Cannot open include file: 'winsock.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\C\Common\CstdioC.c
new source -> compiling CsignalC.c
cl.exe -nologo -Z7 -DWIN32 -I../src/unix/Common -I../src -I../src/Csupport/Common -I../src/Csupport/little-endian -I../src/Csupport/libgcc -I../src/runtime/common -I../src/runtime/WIN32 -I../src/runtime/ex_frame -I../src/thread/Common -I../src/thread/WIN32 -I../src/win32 -I../src/C/Common -MD -Oi -c ..\\src\\C\\Common\\CsignalC.c
CsignalC.c
../src\m3core.h(85) : fatal error C1083: Cannot open include file: 'winsock.h': No such file or directory
  compile_c => 2
C compiler failed compiling: ..\src\C\Common\CsignalC.c
new exporters -> recompiling RTHooks.i3
new exporters -> recompiling RTAllocCnts.i3
new exporters -> recompiling RTHeapRep.i3
new exporters -> recompiling RTCollectorSRC.i3
new exporters -> recompiling RTWeakRef.i3
new exporters -> recompiling RTException.i3
new exporters -> recompiling RTModule.i3
new exporters -> recompiling RTThread.i3
new exporters -> recompiling RTProcedureSRC.i3
new exporters -> recompiling RTTypeSRC.i3
new exporters -> recompiling RTOS.i3
new exporters -> recompiling Thread.i3
new exporters -> recompiling ThreadF.i3
new exporters -> recompiling Scheduler.i3
new exporters -> recompiling Tick.i3
new exporters -> recompiling Date.i3
new exporters -> recompiling Text.i3
compilation failed => not building library "m3core.lib"
Fatal Error: package build failed

Regards,
Randy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091221/46526cf4/attachment-0002.html>


More information about the M3devel mailing list