Skip to content

Instantly share code, notes, and snippets.

@ZachBacon
Created November 12, 2018 02:48
Show Gist options
  • Save ZachBacon/2b3fc539c41bbd3027f4e1d9c6d13ad6 to your computer and use it in GitHub Desktop.
Save ZachBacon/2b3fc539c41bbd3027f4e1d9c6d13ad6 to your computer and use it in GitHub Desktop.
error
cmake ../
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /home/zachbacon/vbam-build-mingw64/root/bin/ccache
-- Check for working C compiler: /home/zachbacon/vbam-build-mingw64/root/bin/ccache -- broken
CMake Error at /home/zachbacon/vbam-build-mingw64/host/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/home/zachbacon/vbam-build-mingw64/root/bin/ccache"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/zachbacon/Documents/visualboyadvance-m/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/gmake" "cmTC_ba5b1/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_ba5b1.dir/build.make CMakeFiles/cmTC_ba5b1.dir/build
gmake[1]: Entering directory '/home/zachbacon/Documents/visualboyadvance-m/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ba5b1.dir/testCCompiler.c.o
/home/zachbacon/vbam-build-mingw64/root/bin/ccache x86_64-w64-mingw32-gcc -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -fopenmp -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -o CMakeFiles/cmTC_ba5b1.dir/testCCompiler.c.o -c /home/zachbacon/Documents/visualboyadvance-m/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_ba5b1
/home/zachbacon/vbam-build-mingw64/host/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ba5b1.dir/link.txt --verbose=1
/home/zachbacon/vbam-build-mingw64/root/bin/ccache x86_64-w64-mingw32-gcc -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -fopenmp -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -I/home/zachbacon/vbam-build-mingw64/root/include -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -L/usr/x86_64-w64-mingw32/usr/lib64 -L/usr/x86_64-w64-mingw32/usr/lib64 -L/usr/x86_64-w64-mingw32/usr/lib64 -L/usr/x86_64-w64-mingw32/usr/lib64 -L/usr/x86_64-w64-mingw32/usr/lib64 -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -fopenmp -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -static-libgcc -static-libstdc++ -static -lpthread -DMINGW_HAS_SECURE_API -lm -fPIC -L/home/zachbacon/vbam-build-mingw64/root/lib -pthread -lm -rdynamic CMakeFiles/cmTC_ba5b1.dir/testCCompiler.c.o -o cmTC_ba5b1
x86_64-w64-mingw32-gcc: error: unrecognized command line option ‘-rdynamic’
gmake[1]: *** [CMakeFiles/cmTC_ba5b1.dir/build.make:87: cmTC_ba5b1] Error 1
gmake[1]: Leaving directory '/home/zachbacon/Documents/visualboyadvance-m/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_ba5b1/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (project)
-- Configuring incomplete, errors occurred!
See also "/home/zachbacon/Documents/visualboyadvance-m/build/CMakeFiles/CMakeOutput.log".
See also "/home/zachbacon/Documents/visualboyadvance-m/build/CMakeFiles/CMakeError.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment