Struggling to build ReactOS (63183) on Windows XP

All development related issues welcome

Moderator: Moderator Team

middings
Posts: 1028
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Struggling to build ReactOS (63183) on Windows XP

Post by middings »

Building ReactOS isn't working for me. (I fear it is an IQ test and my score is zero. :( ) Near the end of the /configure step the output of ReactOS Build Environment 2.1.1 (RosBE) includes this message:

-- Configuring incomplete, errors occurred!

My computer is a 10-year old HP a350n with 1GB RAM and a hyperthreaded Pentium 4 running Windows XP Home Edition. PowerShell v2.0 is installed.

Please, can anyone help me? I will appreciate the assistance. Here is what I have tried so far:

First I tried the official way as described on the Build Environment page.
https://www.reactos.org/development/build-environment

Using the link marked Windows, I downloaded RosBE-2.1.1 from SourceForge to my computer. I launched RosBE-2.1.1.exe to start its Setup. I installed RosBE in a newly created directory on my computer, c:\RosBE. (I've tried to build ReactOS with and without adding the RosBE PS - PostInstall.reg to my registry. Whether or not I add it, the build process fails the same way.)

I want to build ReactOS using the MinGW toolchain, so I started ReactOS Build Environment by clicking its shortcut that was installed in the All Programs menu (available from Window's Start button) during the RosBE Setup. I created a directory c:\sources\reactos and used ssvn create to load build 63183. (I started trying to build ReactOS about 100 builds ago. The build process has failed in the same way with every build I've tried.)

“The following instructions all assume a separate build directory has been created and is the build environment terminal's current working directory. For the commandline build, execute:

pathtocheckout/configure

That's literally what I entered. (I had already tried a bunch of other ways that didn't work so I was ready to wonder "What do I know?" and just follow the instructions exactly. This is what I got:

C:\rosbuild>pathtocheckout/configure
'pathtocheckout' is not recognized as an internal or external command,
operable program or batch file.

C:\rosbuild>


I suppose the author of those instructions meant to write:

{pathtocheckout}/configure

Maybe I had that one thing correct in all my earlier attempts. My {pathtocheckout} is "C:\rosbuild>c:\sources\reactos" so I tried again by entering:

C:\rosbuild>c:\sources\reactos/configure

Here's the results I got on-screen:

Code: Select all

C:\rosbuild>c:\sources\reactos/configure
Detected RosBE for i386
Preparing host tools...
CMake Error at include/reactos/version.cmake:4 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:5 (LIST):
  list GET given empty list
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:6 (string):
  string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


-- Found Subversion: C:/RosBE/Bin/svn.exe (found version "1.8.5")
-- Configuring incomplete, errors occurred!
See also "C:/rosbuild/host-tools/CMakeFiles/CMakeOutput.log".
Preparing reactos...
CMake Error at include/reactos/version.cmake:4 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:5 (LIST):
  list GET given empty list
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:6 (string):
  string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


-- Found Subversion: C:/RosBE/Bin/svn.exe (found version "1.8.5")
-- Selected localization: all
-- fusion has no base address
-- unicows has no base address
-- Configuring incomplete, errors occurred!
See also "C:/rosbuild/reactos/CMakeFiles/CMakeOutput.log".
Configure script complete! Enter directories and execute appropriate build comma
nds (ex: ninja, make, nmake, etc...).

C:\rosbuild>
I counted 6 different lines beginning with "CMake Error". Are they the errors the line

-- Configuring incomplete, errors occurred!

near the end of the /configure script refers to?

Also, here is the log from C:/rosbuild/reactos/CMakeFiles/CMakeOutput.log:

Code: Select all

The target system is: Windows -  - i686
The host system is: Windows - 5.1 - x86
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: C:/RosBE/i386/bin/gcc.exe 
Build flags: 
Id flags: 

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"

The C compiler identification is GNU, found in "C:/rosbuild/reactos/CMakeFiles/2.8.12.1-ReactOS/CompilerIdC/a.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: C:/RosBE/i386/bin/g++.exe 
Build flags: 
Id flags: 

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe"

The CXX compiler identification is GNU, found in "C:/rosbuild/reactos/CMakeFiles/2.8.12.1-ReactOS/CompilerIdCXX/a.exe"

Determining if the C compiler works passed with the following output:
Change Dir: C:/rosbuild/reactos/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec234028339
[1/2] Building C object CMakeFiles/cmTryCompileExec234028339.dir/testCCompiler.c.obj

[2/2] Linking C executable cmTryCompileExec234028339.exe



Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/rosbuild/reactos/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec2950587951
[1/2] Building C object CMakeFiles/cmTryCompileExec2950587951.dir/CMakeCCompilerABI.c.obj

[2/2] Linking C executable cmTryCompileExec2950587951.exe

Using built-in specs.


COLLECT_GCC=C:\RosBE\i386\bin\gcc.exe


COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe


Target: i686-w64-mingw32


Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared


Thread model: win32


gcc version 4.7.2 (RosBE-Windows) 


COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../libexec/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/


LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../lib/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../


COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2950587951.exe' '-mtune=generic' '-march=pentiumpro'


 c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec2950587951.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec2950587951.dir/CMakeCCompilerABI.c.obj --out-implib libcmTryCompileExec2950587951.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o




Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld\.exe|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: C:/rosbuild/reactos/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec2950587951]
  ignore line: [[1/2] Building C object CMakeFiles/cmTryCompileExec2950587951.dir/CMakeCCompilerABI.c.obj]
  ignore line: [[2/2] Linking C executable cmTryCompileExec2950587951.exe]
  ignore line: [Using built-in specs.
]
  ignore line: [COLLECT_GCC=C:\RosBE\i386\bin\gcc.exe
]
  ignore line: [COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe
]
  ignore line: [Target: i686-w64-mingw32
]
  ignore line: [Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared
]
  ignore line: [Thread model: win32
]
  ignore line: [gcc version 4.7.2 (RosBE-Windows) 
]
  ignore line: [COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../libexec/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/
]
  ignore line: [LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../
]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2950587951.exe' '-mtune=generic' '-march=pentiumpro'
]
  link line: [ c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec2950587951.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec2950587951.dir/CMakeCCompilerABI.c.obj --out-implib libcmTryCompileExec2950587951.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o
]
    arg [c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe] ==> ignore
    arg [--sysroot=/tmp/gcc472/build/root] ==> ignore
    arg [-m] ==> ignore
    arg [i386pe] ==> ignore
    arg [-Bdynamic] ==> ignore
    arg [-o] ==> ignore
    arg [cmTryCompileExec2950587951.exe] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o] ==> ignore
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc] ==> dir [c:/rosbe/i386/bin/../lib/gcc]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..]
    arg [CMakeFiles/cmTryCompileExec2950587951.dir/CMakeCCompilerABI.c.obj] ==> ignore
    arg [--out-implib] ==> ignore
    arg [libcmTryCompileExec2950587951.dll.a] ==> ignore
    arg [--major-image-version] ==> ignore
    arg [0] ==> ignore
    arg [--minor-image-version] ==> ignore
    arg [0] ==> ignore
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [-ladvapi32] ==> lib [advapi32]
    arg [-lshell32] ==> lib [shell32]
    arg [-luser32] ==> lib [user32]
    arg [-lkernel32] ==> lib [kernel32]
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o] ==> ignore
  remove lib [gcc]
  remove lib [gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc] ==> [c:/RosBE/i386/lib/gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> [c:/RosBE/i386/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> [c:/RosBE/i386/lib]
  implicit libs: [mingw32;moldname;mingwex;msvcrt;advapi32;shell32;user32;kernel32;mingw32;moldname;mingwex;msvcrt]
  implicit dirs: [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2;c:/RosBE/i386/lib/gcc;c:/RosBE/i386/i686-w64-mingw32/lib;c:/RosBE/i386/lib]
  implicit fwks: []


Determining if the CXX compiler works passed with the following output:
Change Dir: C:/rosbuild/reactos/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec874819144
[1/2] Building CXX object CMakeFiles/cmTryCompileExec874819144.dir/testCXXCompiler.cxx.obj

[2/2] Linking CXX executable cmTryCompileExec874819144.exe



Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/rosbuild/reactos/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec2654252883
[1/2] Building CXX object CMakeFiles/cmTryCompileExec2654252883.dir/CMakeCXXCompilerABI.cpp.obj

[2/2] Linking CXX executable cmTryCompileExec2654252883.exe

Using built-in specs.


COLLECT_GCC=C:\RosBE\i386\bin\g++.exe


COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe


Target: i686-w64-mingw32


Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared


Thread model: win32


gcc version 4.7.2 (RosBE-Windows) 


COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../libexec/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/


LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../lib/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../


COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2654252883.exe' '-mtune=generic' '-march=pentiumpro'


 c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec2654252883.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec2654252883.dir/CMakeCXXCompilerABI.cpp.obj --out-implib libcmTryCompileExec2654252883.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o




Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld\.exe|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: C:/rosbuild/reactos/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec2654252883]
  ignore line: [[1/2] Building CXX object CMakeFiles/cmTryCompileExec2654252883.dir/CMakeCXXCompilerABI.cpp.obj]
  ignore line: [[2/2] Linking CXX executable cmTryCompileExec2654252883.exe]
  ignore line: [Using built-in specs.
]
  ignore line: [COLLECT_GCC=C:\RosBE\i386\bin\g++.exe
]
  ignore line: [COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe
]
  ignore line: [Target: i686-w64-mingw32
]
  ignore line: [Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared
]
  ignore line: [Thread model: win32
]
  ignore line: [gcc version 4.7.2 (RosBE-Windows) 
]
  ignore line: [COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../libexec/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/
]
  ignore line: [LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../
]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2654252883.exe' '-mtune=generic' '-march=pentiumpro'
]
  link line: [ c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec2654252883.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec2654252883.dir/CMakeCXXCompilerABI.cpp.obj --out-implib libcmTryCompileExec2654252883.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o
]
    arg [c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe] ==> ignore
    arg [--sysroot=/tmp/gcc472/build/root] ==> ignore
    arg [-m] ==> ignore
    arg [i386pe] ==> ignore
    arg [-Bdynamic] ==> ignore
    arg [-o] ==> ignore
    arg [cmTryCompileExec2654252883.exe] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o] ==> ignore
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc] ==> dir [c:/rosbe/i386/bin/../lib/gcc]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..]
    arg [CMakeFiles/cmTryCompileExec2654252883.dir/CMakeCXXCompilerABI.cpp.obj] ==> ignore
    arg [--out-implib] ==> ignore
    arg [libcmTryCompileExec2654252883.dll.a] ==> ignore
    arg [--major-image-version] ==> ignore
    arg [0] ==> ignore
    arg [--minor-image-version] ==> ignore
    arg [0] ==> ignore
    arg [-lstdc++] ==> lib [stdc++]
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [-ladvapi32] ==> lib [advapi32]
    arg [-lshell32] ==> lib [shell32]
    arg [-luser32] ==> lib [user32]
    arg [-lkernel32] ==> lib [kernel32]
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o] ==> ignore
  remove lib [gcc]
  remove lib [gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc] ==> [c:/RosBE/i386/lib/gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> [c:/RosBE/i386/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> [c:/RosBE/i386/lib]
  implicit libs: [stdc++;mingw32;moldname;mingwex;msvcrt;advapi32;shell32;user32;kernel32;mingw32;moldname;mingwex;msvcrt]
  implicit dirs: [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2;c:/RosBE/i386/lib/gcc;c:/RosBE/i386/i686-w64-mingw32/lib;c:/RosBE/i386/lib]
  implicit fwks: []
Just in case those errors reported by the /configure script were harmless, I moved on to the next step in the Build Procedure portion of the Build Environment page. I entered:

C:\rosbuild>cd host-tools && ninja

and received:

ninja: error: loading 'build.ninja': No such file or directory

C:\rosbuild\host-tools>


At this point, I know I need assistance. I appreciate everyone who took the time to read my story.

Forever Winter
Posts: 131
Joined: Sun Oct 20, 2013 6:50 am

Re: Struggling to build ReactOS (63183) on Windows XP

Post by Forever Winter »

Have you executed the configure script under a "normal user account" or under an administrator account?
Since it uses wmic in the configure process, it needs administrator rights and therefore fails without them.

middings
Posts: 1028
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Struggling to build ReactOS (63183) on Windows XP

Post by middings »

Thanks for the quick reply.

I'm using an Administrator account.

Forever Winter
Posts: 131
Joined: Sun Oct 20, 2013 6:50 am

Re: Struggling to build ReactOS (63183) on Windows XP

Post by Forever Winter »

Are the on-screen results exactly what you got or are there also some lines like "-- The C compiler identification is GNU 4.7.2" between "Preparing host tools..." and the first CMake error?

middings
Posts: 1028
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Struggling to build ReactOS (63183) on Windows XP

Post by middings »

Good question. Yes, what you see, Forever Winter, is the whole on-screen output I got from the C:\rosbuild>c:\sources\reactos/configure command when I was running it today (May 7 and 8). However I notice that I did get extra on-screen output as you describe when I was running C:\rosbuild>c:\sources\reactos/configure yesterday (May 6).

I will reproduce yesterday's RosBE installation and look for the change that causes the different kinds of output.

middings
Posts: 1028
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Struggling to build ReactOS (63183) on Windows XP

Post by middings »

After a few false leads, I may have discovered why my on-screen results after running C:\rosbuild>c:\sources\reactos/configure was missing the portions you mentioned, Forever Winter. When the C:\rosbuild>c:\sources\reactos/configure command is given while the build directory (c:\rosbuild, in my case) contains the results of an earlier build, the on-screen results are as I reported in my first post.

Here are the on-screen results from the C:\rosbuild>c:\sources\reactos/configure command after I made sure the build directory was empty before running the command:

Code: Select all

Detected RosBE for i386
Preparing host tools...
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at include/reactos/version.cmake:4 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:5 (LIST):
  list GET given empty list
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:6 (string):
  string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


-- Found Subversion: C:/RosBE/Bin/svn.exe (found version "1.8.5") 
-- Configuring incomplete, errors occurred!
See also "C:/rosbuild/host-tools/CMakeFiles/CMakeOutput.log".
Preparing reactos...
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at include/reactos/version.cmake:4 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:5 (LIST):
  list GET given empty list
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


CMake Error at include/reactos/version.cmake:6 (string):
  string sub-command SUBSTRING requires four arguments.
Call Stack (most recent call first):
  include/reactos/version.cmake:32 (today)
  CMakeLists.txt:12 (include)


-- Found Subversion: C:/RosBE/Bin/svn.exe (found version "1.8.5") 
-- The ASM compiler identification is GNU
-- Found assembler: C:/RosBE/i386/bin/gcc.exe
-- Selected localization: all
-- fusion has no base address
-- unicows has no base address
-- Configuring incomplete, errors occurred!
See also "C:/rosbuild/reactos/CMakeFiles/CMakeOutput.log".
Configure script complete! Enter directories and execute appropriate build commands (ex: ninja, make, nmake, etc...).
Unfortunately, the output still includes 6 lines that begin with "CMake Error" and the message "-- Configuring incomplete, errors occurred!" is still reported. Here is the log written to "C:/rosbuild/reactos/CMakeFiles/CMakeOutput.log".

Code: Select all

The system is: Windows - 5.1 - x86
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: C:/RosBE/i386/bin/gcc.exe 
Build flags: 
Id flags: 

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"

The C compiler identification is GNU, found in "C:/rosbuild/host-tools/CMakeFiles/2.8.12.1-ReactOS/CompilerIdC/a.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: C:/RosBE/i386/bin/c++.exe 
Build flags: 
Id flags: 

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe"

The CXX compiler identification is GNU, found in "C:/rosbuild/host-tools/CMakeFiles/2.8.12.1-ReactOS/CompilerIdCXX/a.exe"

Determining if the C compiler works passed with the following output:
Change Dir: C:/rosbuild/host-tools/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec2672545520
[1/2] Building C object CMakeFiles/cmTryCompileExec2672545520.dir/testCCompiler.c.obj

[2/2] Linking C executable cmTryCompileExec2672545520.exe



Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/rosbuild/host-tools/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec3325487728
[1/2] Building C object CMakeFiles/cmTryCompileExec3325487728.dir/CMakeCCompilerABI.c.obj

[2/2] Linking C executable cmTryCompileExec3325487728.exe

Using built-in specs.


COLLECT_GCC=C:\RosBE\i386\bin\gcc.exe


COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe


Target: i686-w64-mingw32


Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared


Thread model: win32


gcc version 4.7.2 (RosBE-Windows) 


COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../libexec/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/


LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../lib/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../


COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec3325487728.exe' '-mtune=generic' '-march=pentiumpro'


 c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec3325487728.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec3325487728.dir/CMakeCCompilerABI.c.obj --out-implib libcmTryCompileExec3325487728.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o




Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld\.exe|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: C:/rosbuild/host-tools/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec3325487728]
  ignore line: [[1/2] Building C object CMakeFiles/cmTryCompileExec3325487728.dir/CMakeCCompilerABI.c.obj]
  ignore line: [[2/2] Linking C executable cmTryCompileExec3325487728.exe]
  ignore line: [Using built-in specs.
]
  ignore line: [COLLECT_GCC=C:\RosBE\i386\bin\gcc.exe
]
  ignore line: [COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe
]
  ignore line: [Target: i686-w64-mingw32
]
  ignore line: [Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared
]
  ignore line: [Thread model: win32
]
  ignore line: [gcc version 4.7.2 (RosBE-Windows) 
]
  ignore line: [COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../libexec/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/
]
  ignore line: [LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../
]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec3325487728.exe' '-mtune=generic' '-march=pentiumpro'
]
  link line: [ c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec3325487728.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec3325487728.dir/CMakeCCompilerABI.c.obj --out-implib libcmTryCompileExec3325487728.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o
]
    arg [c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe] ==> ignore
    arg [--sysroot=/tmp/gcc472/build/root] ==> ignore
    arg [-m] ==> ignore
    arg [i386pe] ==> ignore
    arg [-Bdynamic] ==> ignore
    arg [-o] ==> ignore
    arg [cmTryCompileExec3325487728.exe] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o] ==> ignore
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc] ==> dir [c:/rosbe/i386/bin/../lib/gcc]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..]
    arg [CMakeFiles/cmTryCompileExec3325487728.dir/CMakeCCompilerABI.c.obj] ==> ignore
    arg [--out-implib] ==> ignore
    arg [libcmTryCompileExec3325487728.dll.a] ==> ignore
    arg [--major-image-version] ==> ignore
    arg [0] ==> ignore
    arg [--minor-image-version] ==> ignore
    arg [0] ==> ignore
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [-ladvapi32] ==> lib [advapi32]
    arg [-lshell32] ==> lib [shell32]
    arg [-luser32] ==> lib [user32]
    arg [-lkernel32] ==> lib [kernel32]
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o] ==> ignore
  remove lib [gcc]
  remove lib [gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc] ==> [c:/RosBE/i386/lib/gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> [c:/RosBE/i386/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> [c:/RosBE/i386/lib]
  implicit libs: [mingw32;moldname;mingwex;msvcrt;advapi32;shell32;user32;kernel32;mingw32;moldname;mingwex;msvcrt]
  implicit dirs: [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2;c:/RosBE/i386/lib/gcc;c:/RosBE/i386/i686-w64-mingw32/lib;c:/RosBE/i386/lib]
  implicit fwks: []


Determining if the CXX compiler works passed with the following output:
Change Dir: C:/rosbuild/host-tools/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec391029979
[1/2] Building CXX object CMakeFiles/cmTryCompileExec391029979.dir/testCXXCompiler.cxx.obj

[2/2] Linking CXX executable cmTryCompileExec391029979.exe



Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/rosbuild/host-tools/CMakeFiles/CMakeTmp

Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec2249642729
[1/2] Building CXX object CMakeFiles/cmTryCompileExec2249642729.dir/CMakeCXXCompilerABI.cpp.obj

[2/2] Linking CXX executable cmTryCompileExec2249642729.exe

Using built-in specs.


COLLECT_GCC=C:\RosBE\i386\bin\c++.exe


COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe


Target: i686-w64-mingw32


Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared


Thread model: win32


gcc version 4.7.2 (RosBE-Windows) 


COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../libexec/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/


LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/;c:/rosbe/i386/bin/../lib/gcc/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/;c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../


COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2249642729.exe' '-mtune=generic' '-march=pentiumpro'


 c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec2249642729.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec2249642729.dir/CMakeCXXCompilerABI.cpp.obj --out-implib libcmTryCompileExec2249642729.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o




Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld\.exe|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: C:/rosbuild/host-tools/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:C:/RosBE/Bin/ninja.exe cmTryCompileExec2249642729]
  ignore line: [[1/2] Building CXX object CMakeFiles/cmTryCompileExec2249642729.dir/CMakeCXXCompilerABI.cpp.obj]
  ignore line: [[2/2] Linking CXX executable cmTryCompileExec2249642729.exe]
  ignore line: [Using built-in specs.
]
  ignore line: [COLLECT_GCC=C:\RosBE\i386\bin\c++.exe
]
  ignore line: [COLLECT_LTO_WRAPPER=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-wrapper.exe
]
  ignore line: [Target: i686-w64-mingw32
]
  ignore line: [Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --host=i686-w64-mingw32 --prefix=/tmp/gcc472/build/root --with-sysroot=/tmp/gcc472/build/root --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib --disable-win32-registry --enable-version-specific-runtime-libs --with-pkgversion=RosBE-Windows --disable-shared
]
  ignore line: [Thread model: win32
]
  ignore line: [gcc version 4.7.2 (RosBE-Windows) 
]
  ignore line: [COMPILER_PATH=c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../libexec/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/
]
  ignore line: [LIBRARY_PATH=c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/]
  ignore line: [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../
]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2249642729.exe' '-mtune=generic' '-march=pentiumpro'
]
  link line: [ c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe --sysroot=/tmp/gcc472/build/root -m i386pe -Bdynamic -o cmTryCompileExec2249642729.exe c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2 -Lc:/rosbe/i386/bin/../lib/gcc -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib -Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../.. CMakeFiles/cmTryCompileExec2249642729.dir/CMakeCXXCompilerABI.cpp.obj --out-implib libcmTryCompileExec2249642729.dll.a --major-image-version 0 --minor-image-version 0 -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o
]
    arg [c:/rosbe/i386/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/collect2.exe] ==> ignore
    arg [--sysroot=/tmp/gcc472/build/root] ==> ignore
    arg [-m] ==> ignore
    arg [i386pe] ==> ignore
    arg [-Bdynamic] ==> ignore
    arg [-o] ==> ignore
    arg [cmTryCompileExec2249642729.exe] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib/crt2.o] ==> ignore
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtbegin.o] ==> ignore
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc] ==> dir [c:/rosbe/i386/bin/../lib/gcc]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib]
    arg [-Lc:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..]
    arg [CMakeFiles/cmTryCompileExec2249642729.dir/CMakeCXXCompilerABI.cpp.obj] ==> ignore
    arg [--out-implib] ==> ignore
    arg [libcmTryCompileExec2249642729.dll.a] ==> ignore
    arg [--major-image-version] ==> ignore
    arg [0] ==> ignore
    arg [--minor-image-version] ==> ignore
    arg [0] ==> ignore
    arg [-lstdc++] ==> lib [stdc++]
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [-ladvapi32] ==> lib [advapi32]
    arg [-lshell32] ==> lib [shell32]
    arg [-luser32] ==> lib [user32]
    arg [-lkernel32] ==> lib [kernel32]
    arg [-lmingw32] ==> lib [mingw32]
    arg [-lgcc] ==> lib [gcc]
    arg [-lmoldname] ==> lib [moldname]
    arg [-lmingwex] ==> lib [mingwex]
    arg [-lmsvcrt] ==> lib [msvcrt]
    arg [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/crtend.o] ==> ignore
  remove lib [gcc]
  remove lib [gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2] ==> [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc] ==> [c:/RosBE/i386/lib/gcc]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib/../lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../lib] ==> [c:/RosBE/i386/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/lib] ==> [c:/RosBE/i386/i686-w64-mingw32/lib]
  collapse library dir [c:/rosbe/i386/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../..] ==> [c:/RosBE/i386/lib]
  implicit libs: [stdc++;mingw32;moldname;mingwex;msvcrt;advapi32;shell32;user32;kernel32;mingw32;moldname;mingwex;msvcrt]
  implicit dirs: [c:/RosBE/i386/lib/gcc/i686-w64-mingw32/4.7.2;c:/RosBE/i386/lib/gcc;c:/RosBE/i386/i686-w64-mingw32/lib;c:/RosBE/i386/lib]
  implicit fwks: []


To verify my discovery, I ran the C:\rosbuild>c:\sources\reactos/configure command again without deleting the contents of the build directory and I got on-screen results similar to what I had in my first post. I hope these are useful clues.

Again, thank you for your responses.

Forever Winter
Posts: 131
Joined: Sun Oct 20, 2013 6:50 am

Re: Struggling to build ReactOS (63183) on Windows XP

Post by Forever Winter »

What do you get if you execute "wmic os get LocalDateTime" on a command line?

User avatar
EmuandCo
Developer
Posts: 4422
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: Struggling to build ReactOS (63183) on Windows XP

Post by EmuandCo »

pathtocheckout/configure = "The path you have your Source\configure" Why "/", we are on Windows, so "\" and you dont need /configure or \configure, just configure!
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

hbelusca
Developer
Posts: 1169
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Struggling to build ReactOS (63183) on Windows XP

Post by hbelusca »

@middings: If problems persist, you can go to IRC channel #reactos where you will find AmineKhaldi and others to help you on your problem in real time.

middings
Posts: 1028
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Struggling to build ReactOS (63183) on Windows XP

Post by middings »

EmuandCo wrote:pathtocheckout/configure = "The path you have your Source\configure" Why "/", we are on Windows, so "\" and you don't need /configure or \configure, just configure!
That is a good question. My answer may sound foolish. I used "/" because that is the character the Build Procedure instructions on the Build Environment page uses. I had been using a space character but because I have been having no success I decided to follow the instructions exactly as written (so far as possible) just in case my difficulties were caused by something I misunderstood.

A space character between {pathtocheckout} and configure works in Windows RosBE and I was surprised to find that "/" also worked. (At that moment I thought "Aha! I have found what I am doing wrong." Unfortunately, that was not the cause of my problems. However, I have been cutting and pasting the string with "\" in it ever since.)

I started trying to build ReactOS using the instructions at viewtopic.php?f=22&t=11000#p97987. When I had no success, I decided to try the (more official?) instructions at ReactOS.org Home Page > Development > Development Guide > Build Environment. I searched the ReactOS site for information about the error messages I received. I wanted to try to find the problem myself before asking others for help.

middings
Posts: 1028
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Struggling to build ReactOS (63183) on Windows XP

Post by middings »

Forever Winter wrote:What do you get if you execute "wmic os get LocalDateTime" on a command line?
RosBE and Command Prompt return:

Code: Select all

'wmic' is not recognized as an internal or external command,
operable program or batch file.
RosBe PS returns:

Code: Select all

The term 'wmic' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:5
+ wmic <<<<  os get LocalDateTime
    + CategoryInfo          : ObjectNotFound: (wmic:String) [], CommandNotFoun
   dException
    + FullyQualifiedErrorId : CommandNotFoundException
From Windows GUI, Start > Run > then entering "wmic os get LocalDateTime" causes a Stop alert to appear with the message:

Code: Select all

Windows cannot find 'wmic'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.

hbelusca
Developer
Posts: 1169
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: Struggling to build ReactOS (63183) on Windows XP

Post by hbelusca »

In other words you don't have wmic. It's weird, because Windows XP includes it.

justincase
Posts: 441
Joined: Sat Nov 15, 2008 4:13 pm

What edition of XP do you have?

Post by justincase »

I haven't checked for my self, but a quick Google search for "wmic xp" brings me to http://people.virginia.edu/~rtg2t/winadmin/wmic.html where I read that
wmic.exe is available on Windows XP Pro. It is not available on Windows 2000 or XP Home.
So do you have XP Home? or XP Professional? (Note: for these purposes XP MCE qualifies as XP Pro)
If you're running XP Pro (and thus should have wmic) then I'd look at Microsoft's WMI Diagnosis Utility.
If you're running XP Home perhaps an installation of the WMI Administrative Tools will include it? (can anybody confirm this?)

Let us know how those go, OK?
I reserve the right to ignore any portion of any post if I deem it not constructive or likely to cause the discussion to degenerate.

Forever Winter
Posts: 131
Joined: Sun Oct 20, 2013 6:50 am

Re: Struggling to build ReactOS (63183) on Windows XP

Post by Forever Winter »

I thought XP recognises both slash and backslash as path separator (at least cmd should do so), so both should work.
As hbelusca already said, it seems that you don't have wmic at all.

If you don't have the problem solved already, you can try the following and see if it works:
* goto the directory where your sources are located ("c:\sources\reactos" in your case)
* in the sub-directory "include\reactos" open the file version.cmake
* at the very first in that file you have the macro today() defined
* after the second line, comment all lines between "if(CMAKE_HOST_WIN32)" and "elseif(CMAKE_HOST_UNIX)" out (you can do that by placing a "#" befor it)
and insert a "set(${RESULT} 00000000)" between the if(...) and the elseif(...). You can copy the line with the set(..) statement from the last block for that.
* safe the file, try to configure again and see if it works or still fails.

middings
Posts: 1028
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: Struggling to build ReactOS (63183) on Windows XP

Post by middings »

hbelusca wrote:In other words you don't have wmic. It's weird, because Windows XP includes it.
Apparently, my Windows XP Home Edition excludes it. According to http://support.microsoft.com/kb/290216 wmic.exe
applies to XP Professional and Tablet PC Edition only. However, this MSDN wmic documentation http://msdn.microsoft.com/en-us/library/aa394531.aspx ambiguously lists "Windows XP" as the minimum supported client.

I searched my PC and its twin for files with names that include the string "wmic". Neither of the two HP a350n PCs with Windows XP Home Edition PCs have 'wmic.exe'.

I downloaded "The WMI Diagnosis Utility -- Version 2.1" from Microsoft at http://www.microsoft.com/en-us/download ... px?id=7684. I ran it hoping it might help. Unfortunately it doesn't try to detect if wmic.exe is missing.

I'm searching the Microsoft site for a downloadable copy of wmic.exe. If I can't find one, I'll try Forever Winter's latest suggestion later (>12 hours from now) and post the results. Thank you everyone who has pitched in to think about these problems I'm having and to try to help me.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest