Code: Select all
kolten@kolten-X202E ~ $ a='' && [ "$(uname -m)" = x86_64 ] && a=64
kolten@kolten-X202E ~ $ c="$(lscpu -p | grep -v '#' | sort -u -t , -k 2,4 | wc -l)" ; [ "$c" -eq 0 ] && c=1
kolten@kolten-X202E ~ $ cd ~/gzdoom_build/gzdoom/build &&
> rm -f output_sdl/liboutput_sdl.so &&
> if [ -d ../fmodapi44464linux ]; then
> f="-DFMOD_LIBRARY=../fmodapi44464linux/api/lib/libfmodex${a}-4.44.64.so \
> -DFMOD_INCLUDE_DIR=../fmodapi44464linux/api/inc"; else
> f='-UFMOD_LIBRARY -UFMOD_INCLUDE_DIR'; fi &&
> cmake .. -DCMAKE_BUILD_TYPE=Release $f &&
> make -j$c
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/bin/cc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/kolten/gzdoom_build/gzdoom/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_96c4a/fast"
/usr/bin/make -f CMakeFiles/cmTC_96c4a.dir/build.make
CMakeFiles/cmTC_96c4a.dir/build
make[1]: Entering directory
'/home/kolten/gzdoom_build/gzdoom/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_96c4a.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_96c4a.dir/testCCompiler.c.o -c
/home/kolten/gzdoom_build/gzdoom/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_96c4a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_96c4a.dir/link.txt
--verbose=1
/usr/bin/cc CMakeFiles/cmTC_96c4a.dir/testCCompiler.c.o -o cmTC_96c4a
-rdynamic
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_96c4a.dir/build.make:97: recipe for target 'cmTC_96c4a'
failed
make[1]: *** [cmTC_96c4a] Error 1
make[1]: Leaving directory
'/home/kolten/gzdoom_build/gzdoom/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_96c4a/fast' failed
make: *** [cmTC_96c4a/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/kolten/gzdoom_build/gzdoom/build/CMakeFiles/CMakeOutput.log".
See also "/home/kolten/gzdoom_build/gzdoom/build/CMakeFiles/CMakeError.log".
kolten@kolten-X202E ~/gzdoom_build/gzdoom/build $