configure (CMake build) fails on Linux

Ask your support questions in here

Moderator: Moderator Team

Post Reply
xxxx00
Posts: 3
Joined: Wed Aug 26, 2009 7:24 pm

configure (CMake build) fails on Linux

Post by xxxx00 »

Hello. I'm trying to build ReactOS on Ubuntu 11.04 using RosBE-Unix-1.5. CMake version is 2.8.3. I get the following output:

Code: Select all

Creating directories in output-MinGW-i386
Preparing host tools...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Subversion: /usr/bin/svn (found version "1.6.12")
-- Configuring done
-- Generating done
-- Build files have been written to: /media/adat/program/trunk/reactos/output-MinGW-i386/host-tools
Preparing reactos...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/local/RosBE/i386/bin/mingw32-gcc
-- Check for working C compiler: /usr/local/RosBE/i386/bin/mingw32-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/RosBE/i386/bin/mingw32-g++
-- Check for working CXX compiler: /usr/local/RosBE/i386/bin/mingw32-g++ -- broken
CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
  The C++ compiler "/usr/local/RosBE/i386/bin/mingw32-g++" is not able to
  compile a simple test program.

  It fails with the following output:

   Change Dir: /media/adat/program/trunk/reactos/output-MinGW-i386/reactos/CMakeFiles/CMakeTmp

  

  Run Build Command:/usr/local/RosBE/bin/make "cmTryCompileExec/fast"

  /usr/local/RosBE/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
  CMakeFiles/cmTryCompileExec.dir/build

  make[1]: Entering directory
  `/media/adat/program/trunk/reactos/output-MinGW-i386/reactos/CMakeFiles/CMakeTmp'


  /usr/bin/cmake -E cmake_progress_report
  /media/adat/program/trunk/reactos/output-MinGW-i386/reactos/CMakeFiles/CMakeTmp/CMakeFiles
  1

  Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.obj

  /usr/local/RosBE/i386/bin/mingw32-g++ -o
  CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.obj -c
  /media/adat/program/trunk/reactos/output-MinGW-i386/reactos/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


  Linking CXX executable cmTryCompileExec.exe

  /usr/bin/cmake -E cmake_link_script
  CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1

  /usr/bin/cmake -E remove -f CMakeFiles/cmTryCompileExec.dir/objects.a

  "" cr CMakeFiles/cmTryCompileExec.dir/objects.a
  @CMakeFiles/cmTryCompileExec.dir/objects1.rsp

  Error running link command: No such file or directory

  make[1]: Leaving directory
  `/media/adat/program/trunk/reactos/output-MinGW-i386/reactos/CMakeFiles/CMakeTmp'


  make[1]: *** [cmTryCompileExec.exe] Error 2

  make: *** [cmTryCompileExec/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:9 (project)


-- Configuring incomplete, errors occurred!
Configure script complete! Enter directories and execute appropriate build commands(ex: make, makex, etc...).
It tries to execute "". (Maybe the path to a mingw32 tool is not set?)

EDIT: I can compile ReactOS now (modified toolchain-gcc.cmake)
Post Reply

Who is online

Users browsing this forum: No registered users and 51 guests